@emilgroup/document-sdk-node 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-node@1.
|
|
20
|
+
npm install @emilgroup/document-sdk-node@1.21.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/document-sdk-node@1.
|
|
24
|
+
yarn add @emilgroup/document-sdk-node@1.21.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `DocumentsApi`.
|
package/api/documents-api.ts
CHANGED
|
@@ -290,10 +290,11 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
290
290
|
* @param {string} [search] Search query
|
|
291
291
|
* @param {string} [order] Ordering criteria
|
|
292
292
|
* @param {string} [expand] Extra fields to fetch
|
|
293
|
+
* @param {string} [filters] List filters
|
|
293
294
|
* @param {*} [options] Override http request option.
|
|
294
295
|
* @throws {RequiredError}
|
|
295
296
|
*/
|
|
296
|
-
listDocuments: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
297
|
+
listDocuments: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
297
298
|
const localVarPath = `/documentservice/v1/documents`;
|
|
298
299
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
299
300
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -336,6 +337,10 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
336
337
|
localVarQueryParameter['expand'] = expand;
|
|
337
338
|
}
|
|
338
339
|
|
|
340
|
+
if (filters !== undefined) {
|
|
341
|
+
localVarQueryParameter['filters'] = filters;
|
|
342
|
+
}
|
|
343
|
+
|
|
339
344
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
340
345
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
341
346
|
}
|
|
@@ -482,11 +487,12 @@ export const DocumentsApiFp = function(configuration?: Configuration) {
|
|
|
482
487
|
* @param {string} [search] Search query
|
|
483
488
|
* @param {string} [order] Ordering criteria
|
|
484
489
|
* @param {string} [expand] Extra fields to fetch
|
|
490
|
+
* @param {string} [filters] List filters
|
|
485
491
|
* @param {*} [options] Override http request option.
|
|
486
492
|
* @throws {RequiredError}
|
|
487
493
|
*/
|
|
488
|
-
async listDocuments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDocumentsResponseClass>> {
|
|
489
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listDocuments(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
494
|
+
async listDocuments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDocumentsResponseClass>> {
|
|
495
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listDocuments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
490
496
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
491
497
|
},
|
|
492
498
|
/**
|
|
@@ -577,11 +583,12 @@ export const DocumentsApiFactory = function (configuration?: Configuration, base
|
|
|
577
583
|
* @param {string} [search] Search query
|
|
578
584
|
* @param {string} [order] Ordering criteria
|
|
579
585
|
* @param {string} [expand] Extra fields to fetch
|
|
586
|
+
* @param {string} [filters] List filters
|
|
580
587
|
* @param {*} [options] Override http request option.
|
|
581
588
|
* @throws {RequiredError}
|
|
582
589
|
*/
|
|
583
|
-
listDocuments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListDocumentsResponseClass> {
|
|
584
|
-
return localVarFp.listDocuments(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
590
|
+
listDocuments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListDocumentsResponseClass> {
|
|
591
|
+
return localVarFp.listDocuments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
585
592
|
},
|
|
586
593
|
/**
|
|
587
594
|
* Updates the specified document by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
@@ -757,6 +764,13 @@ export interface DocumentsApiListDocumentsRequest {
|
|
|
757
764
|
* @memberof DocumentsApiListDocuments
|
|
758
765
|
*/
|
|
759
766
|
readonly expand?: string
|
|
767
|
+
|
|
768
|
+
/**
|
|
769
|
+
* List filters
|
|
770
|
+
* @type {string}
|
|
771
|
+
* @memberof DocumentsApiListDocuments
|
|
772
|
+
*/
|
|
773
|
+
readonly filters?: string
|
|
760
774
|
}
|
|
761
775
|
|
|
762
776
|
/**
|
|
@@ -863,7 +877,7 @@ export class DocumentsApi extends BaseAPI {
|
|
|
863
877
|
* @memberof DocumentsApi
|
|
864
878
|
*/
|
|
865
879
|
public listDocuments(requestParameters: DocumentsApiListDocumentsRequest = {}, options?: AxiosRequestConfig) {
|
|
866
|
-
return DocumentsApiFp(this.configuration).listDocuments(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
880
|
+
return DocumentsApiFp(this.configuration).listDocuments(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
867
881
|
}
|
|
868
882
|
|
|
869
883
|
/**
|
|
@@ -191,10 +191,11 @@ export const DocxTemplatesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
191
191
|
* @param {string} [search] Search query
|
|
192
192
|
* @param {string} [order] Ordering criteria
|
|
193
193
|
* @param {string} [expand] Extra fields to fetch
|
|
194
|
+
* @param {string} [filters] List filters
|
|
194
195
|
* @param {*} [options] Override http request option.
|
|
195
196
|
* @throws {RequiredError}
|
|
196
197
|
*/
|
|
197
|
-
listDocxTemplates: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
198
|
+
listDocxTemplates: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
198
199
|
const localVarPath = `/documentservice/v1/docx-templates`;
|
|
199
200
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
200
201
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -237,6 +238,10 @@ export const DocxTemplatesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
237
238
|
localVarQueryParameter['expand'] = expand;
|
|
238
239
|
}
|
|
239
240
|
|
|
241
|
+
if (filters !== undefined) {
|
|
242
|
+
localVarQueryParameter['filters'] = filters;
|
|
243
|
+
}
|
|
244
|
+
|
|
240
245
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
241
246
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
242
247
|
}
|
|
@@ -406,11 +411,12 @@ export const DocxTemplatesApiFp = function(configuration?: Configuration) {
|
|
|
406
411
|
* @param {string} [search] Search query
|
|
407
412
|
* @param {string} [order] Ordering criteria
|
|
408
413
|
* @param {string} [expand] Extra fields to fetch
|
|
414
|
+
* @param {string} [filters] List filters
|
|
409
415
|
* @param {*} [options] Override http request option.
|
|
410
416
|
* @throws {RequiredError}
|
|
411
417
|
*/
|
|
412
|
-
async listDocxTemplates(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDocxTemplatesResponseClass>> {
|
|
413
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listDocxTemplates(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
418
|
+
async listDocxTemplates(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDocxTemplatesResponseClass>> {
|
|
419
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listDocxTemplates(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
414
420
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
415
421
|
},
|
|
416
422
|
/**
|
|
@@ -491,11 +497,12 @@ export const DocxTemplatesApiFactory = function (configuration?: Configuration,
|
|
|
491
497
|
* @param {string} [search] Search query
|
|
492
498
|
* @param {string} [order] Ordering criteria
|
|
493
499
|
* @param {string} [expand] Extra fields to fetch
|
|
500
|
+
* @param {string} [filters] List filters
|
|
494
501
|
* @param {*} [options] Override http request option.
|
|
495
502
|
* @throws {RequiredError}
|
|
496
503
|
*/
|
|
497
|
-
listDocxTemplates(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListDocxTemplatesResponseClass> {
|
|
498
|
-
return localVarFp.listDocxTemplates(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
504
|
+
listDocxTemplates(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListDocxTemplatesResponseClass> {
|
|
505
|
+
return localVarFp.listDocxTemplates(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
499
506
|
},
|
|
500
507
|
/**
|
|
501
508
|
* Updates a docx template metadata.
|
|
@@ -640,6 +647,13 @@ export interface DocxTemplatesApiListDocxTemplatesRequest {
|
|
|
640
647
|
* @memberof DocxTemplatesApiListDocxTemplates
|
|
641
648
|
*/
|
|
642
649
|
readonly expand?: string
|
|
650
|
+
|
|
651
|
+
/**
|
|
652
|
+
* List filters
|
|
653
|
+
* @type {string}
|
|
654
|
+
* @memberof DocxTemplatesApiListDocxTemplates
|
|
655
|
+
*/
|
|
656
|
+
readonly filters?: string
|
|
643
657
|
}
|
|
644
658
|
|
|
645
659
|
/**
|
|
@@ -743,7 +757,7 @@ export class DocxTemplatesApi extends BaseAPI {
|
|
|
743
757
|
* @memberof DocxTemplatesApi
|
|
744
758
|
*/
|
|
745
759
|
public listDocxTemplates(requestParameters: DocxTemplatesApiListDocxTemplatesRequest = {}, options?: AxiosRequestConfig) {
|
|
746
|
-
return DocxTemplatesApiFp(this.configuration).listDocxTemplates(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
760
|
+
return DocxTemplatesApiFp(this.configuration).listDocxTemplates(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
747
761
|
}
|
|
748
762
|
|
|
749
763
|
/**
|
package/api/layouts-api.ts
CHANGED
|
@@ -198,10 +198,11 @@ export const LayoutsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
198
198
|
* @param {string} [search] Search query
|
|
199
199
|
* @param {string} [order] Ordering criteria
|
|
200
200
|
* @param {string} [expand] Extra fields to fetch
|
|
201
|
+
* @param {string} [filters] List filters
|
|
201
202
|
* @param {*} [options] Override http request option.
|
|
202
203
|
* @throws {RequiredError}
|
|
203
204
|
*/
|
|
204
|
-
listLayouts: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
205
|
+
listLayouts: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
205
206
|
const localVarPath = `/documentservice/v1/layouts`;
|
|
206
207
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
207
208
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -244,6 +245,10 @@ export const LayoutsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
244
245
|
localVarQueryParameter['expand'] = expand;
|
|
245
246
|
}
|
|
246
247
|
|
|
248
|
+
if (filters !== undefined) {
|
|
249
|
+
localVarQueryParameter['filters'] = filters;
|
|
250
|
+
}
|
|
251
|
+
|
|
247
252
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
248
253
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
249
254
|
}
|
|
@@ -367,11 +372,12 @@ export const LayoutsApiFp = function(configuration?: Configuration) {
|
|
|
367
372
|
* @param {string} [search] Search query
|
|
368
373
|
* @param {string} [order] Ordering criteria
|
|
369
374
|
* @param {string} [expand] Extra fields to fetch
|
|
375
|
+
* @param {string} [filters] List filters
|
|
370
376
|
* @param {*} [options] Override http request option.
|
|
371
377
|
* @throws {RequiredError}
|
|
372
378
|
*/
|
|
373
|
-
async listLayouts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListLayoutsResponseClass>> {
|
|
374
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listLayouts(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
379
|
+
async listLayouts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListLayoutsResponseClass>> {
|
|
380
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listLayouts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
375
381
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
376
382
|
},
|
|
377
383
|
/**
|
|
@@ -441,11 +447,12 @@ export const LayoutsApiFactory = function (configuration?: Configuration, basePa
|
|
|
441
447
|
* @param {string} [search] Search query
|
|
442
448
|
* @param {string} [order] Ordering criteria
|
|
443
449
|
* @param {string} [expand] Extra fields to fetch
|
|
450
|
+
* @param {string} [filters] List filters
|
|
444
451
|
* @param {*} [options] Override http request option.
|
|
445
452
|
* @throws {RequiredError}
|
|
446
453
|
*/
|
|
447
|
-
listLayouts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListLayoutsResponseClass> {
|
|
448
|
-
return localVarFp.listLayouts(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
454
|
+
listLayouts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListLayoutsResponseClass> {
|
|
455
|
+
return localVarFp.listLayouts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
449
456
|
},
|
|
450
457
|
/**
|
|
451
458
|
* Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
@@ -586,6 +593,13 @@ export interface LayoutsApiListLayoutsRequest {
|
|
|
586
593
|
* @memberof LayoutsApiListLayouts
|
|
587
594
|
*/
|
|
588
595
|
readonly expand?: string
|
|
596
|
+
|
|
597
|
+
/**
|
|
598
|
+
* List filters
|
|
599
|
+
* @type {string}
|
|
600
|
+
* @memberof LayoutsApiListLayouts
|
|
601
|
+
*/
|
|
602
|
+
readonly filters?: string
|
|
589
603
|
}
|
|
590
604
|
|
|
591
605
|
/**
|
|
@@ -668,7 +682,7 @@ export class LayoutsApi extends BaseAPI {
|
|
|
668
682
|
* @memberof LayoutsApi
|
|
669
683
|
*/
|
|
670
684
|
public listLayouts(requestParameters: LayoutsApiListLayoutsRequest = {}, options?: AxiosRequestConfig) {
|
|
671
|
-
return LayoutsApiFp(this.configuration).listLayouts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
685
|
+
return LayoutsApiFp(this.configuration).listLayouts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
672
686
|
}
|
|
673
687
|
|
|
674
688
|
/**
|
|
@@ -198,10 +198,11 @@ export const ProductDocumentsApiAxiosParamCreator = function (configuration?: Co
|
|
|
198
198
|
* @param {string} [search] Search query
|
|
199
199
|
* @param {string} [order] Ordering criteria
|
|
200
200
|
* @param {string} [expand] Extra fields to fetch
|
|
201
|
+
* @param {string} [filters] List filters
|
|
201
202
|
* @param {*} [options] Override http request option.
|
|
202
203
|
* @throws {RequiredError}
|
|
203
204
|
*/
|
|
204
|
-
listProductDocuments: async (productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
205
|
+
listProductDocuments: async (productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
205
206
|
// verify required parameter 'productSlug' is not null or undefined
|
|
206
207
|
assertParamExists('listProductDocuments', 'productSlug', productSlug)
|
|
207
208
|
const localVarPath = `/documentservice/v1/documents/product/{productSlug}`
|
|
@@ -247,6 +248,10 @@ export const ProductDocumentsApiAxiosParamCreator = function (configuration?: Co
|
|
|
247
248
|
localVarQueryParameter['expand'] = expand;
|
|
248
249
|
}
|
|
249
250
|
|
|
251
|
+
if (filters !== undefined) {
|
|
252
|
+
localVarQueryParameter['filters'] = filters;
|
|
253
|
+
}
|
|
254
|
+
|
|
250
255
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
251
256
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
252
257
|
}
|
|
@@ -273,10 +278,11 @@ export const ProductDocumentsApiAxiosParamCreator = function (configuration?: Co
|
|
|
273
278
|
* @param {string} [search] Search query
|
|
274
279
|
* @param {string} [order] Ordering criteria
|
|
275
280
|
* @param {string} [expand] Extra fields to fetch
|
|
281
|
+
* @param {string} [filters] List filters
|
|
276
282
|
* @param {*} [options] Override http request option.
|
|
277
283
|
* @throws {RequiredError}
|
|
278
284
|
*/
|
|
279
|
-
listProductDocuments_1: async (productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
285
|
+
listProductDocuments_1: async (productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
280
286
|
// verify required parameter 'productSlug' is not null or undefined
|
|
281
287
|
assertParamExists('listProductDocuments_1', 'productSlug', productSlug)
|
|
282
288
|
const localVarPath = `/documentservice/v1/documents/product`
|
|
@@ -322,6 +328,10 @@ export const ProductDocumentsApiAxiosParamCreator = function (configuration?: Co
|
|
|
322
328
|
localVarQueryParameter['expand'] = expand;
|
|
323
329
|
}
|
|
324
330
|
|
|
331
|
+
if (filters !== undefined) {
|
|
332
|
+
localVarQueryParameter['filters'] = filters;
|
|
333
|
+
}
|
|
334
|
+
|
|
325
335
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
326
336
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
327
337
|
}
|
|
@@ -448,11 +458,12 @@ export const ProductDocumentsApiFp = function(configuration?: Configuration) {
|
|
|
448
458
|
* @param {string} [search] Search query
|
|
449
459
|
* @param {string} [order] Ordering criteria
|
|
450
460
|
* @param {string} [expand] Extra fields to fetch
|
|
461
|
+
* @param {string} [filters] List filters
|
|
451
462
|
* @param {*} [options] Override http request option.
|
|
452
463
|
* @throws {RequiredError}
|
|
453
464
|
*/
|
|
454
|
-
async listProductDocuments(productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductDocumentsResponseClass>> {
|
|
455
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listProductDocuments(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
465
|
+
async listProductDocuments(productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductDocumentsResponseClass>> {
|
|
466
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listProductDocuments(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
456
467
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
457
468
|
},
|
|
458
469
|
/**
|
|
@@ -466,11 +477,12 @@ export const ProductDocumentsApiFp = function(configuration?: Configuration) {
|
|
|
466
477
|
* @param {string} [search] Search query
|
|
467
478
|
* @param {string} [order] Ordering criteria
|
|
468
479
|
* @param {string} [expand] Extra fields to fetch
|
|
480
|
+
* @param {string} [filters] List filters
|
|
469
481
|
* @param {*} [options] Override http request option.
|
|
470
482
|
* @throws {RequiredError}
|
|
471
483
|
*/
|
|
472
|
-
async listProductDocuments_1(productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductDocumentsResponseClass>> {
|
|
473
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listProductDocuments_1(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
484
|
+
async listProductDocuments_1(productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductDocumentsResponseClass>> {
|
|
485
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listProductDocuments_1(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
474
486
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
475
487
|
},
|
|
476
488
|
/**
|
|
@@ -543,11 +555,12 @@ export const ProductDocumentsApiFactory = function (configuration?: Configuratio
|
|
|
543
555
|
* @param {string} [search] Search query
|
|
544
556
|
* @param {string} [order] Ordering criteria
|
|
545
557
|
* @param {string} [expand] Extra fields to fetch
|
|
558
|
+
* @param {string} [filters] List filters
|
|
546
559
|
* @param {*} [options] Override http request option.
|
|
547
560
|
* @throws {RequiredError}
|
|
548
561
|
*/
|
|
549
|
-
listProductDocuments(productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListProductDocumentsResponseClass> {
|
|
550
|
-
return localVarFp.listProductDocuments(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
562
|
+
listProductDocuments(productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListProductDocumentsResponseClass> {
|
|
563
|
+
return localVarFp.listProductDocuments(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
551
564
|
},
|
|
552
565
|
/**
|
|
553
566
|
* Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
@@ -560,11 +573,12 @@ export const ProductDocumentsApiFactory = function (configuration?: Configuratio
|
|
|
560
573
|
* @param {string} [search] Search query
|
|
561
574
|
* @param {string} [order] Ordering criteria
|
|
562
575
|
* @param {string} [expand] Extra fields to fetch
|
|
576
|
+
* @param {string} [filters] List filters
|
|
563
577
|
* @param {*} [options] Override http request option.
|
|
564
578
|
* @throws {RequiredError}
|
|
565
579
|
*/
|
|
566
|
-
listProductDocuments_1(productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListProductDocumentsResponseClass> {
|
|
567
|
-
return localVarFp.listProductDocuments_1(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
580
|
+
listProductDocuments_1(productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListProductDocumentsResponseClass> {
|
|
581
|
+
return localVarFp.listProductDocuments_1(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
568
582
|
},
|
|
569
583
|
/**
|
|
570
584
|
* Upload a product document.
|
|
@@ -726,6 +740,13 @@ export interface ProductDocumentsApiListProductDocumentsRequest {
|
|
|
726
740
|
* @memberof ProductDocumentsApiListProductDocuments
|
|
727
741
|
*/
|
|
728
742
|
readonly expand?: string
|
|
743
|
+
|
|
744
|
+
/**
|
|
745
|
+
* List filters
|
|
746
|
+
* @type {string}
|
|
747
|
+
* @memberof ProductDocumentsApiListProductDocuments
|
|
748
|
+
*/
|
|
749
|
+
readonly filters?: string
|
|
729
750
|
}
|
|
730
751
|
|
|
731
752
|
/**
|
|
@@ -789,6 +810,13 @@ export interface ProductDocumentsApiListProductDocuments0Request {
|
|
|
789
810
|
* @memberof ProductDocumentsApiListProductDocuments0
|
|
790
811
|
*/
|
|
791
812
|
readonly expand?: string
|
|
813
|
+
|
|
814
|
+
/**
|
|
815
|
+
* List filters
|
|
816
|
+
* @type {string}
|
|
817
|
+
* @memberof ProductDocumentsApiListProductDocuments0
|
|
818
|
+
*/
|
|
819
|
+
readonly filters?: string
|
|
792
820
|
}
|
|
793
821
|
|
|
794
822
|
/**
|
|
@@ -871,7 +899,7 @@ export class ProductDocumentsApi extends BaseAPI {
|
|
|
871
899
|
* @memberof ProductDocumentsApi
|
|
872
900
|
*/
|
|
873
901
|
public listProductDocuments(requestParameters: ProductDocumentsApiListProductDocumentsRequest, options?: AxiosRequestConfig) {
|
|
874
|
-
return ProductDocumentsApiFp(this.configuration).listProductDocuments(requestParameters.productSlug, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
902
|
+
return ProductDocumentsApiFp(this.configuration).listProductDocuments(requestParameters.productSlug, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
875
903
|
}
|
|
876
904
|
|
|
877
905
|
/**
|
|
@@ -883,7 +911,7 @@ export class ProductDocumentsApi extends BaseAPI {
|
|
|
883
911
|
* @memberof ProductDocumentsApi
|
|
884
912
|
*/
|
|
885
913
|
public listProductDocuments_1(requestParameters: ProductDocumentsApiListProductDocuments0Request, options?: AxiosRequestConfig) {
|
|
886
|
-
return ProductDocumentsApiFp(this.configuration).listProductDocuments_1(requestParameters.productSlug, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
914
|
+
return ProductDocumentsApiFp(this.configuration).listProductDocuments_1(requestParameters.productSlug, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
887
915
|
}
|
|
888
916
|
|
|
889
917
|
/**
|
|
@@ -42,10 +42,11 @@ export const SearchableDocumentOwnersApiAxiosParamCreator = function (configurat
|
|
|
42
42
|
* @param {string} [search] Search query
|
|
43
43
|
* @param {string} [order] Ordering criteria
|
|
44
44
|
* @param {string} [expand] Extra fields to fetch
|
|
45
|
+
* @param {string} [filters] List filters
|
|
45
46
|
* @param {*} [options] Override http request option.
|
|
46
47
|
* @throws {RequiredError}
|
|
47
48
|
*/
|
|
48
|
-
listSearchableDocumentOwners: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
49
|
+
listSearchableDocumentOwners: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
49
50
|
const localVarPath = `/documentservice/v1/searchable-document-owners`;
|
|
50
51
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
51
52
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -88,6 +89,10 @@ export const SearchableDocumentOwnersApiAxiosParamCreator = function (configurat
|
|
|
88
89
|
localVarQueryParameter['expand'] = expand;
|
|
89
90
|
}
|
|
90
91
|
|
|
92
|
+
if (filters !== undefined) {
|
|
93
|
+
localVarQueryParameter['filters'] = filters;
|
|
94
|
+
}
|
|
95
|
+
|
|
91
96
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
92
97
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
93
98
|
}
|
|
@@ -123,11 +128,12 @@ export const SearchableDocumentOwnersApiFp = function(configuration?: Configurat
|
|
|
123
128
|
* @param {string} [search] Search query
|
|
124
129
|
* @param {string} [order] Ordering criteria
|
|
125
130
|
* @param {string} [expand] Extra fields to fetch
|
|
131
|
+
* @param {string} [filters] List filters
|
|
126
132
|
* @param {*} [options] Override http request option.
|
|
127
133
|
* @throws {RequiredError}
|
|
128
134
|
*/
|
|
129
|
-
async listSearchableDocumentOwners(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSearchableDocumentOwnersResponseClass>> {
|
|
130
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSearchableDocumentOwners(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
135
|
+
async listSearchableDocumentOwners(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSearchableDocumentOwnersResponseClass>> {
|
|
136
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSearchableDocumentOwners(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
131
137
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
132
138
|
},
|
|
133
139
|
}
|
|
@@ -150,11 +156,12 @@ export const SearchableDocumentOwnersApiFactory = function (configuration?: Conf
|
|
|
150
156
|
* @param {string} [search] Search query
|
|
151
157
|
* @param {string} [order] Ordering criteria
|
|
152
158
|
* @param {string} [expand] Extra fields to fetch
|
|
159
|
+
* @param {string} [filters] List filters
|
|
153
160
|
* @param {*} [options] Override http request option.
|
|
154
161
|
* @throws {RequiredError}
|
|
155
162
|
*/
|
|
156
|
-
listSearchableDocumentOwners(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListSearchableDocumentOwnersResponseClass> {
|
|
157
|
-
return localVarFp.listSearchableDocumentOwners(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
163
|
+
listSearchableDocumentOwners(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListSearchableDocumentOwnersResponseClass> {
|
|
164
|
+
return localVarFp.listSearchableDocumentOwners(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
158
165
|
},
|
|
159
166
|
};
|
|
160
167
|
};
|
|
@@ -213,6 +220,13 @@ export interface SearchableDocumentOwnersApiListSearchableDocumentOwnersRequest
|
|
|
213
220
|
* @memberof SearchableDocumentOwnersApiListSearchableDocumentOwners
|
|
214
221
|
*/
|
|
215
222
|
readonly expand?: string
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* List filters
|
|
226
|
+
* @type {string}
|
|
227
|
+
* @memberof SearchableDocumentOwnersApiListSearchableDocumentOwners
|
|
228
|
+
*/
|
|
229
|
+
readonly filters?: string
|
|
216
230
|
}
|
|
217
231
|
|
|
218
232
|
/**
|
|
@@ -231,6 +245,6 @@ export class SearchableDocumentOwnersApi extends BaseAPI {
|
|
|
231
245
|
* @memberof SearchableDocumentOwnersApi
|
|
232
246
|
*/
|
|
233
247
|
public listSearchableDocumentOwners(requestParameters: SearchableDocumentOwnersApiListSearchableDocumentOwnersRequest = {}, options?: AxiosRequestConfig) {
|
|
234
|
-
return SearchableDocumentOwnersApiFp(this.configuration).listSearchableDocumentOwners(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
248
|
+
return SearchableDocumentOwnersApiFp(this.configuration).listSearchableDocumentOwners(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
235
249
|
}
|
|
236
250
|
}
|
|
@@ -81,10 +81,11 @@ export declare const DocumentsApiAxiosParamCreator: (configuration?: Configurati
|
|
|
81
81
|
* @param {string} [search] Search query
|
|
82
82
|
* @param {string} [order] Ordering criteria
|
|
83
83
|
* @param {string} [expand] Extra fields to fetch
|
|
84
|
+
* @param {string} [filters] List filters
|
|
84
85
|
* @param {*} [options] Override http request option.
|
|
85
86
|
* @throws {RequiredError}
|
|
86
87
|
*/
|
|
87
|
-
listDocuments: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
88
|
+
listDocuments: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
88
89
|
/**
|
|
89
90
|
* Updates the specified document by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
90
91
|
* @summary Update the document
|
|
@@ -156,10 +157,11 @@ export declare const DocumentsApiFp: (configuration?: Configuration) => {
|
|
|
156
157
|
* @param {string} [search] Search query
|
|
157
158
|
* @param {string} [order] Ordering criteria
|
|
158
159
|
* @param {string} [expand] Extra fields to fetch
|
|
160
|
+
* @param {string} [filters] List filters
|
|
159
161
|
* @param {*} [options] Override http request option.
|
|
160
162
|
* @throws {RequiredError}
|
|
161
163
|
*/
|
|
162
|
-
listDocuments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDocumentsResponseClass>>;
|
|
164
|
+
listDocuments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDocumentsResponseClass>>;
|
|
163
165
|
/**
|
|
164
166
|
* Updates the specified document by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
165
167
|
* @summary Update the document
|
|
@@ -231,10 +233,11 @@ export declare const DocumentsApiFactory: (configuration?: Configuration, basePa
|
|
|
231
233
|
* @param {string} [search] Search query
|
|
232
234
|
* @param {string} [order] Ordering criteria
|
|
233
235
|
* @param {string} [expand] Extra fields to fetch
|
|
236
|
+
* @param {string} [filters] List filters
|
|
234
237
|
* @param {*} [options] Override http request option.
|
|
235
238
|
* @throws {RequiredError}
|
|
236
239
|
*/
|
|
237
|
-
listDocuments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListDocumentsResponseClass>;
|
|
240
|
+
listDocuments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListDocumentsResponseClass>;
|
|
238
241
|
/**
|
|
239
242
|
* Updates the specified document by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
240
243
|
* @summary Update the document
|
|
@@ -389,6 +392,12 @@ export interface DocumentsApiListDocumentsRequest {
|
|
|
389
392
|
* @memberof DocumentsApiListDocuments
|
|
390
393
|
*/
|
|
391
394
|
readonly expand?: string;
|
|
395
|
+
/**
|
|
396
|
+
* List filters
|
|
397
|
+
* @type {string}
|
|
398
|
+
* @memberof DocumentsApiListDocuments
|
|
399
|
+
*/
|
|
400
|
+
readonly filters?: string;
|
|
392
401
|
}
|
|
393
402
|
/**
|
|
394
403
|
* Request parameters for updateDocument operation in DocumentsApi.
|
|
@@ -350,10 +350,11 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
350
350
|
* @param {string} [search] Search query
|
|
351
351
|
* @param {string} [order] Ordering criteria
|
|
352
352
|
* @param {string} [expand] Extra fields to fetch
|
|
353
|
+
* @param {string} [filters] List filters
|
|
353
354
|
* @param {*} [options] Override http request option.
|
|
354
355
|
* @throws {RequiredError}
|
|
355
356
|
*/
|
|
356
|
-
listDocuments: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
357
|
+
listDocuments: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
357
358
|
if (options === void 0) { options = {}; }
|
|
358
359
|
return __awaiter(_this, void 0, void 0, function () {
|
|
359
360
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -394,6 +395,9 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
394
395
|
if (expand !== undefined) {
|
|
395
396
|
localVarQueryParameter['expand'] = expand;
|
|
396
397
|
}
|
|
398
|
+
if (filters !== undefined) {
|
|
399
|
+
localVarQueryParameter['filters'] = filters;
|
|
400
|
+
}
|
|
397
401
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
398
402
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
399
403
|
}
|
|
@@ -586,15 +590,16 @@ var DocumentsApiFp = function (configuration) {
|
|
|
586
590
|
* @param {string} [search] Search query
|
|
587
591
|
* @param {string} [order] Ordering criteria
|
|
588
592
|
* @param {string} [expand] Extra fields to fetch
|
|
593
|
+
* @param {string} [filters] List filters
|
|
589
594
|
* @param {*} [options] Override http request option.
|
|
590
595
|
* @throws {RequiredError}
|
|
591
596
|
*/
|
|
592
|
-
listDocuments: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
597
|
+
listDocuments: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
593
598
|
return __awaiter(this, void 0, void 0, function () {
|
|
594
599
|
var localVarAxiosArgs;
|
|
595
600
|
return __generator(this, function (_a) {
|
|
596
601
|
switch (_a.label) {
|
|
597
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listDocuments(authorization, pageSize, pageToken, filter, search, order, expand, options)];
|
|
602
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listDocuments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
598
603
|
case 1:
|
|
599
604
|
localVarAxiosArgs = _a.sent();
|
|
600
605
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -699,11 +704,12 @@ var DocumentsApiFactory = function (configuration, basePath, axios) {
|
|
|
699
704
|
* @param {string} [search] Search query
|
|
700
705
|
* @param {string} [order] Ordering criteria
|
|
701
706
|
* @param {string} [expand] Extra fields to fetch
|
|
707
|
+
* @param {string} [filters] List filters
|
|
702
708
|
* @param {*} [options] Override http request option.
|
|
703
709
|
* @throws {RequiredError}
|
|
704
710
|
*/
|
|
705
|
-
listDocuments: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
706
|
-
return localVarFp.listDocuments(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
711
|
+
listDocuments: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
712
|
+
return localVarFp.listDocuments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
707
713
|
},
|
|
708
714
|
/**
|
|
709
715
|
* Updates the specified document by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
@@ -802,7 +808,7 @@ var DocumentsApi = /** @class */ (function (_super) {
|
|
|
802
808
|
DocumentsApi.prototype.listDocuments = function (requestParameters, options) {
|
|
803
809
|
var _this = this;
|
|
804
810
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
805
|
-
return (0, exports.DocumentsApiFp)(this.configuration).listDocuments(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
811
|
+
return (0, exports.DocumentsApiFp)(this.configuration).listDocuments(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
806
812
|
};
|
|
807
813
|
/**
|
|
808
814
|
* Updates the specified document by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
@@ -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.
|
|
@@ -250,10 +250,11 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
250
250
|
* @param {string} [search] Search query
|
|
251
251
|
* @param {string} [order] Ordering criteria
|
|
252
252
|
* @param {string} [expand] Extra fields to fetch
|
|
253
|
+
* @param {string} [filters] List filters
|
|
253
254
|
* @param {*} [options] Override http request option.
|
|
254
255
|
* @throws {RequiredError}
|
|
255
256
|
*/
|
|
256
|
-
listDocxTemplates: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
257
|
+
listDocxTemplates: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
257
258
|
if (options === void 0) { options = {}; }
|
|
258
259
|
return __awaiter(_this, void 0, void 0, function () {
|
|
259
260
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -294,6 +295,9 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
294
295
|
if (expand !== undefined) {
|
|
295
296
|
localVarQueryParameter['expand'] = expand;
|
|
296
297
|
}
|
|
298
|
+
if (filters !== undefined) {
|
|
299
|
+
localVarQueryParameter['filters'] = filters;
|
|
300
|
+
}
|
|
297
301
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
298
302
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
299
303
|
}
|
|
@@ -493,15 +497,16 @@ var DocxTemplatesApiFp = function (configuration) {
|
|
|
493
497
|
* @param {string} [search] Search query
|
|
494
498
|
* @param {string} [order] Ordering criteria
|
|
495
499
|
* @param {string} [expand] Extra fields to fetch
|
|
500
|
+
* @param {string} [filters] List filters
|
|
496
501
|
* @param {*} [options] Override http request option.
|
|
497
502
|
* @throws {RequiredError}
|
|
498
503
|
*/
|
|
499
|
-
listDocxTemplates: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
504
|
+
listDocxTemplates: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
500
505
|
return __awaiter(this, void 0, void 0, function () {
|
|
501
506
|
var localVarAxiosArgs;
|
|
502
507
|
return __generator(this, function (_a) {
|
|
503
508
|
switch (_a.label) {
|
|
504
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listDocxTemplates(authorization, pageSize, pageToken, filter, search, order, expand, options)];
|
|
509
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listDocxTemplates(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
505
510
|
case 1:
|
|
506
511
|
localVarAxiosArgs = _a.sent();
|
|
507
512
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -605,11 +610,12 @@ var DocxTemplatesApiFactory = function (configuration, basePath, axios) {
|
|
|
605
610
|
* @param {string} [search] Search query
|
|
606
611
|
* @param {string} [order] Ordering criteria
|
|
607
612
|
* @param {string} [expand] Extra fields to fetch
|
|
613
|
+
* @param {string} [filters] List filters
|
|
608
614
|
* @param {*} [options] Override http request option.
|
|
609
615
|
* @throws {RequiredError}
|
|
610
616
|
*/
|
|
611
|
-
listDocxTemplates: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
612
|
-
return localVarFp.listDocxTemplates(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
617
|
+
listDocxTemplates: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
618
|
+
return localVarFp.listDocxTemplates(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
613
619
|
},
|
|
614
620
|
/**
|
|
615
621
|
* Updates a docx template metadata.
|
|
@@ -695,7 +701,7 @@ var DocxTemplatesApi = /** @class */ (function (_super) {
|
|
|
695
701
|
DocxTemplatesApi.prototype.listDocxTemplates = function (requestParameters, options) {
|
|
696
702
|
var _this = this;
|
|
697
703
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
698
|
-
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); });
|
|
704
|
+
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); });
|
|
699
705
|
};
|
|
700
706
|
/**
|
|
701
707
|
* 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
|
@@ -257,10 +257,11 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
257
257
|
* @param {string} [search] Search query
|
|
258
258
|
* @param {string} [order] Ordering criteria
|
|
259
259
|
* @param {string} [expand] Extra fields to fetch
|
|
260
|
+
* @param {string} [filters] List filters
|
|
260
261
|
* @param {*} [options] Override http request option.
|
|
261
262
|
* @throws {RequiredError}
|
|
262
263
|
*/
|
|
263
|
-
listLayouts: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
264
|
+
listLayouts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
264
265
|
if (options === void 0) { options = {}; }
|
|
265
266
|
return __awaiter(_this, void 0, void 0, function () {
|
|
266
267
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -301,6 +302,9 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
301
302
|
if (expand !== undefined) {
|
|
302
303
|
localVarQueryParameter['expand'] = expand;
|
|
303
304
|
}
|
|
305
|
+
if (filters !== undefined) {
|
|
306
|
+
localVarQueryParameter['filters'] = filters;
|
|
307
|
+
}
|
|
304
308
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
305
309
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
306
310
|
}
|
|
@@ -452,15 +456,16 @@ var LayoutsApiFp = function (configuration) {
|
|
|
452
456
|
* @param {string} [search] Search query
|
|
453
457
|
* @param {string} [order] Ordering criteria
|
|
454
458
|
* @param {string} [expand] Extra fields to fetch
|
|
459
|
+
* @param {string} [filters] List filters
|
|
455
460
|
* @param {*} [options] Override http request option.
|
|
456
461
|
* @throws {RequiredError}
|
|
457
462
|
*/
|
|
458
|
-
listLayouts: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
463
|
+
listLayouts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
459
464
|
return __awaiter(this, void 0, void 0, function () {
|
|
460
465
|
var localVarAxiosArgs;
|
|
461
466
|
return __generator(this, function (_a) {
|
|
462
467
|
switch (_a.label) {
|
|
463
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listLayouts(authorization, pageSize, pageToken, filter, search, order, expand, options)];
|
|
468
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listLayouts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
464
469
|
case 1:
|
|
465
470
|
localVarAxiosArgs = _a.sent();
|
|
466
471
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -544,11 +549,12 @@ var LayoutsApiFactory = function (configuration, basePath, axios) {
|
|
|
544
549
|
* @param {string} [search] Search query
|
|
545
550
|
* @param {string} [order] Ordering criteria
|
|
546
551
|
* @param {string} [expand] Extra fields to fetch
|
|
552
|
+
* @param {string} [filters] List filters
|
|
547
553
|
* @param {*} [options] Override http request option.
|
|
548
554
|
* @throws {RequiredError}
|
|
549
555
|
*/
|
|
550
|
-
listLayouts: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
551
|
-
return localVarFp.listLayouts(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
556
|
+
listLayouts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
557
|
+
return localVarFp.listLayouts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
552
558
|
},
|
|
553
559
|
/**
|
|
554
560
|
* Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
@@ -623,7 +629,7 @@ var LayoutsApi = /** @class */ (function (_super) {
|
|
|
623
629
|
LayoutsApi.prototype.listLayouts = function (requestParameters, options) {
|
|
624
630
|
var _this = this;
|
|
625
631
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
626
|
-
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); });
|
|
632
|
+
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); });
|
|
627
633
|
};
|
|
628
634
|
/**
|
|
629
635
|
* 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.
|
|
@@ -263,10 +263,11 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
263
263
|
* @param {string} [search] Search query
|
|
264
264
|
* @param {string} [order] Ordering criteria
|
|
265
265
|
* @param {string} [expand] Extra fields to fetch
|
|
266
|
+
* @param {string} [filters] List filters
|
|
266
267
|
* @param {*} [options] Override http request option.
|
|
267
268
|
* @throws {RequiredError}
|
|
268
269
|
*/
|
|
269
|
-
listProductDocuments: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
270
|
+
listProductDocuments: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
270
271
|
if (options === void 0) { options = {}; }
|
|
271
272
|
return __awaiter(_this, void 0, void 0, function () {
|
|
272
273
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -310,6 +311,9 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
310
311
|
if (expand !== undefined) {
|
|
311
312
|
localVarQueryParameter['expand'] = expand;
|
|
312
313
|
}
|
|
314
|
+
if (filters !== undefined) {
|
|
315
|
+
localVarQueryParameter['filters'] = filters;
|
|
316
|
+
}
|
|
313
317
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
314
318
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
315
319
|
}
|
|
@@ -335,10 +339,11 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
335
339
|
* @param {string} [search] Search query
|
|
336
340
|
* @param {string} [order] Ordering criteria
|
|
337
341
|
* @param {string} [expand] Extra fields to fetch
|
|
342
|
+
* @param {string} [filters] List filters
|
|
338
343
|
* @param {*} [options] Override http request option.
|
|
339
344
|
* @throws {RequiredError}
|
|
340
345
|
*/
|
|
341
|
-
listProductDocuments_1: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
346
|
+
listProductDocuments_1: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
342
347
|
if (options === void 0) { options = {}; }
|
|
343
348
|
return __awaiter(_this, void 0, void 0, function () {
|
|
344
349
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -382,6 +387,9 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
382
387
|
if (expand !== undefined) {
|
|
383
388
|
localVarQueryParameter['expand'] = expand;
|
|
384
389
|
}
|
|
390
|
+
if (filters !== undefined) {
|
|
391
|
+
localVarQueryParameter['filters'] = filters;
|
|
392
|
+
}
|
|
385
393
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
386
394
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
387
395
|
}
|
|
@@ -536,15 +544,16 @@ var ProductDocumentsApiFp = function (configuration) {
|
|
|
536
544
|
* @param {string} [search] Search query
|
|
537
545
|
* @param {string} [order] Ordering criteria
|
|
538
546
|
* @param {string} [expand] Extra fields to fetch
|
|
547
|
+
* @param {string} [filters] List filters
|
|
539
548
|
* @param {*} [options] Override http request option.
|
|
540
549
|
* @throws {RequiredError}
|
|
541
550
|
*/
|
|
542
|
-
listProductDocuments: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
551
|
+
listProductDocuments: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
543
552
|
return __awaiter(this, void 0, void 0, function () {
|
|
544
553
|
var localVarAxiosArgs;
|
|
545
554
|
return __generator(this, function (_a) {
|
|
546
555
|
switch (_a.label) {
|
|
547
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProductDocuments(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, options)];
|
|
556
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProductDocuments(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
548
557
|
case 1:
|
|
549
558
|
localVarAxiosArgs = _a.sent();
|
|
550
559
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -563,15 +572,16 @@ var ProductDocumentsApiFp = function (configuration) {
|
|
|
563
572
|
* @param {string} [search] Search query
|
|
564
573
|
* @param {string} [order] Ordering criteria
|
|
565
574
|
* @param {string} [expand] Extra fields to fetch
|
|
575
|
+
* @param {string} [filters] List filters
|
|
566
576
|
* @param {*} [options] Override http request option.
|
|
567
577
|
* @throws {RequiredError}
|
|
568
578
|
*/
|
|
569
|
-
listProductDocuments_1: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
579
|
+
listProductDocuments_1: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
570
580
|
return __awaiter(this, void 0, void 0, function () {
|
|
571
581
|
var localVarAxiosArgs;
|
|
572
582
|
return __generator(this, function (_a) {
|
|
573
583
|
switch (_a.label) {
|
|
574
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProductDocuments_1(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, options)];
|
|
584
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProductDocuments_1(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
575
585
|
case 1:
|
|
576
586
|
localVarAxiosArgs = _a.sent();
|
|
577
587
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -658,11 +668,12 @@ var ProductDocumentsApiFactory = function (configuration, basePath, axios) {
|
|
|
658
668
|
* @param {string} [search] Search query
|
|
659
669
|
* @param {string} [order] Ordering criteria
|
|
660
670
|
* @param {string} [expand] Extra fields to fetch
|
|
671
|
+
* @param {string} [filters] List filters
|
|
661
672
|
* @param {*} [options] Override http request option.
|
|
662
673
|
* @throws {RequiredError}
|
|
663
674
|
*/
|
|
664
|
-
listProductDocuments: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
665
|
-
return localVarFp.listProductDocuments(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
675
|
+
listProductDocuments: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
676
|
+
return localVarFp.listProductDocuments(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
666
677
|
},
|
|
667
678
|
/**
|
|
668
679
|
* Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
@@ -675,11 +686,12 @@ var ProductDocumentsApiFactory = function (configuration, basePath, axios) {
|
|
|
675
686
|
* @param {string} [search] Search query
|
|
676
687
|
* @param {string} [order] Ordering criteria
|
|
677
688
|
* @param {string} [expand] Extra fields to fetch
|
|
689
|
+
* @param {string} [filters] List filters
|
|
678
690
|
* @param {*} [options] Override http request option.
|
|
679
691
|
* @throws {RequiredError}
|
|
680
692
|
*/
|
|
681
|
-
listProductDocuments_1: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
682
|
-
return localVarFp.listProductDocuments_1(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
693
|
+
listProductDocuments_1: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
694
|
+
return localVarFp.listProductDocuments_1(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
683
695
|
},
|
|
684
696
|
/**
|
|
685
697
|
* Upload a product document.
|
|
@@ -753,7 +765,7 @@ var ProductDocumentsApi = /** @class */ (function (_super) {
|
|
|
753
765
|
*/
|
|
754
766
|
ProductDocumentsApi.prototype.listProductDocuments = function (requestParameters, options) {
|
|
755
767
|
var _this = this;
|
|
756
|
-
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); });
|
|
768
|
+
return (0, exports.ProductDocumentsApiFp)(this.configuration).listProductDocuments(requestParameters.productSlug, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
757
769
|
};
|
|
758
770
|
/**
|
|
759
771
|
* Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
@@ -765,7 +777,7 @@ var ProductDocumentsApi = /** @class */ (function (_super) {
|
|
|
765
777
|
*/
|
|
766
778
|
ProductDocumentsApi.prototype.listProductDocuments_1 = function (requestParameters, options) {
|
|
767
779
|
var _this = this;
|
|
768
|
-
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); });
|
|
780
|
+
return (0, exports.ProductDocumentsApiFp)(this.configuration).listProductDocuments_1(requestParameters.productSlug, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
769
781
|
};
|
|
770
782
|
/**
|
|
771
783
|
* Upload a product document.
|
|
@@ -28,10 +28,11 @@ export declare const SearchableDocumentOwnersApiAxiosParamCreator: (configuratio
|
|
|
28
28
|
* @param {string} [search] Search query
|
|
29
29
|
* @param {string} [order] Ordering criteria
|
|
30
30
|
* @param {string} [expand] Extra fields to fetch
|
|
31
|
+
* @param {string} [filters] List filters
|
|
31
32
|
* @param {*} [options] Override http request option.
|
|
32
33
|
* @throws {RequiredError}
|
|
33
34
|
*/
|
|
34
|
-
listSearchableDocumentOwners: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
|
+
listSearchableDocumentOwners: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
36
|
};
|
|
36
37
|
/**
|
|
37
38
|
* SearchableDocumentOwnersApi - functional programming interface
|
|
@@ -48,10 +49,11 @@ export declare const SearchableDocumentOwnersApiFp: (configuration?: Configurati
|
|
|
48
49
|
* @param {string} [search] Search query
|
|
49
50
|
* @param {string} [order] Ordering criteria
|
|
50
51
|
* @param {string} [expand] Extra fields to fetch
|
|
52
|
+
* @param {string} [filters] List filters
|
|
51
53
|
* @param {*} [options] Override http request option.
|
|
52
54
|
* @throws {RequiredError}
|
|
53
55
|
*/
|
|
54
|
-
listSearchableDocumentOwners(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSearchableDocumentOwnersResponseClass>>;
|
|
56
|
+
listSearchableDocumentOwners(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSearchableDocumentOwnersResponseClass>>;
|
|
55
57
|
};
|
|
56
58
|
/**
|
|
57
59
|
* SearchableDocumentOwnersApi - factory interface
|
|
@@ -68,10 +70,11 @@ export declare const SearchableDocumentOwnersApiFactory: (configuration?: Config
|
|
|
68
70
|
* @param {string} [search] Search query
|
|
69
71
|
* @param {string} [order] Ordering criteria
|
|
70
72
|
* @param {string} [expand] Extra fields to fetch
|
|
73
|
+
* @param {string} [filters] List filters
|
|
71
74
|
* @param {*} [options] Override http request option.
|
|
72
75
|
* @throws {RequiredError}
|
|
73
76
|
*/
|
|
74
|
-
listSearchableDocumentOwners(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListSearchableDocumentOwnersResponseClass>;
|
|
77
|
+
listSearchableDocumentOwners(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListSearchableDocumentOwnersResponseClass>;
|
|
75
78
|
};
|
|
76
79
|
/**
|
|
77
80
|
* Request parameters for listSearchableDocumentOwners operation in SearchableDocumentOwnersApi.
|
|
@@ -121,6 +124,12 @@ export interface SearchableDocumentOwnersApiListSearchableDocumentOwnersRequest
|
|
|
121
124
|
* @memberof SearchableDocumentOwnersApiListSearchableDocumentOwners
|
|
122
125
|
*/
|
|
123
126
|
readonly expand?: string;
|
|
127
|
+
/**
|
|
128
|
+
* List filters
|
|
129
|
+
* @type {string}
|
|
130
|
+
* @memberof SearchableDocumentOwnersApiListSearchableDocumentOwners
|
|
131
|
+
*/
|
|
132
|
+
readonly filters?: string;
|
|
124
133
|
}
|
|
125
134
|
/**
|
|
126
135
|
* SearchableDocumentOwnersApi - object-oriented interface
|
|
@@ -106,10 +106,11 @@ var SearchableDocumentOwnersApiAxiosParamCreator = function (configuration) {
|
|
|
106
106
|
* @param {string} [search] Search query
|
|
107
107
|
* @param {string} [order] Ordering criteria
|
|
108
108
|
* @param {string} [expand] Extra fields to fetch
|
|
109
|
+
* @param {string} [filters] List filters
|
|
109
110
|
* @param {*} [options] Override http request option.
|
|
110
111
|
* @throws {RequiredError}
|
|
111
112
|
*/
|
|
112
|
-
listSearchableDocumentOwners: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
113
|
+
listSearchableDocumentOwners: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
113
114
|
if (options === void 0) { options = {}; }
|
|
114
115
|
return __awaiter(_this, void 0, void 0, function () {
|
|
115
116
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -150,6 +151,9 @@ var SearchableDocumentOwnersApiAxiosParamCreator = function (configuration) {
|
|
|
150
151
|
if (expand !== undefined) {
|
|
151
152
|
localVarQueryParameter['expand'] = expand;
|
|
152
153
|
}
|
|
154
|
+
if (filters !== undefined) {
|
|
155
|
+
localVarQueryParameter['filters'] = filters;
|
|
156
|
+
}
|
|
153
157
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
154
158
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
155
159
|
}
|
|
@@ -184,15 +188,16 @@ var SearchableDocumentOwnersApiFp = function (configuration) {
|
|
|
184
188
|
* @param {string} [search] Search query
|
|
185
189
|
* @param {string} [order] Ordering criteria
|
|
186
190
|
* @param {string} [expand] Extra fields to fetch
|
|
191
|
+
* @param {string} [filters] List filters
|
|
187
192
|
* @param {*} [options] Override http request option.
|
|
188
193
|
* @throws {RequiredError}
|
|
189
194
|
*/
|
|
190
|
-
listSearchableDocumentOwners: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
195
|
+
listSearchableDocumentOwners: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
191
196
|
return __awaiter(this, void 0, void 0, function () {
|
|
192
197
|
var localVarAxiosArgs;
|
|
193
198
|
return __generator(this, function (_a) {
|
|
194
199
|
switch (_a.label) {
|
|
195
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listSearchableDocumentOwners(authorization, pageSize, pageToken, filter, search, order, expand, options)];
|
|
200
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listSearchableDocumentOwners(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
196
201
|
case 1:
|
|
197
202
|
localVarAxiosArgs = _a.sent();
|
|
198
203
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -220,11 +225,12 @@ var SearchableDocumentOwnersApiFactory = function (configuration, basePath, axio
|
|
|
220
225
|
* @param {string} [search] Search query
|
|
221
226
|
* @param {string} [order] Ordering criteria
|
|
222
227
|
* @param {string} [expand] Extra fields to fetch
|
|
228
|
+
* @param {string} [filters] List filters
|
|
223
229
|
* @param {*} [options] Override http request option.
|
|
224
230
|
* @throws {RequiredError}
|
|
225
231
|
*/
|
|
226
|
-
listSearchableDocumentOwners: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
227
|
-
return localVarFp.listSearchableDocumentOwners(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
232
|
+
listSearchableDocumentOwners: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
233
|
+
return localVarFp.listSearchableDocumentOwners(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
228
234
|
},
|
|
229
235
|
};
|
|
230
236
|
};
|
|
@@ -251,7 +257,7 @@ var SearchableDocumentOwnersApi = /** @class */ (function (_super) {
|
|
|
251
257
|
SearchableDocumentOwnersApi.prototype.listSearchableDocumentOwners = function (requestParameters, options) {
|
|
252
258
|
var _this = this;
|
|
253
259
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
254
|
-
return (0, exports.SearchableDocumentOwnersApiFp)(this.configuration).listSearchableDocumentOwners(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
260
|
+
return (0, exports.SearchableDocumentOwnersApiFp)(this.configuration).listSearchableDocumentOwners(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
255
261
|
};
|
|
256
262
|
return SearchableDocumentOwnersApi;
|
|
257
263
|
}(base_1.BaseAPI));
|