@emilgroup/document-sdk-node 1.44.1-beta.14 → 1.44.1-beta.15
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/product-documents-api.ts +41 -54
- package/dist/api/product-documents-api.d.ts +33 -42
- package/dist/api/product-documents-api.js +19 -24
- 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.44.1-beta.
|
|
20
|
+
npm install @emilgroup/document-sdk-node@1.44.1-beta.15 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/document-sdk-node@1.44.1-beta.
|
|
24
|
+
yarn add @emilgroup/document-sdk-node@1.44.1-beta.15
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `DocumentsApi`.
|
|
@@ -197,7 +197,6 @@ export const ProductDocumentsApiAxiosParamCreator = function (configuration?: Co
|
|
|
197
197
|
/**
|
|
198
198
|
* 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. **Required Permissions** \"document-management.documents.view\"
|
|
199
199
|
* @summary List product documents
|
|
200
|
-
* @param {string} productSlug
|
|
201
200
|
* @param {string} [authorization] Bearer Token
|
|
202
201
|
* @param {number} [pageSize] Page size
|
|
203
202
|
* @param {string} [pageToken] Page token
|
|
@@ -209,11 +208,8 @@ export const ProductDocumentsApiAxiosParamCreator = function (configuration?: Co
|
|
|
209
208
|
* @param {*} [options] Override http request option.
|
|
210
209
|
* @throws {RequiredError}
|
|
211
210
|
*/
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
assertParamExists('listProductDocuments0', 'productSlug', productSlug)
|
|
215
|
-
const localVarPath = `/documentservice/v1/product-documents`
|
|
216
|
-
.replace(`{${"productSlug"}}`, encodeURIComponent(String(productSlug)));
|
|
211
|
+
listProductDocuments: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
212
|
+
const localVarPath = `/documentservice/v1/product-documents`;
|
|
217
213
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
218
214
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
219
215
|
let baseOptions;
|
|
@@ -289,9 +285,9 @@ export const ProductDocumentsApiAxiosParamCreator = function (configuration?: Co
|
|
|
289
285
|
* @param {*} [options] Override http request option.
|
|
290
286
|
* @throws {RequiredError}
|
|
291
287
|
*/
|
|
292
|
-
|
|
288
|
+
listProductDocumentsByProduct: async (productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
293
289
|
// verify required parameter 'productSlug' is not null or undefined
|
|
294
|
-
assertParamExists('
|
|
290
|
+
assertParamExists('listProductDocumentsByProduct', 'productSlug', productSlug)
|
|
295
291
|
const localVarPath = `/documentservice/v1/product-documents/{productSlug}`
|
|
296
292
|
.replace(`{${"productSlug"}}`, encodeURIComponent(String(productSlug)));
|
|
297
293
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -458,7 +454,6 @@ export const ProductDocumentsApiFp = function(configuration?: Configuration) {
|
|
|
458
454
|
/**
|
|
459
455
|
* 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. **Required Permissions** \"document-management.documents.view\"
|
|
460
456
|
* @summary List product documents
|
|
461
|
-
* @param {string} productSlug
|
|
462
457
|
* @param {string} [authorization] Bearer Token
|
|
463
458
|
* @param {number} [pageSize] Page size
|
|
464
459
|
* @param {string} [pageToken] Page token
|
|
@@ -470,8 +465,8 @@ export const ProductDocumentsApiFp = function(configuration?: Configuration) {
|
|
|
470
465
|
* @param {*} [options] Override http request option.
|
|
471
466
|
* @throws {RequiredError}
|
|
472
467
|
*/
|
|
473
|
-
async
|
|
474
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
468
|
+
async listProductDocuments(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>> {
|
|
469
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listProductDocuments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
475
470
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
476
471
|
},
|
|
477
472
|
/**
|
|
@@ -489,8 +484,8 @@ export const ProductDocumentsApiFp = function(configuration?: Configuration) {
|
|
|
489
484
|
* @param {*} [options] Override http request option.
|
|
490
485
|
* @throws {RequiredError}
|
|
491
486
|
*/
|
|
492
|
-
async
|
|
493
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
487
|
+
async listProductDocumentsByProduct(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>> {
|
|
488
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listProductDocumentsByProduct(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
494
489
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
495
490
|
},
|
|
496
491
|
/**
|
|
@@ -556,7 +551,6 @@ export const ProductDocumentsApiFactory = function (configuration?: Configuratio
|
|
|
556
551
|
/**
|
|
557
552
|
* 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. **Required Permissions** \"document-management.documents.view\"
|
|
558
553
|
* @summary List product documents
|
|
559
|
-
* @param {string} productSlug
|
|
560
554
|
* @param {string} [authorization] Bearer Token
|
|
561
555
|
* @param {number} [pageSize] Page size
|
|
562
556
|
* @param {string} [pageToken] Page token
|
|
@@ -568,8 +562,8 @@ export const ProductDocumentsApiFactory = function (configuration?: Configuratio
|
|
|
568
562
|
* @param {*} [options] Override http request option.
|
|
569
563
|
* @throws {RequiredError}
|
|
570
564
|
*/
|
|
571
|
-
|
|
572
|
-
return localVarFp.
|
|
565
|
+
listProductDocuments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListProductDocumentsResponseClass> {
|
|
566
|
+
return localVarFp.listProductDocuments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
573
567
|
},
|
|
574
568
|
/**
|
|
575
569
|
* 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. **Required Permissions** \"document-management.documents.view\"
|
|
@@ -586,8 +580,8 @@ export const ProductDocumentsApiFactory = function (configuration?: Configuratio
|
|
|
586
580
|
* @param {*} [options] Override http request option.
|
|
587
581
|
* @throws {RequiredError}
|
|
588
582
|
*/
|
|
589
|
-
|
|
590
|
-
return localVarFp.
|
|
583
|
+
listProductDocumentsByProduct(productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListProductDocumentsResponseClass> {
|
|
584
|
+
return localVarFp.listProductDocumentsByProduct(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
591
585
|
},
|
|
592
586
|
/**
|
|
593
587
|
* Upload a product document. **Required Permissions** \"document-management.documents.update\"
|
|
@@ -696,141 +690,134 @@ export interface ProductDocumentsApiGetProductDocumentRequest {
|
|
|
696
690
|
}
|
|
697
691
|
|
|
698
692
|
/**
|
|
699
|
-
* Request parameters for
|
|
693
|
+
* Request parameters for listProductDocuments operation in ProductDocumentsApi.
|
|
700
694
|
* @export
|
|
701
|
-
* @interface
|
|
695
|
+
* @interface ProductDocumentsApiListProductDocumentsRequest
|
|
702
696
|
*/
|
|
703
|
-
export interface
|
|
704
|
-
/**
|
|
705
|
-
*
|
|
706
|
-
* @type {string}
|
|
707
|
-
* @memberof ProductDocumentsApiListProductDocuments0
|
|
708
|
-
*/
|
|
709
|
-
readonly productSlug: string
|
|
710
|
-
|
|
697
|
+
export interface ProductDocumentsApiListProductDocumentsRequest {
|
|
711
698
|
/**
|
|
712
699
|
* Bearer Token
|
|
713
700
|
* @type {string}
|
|
714
|
-
* @memberof
|
|
701
|
+
* @memberof ProductDocumentsApiListProductDocuments
|
|
715
702
|
*/
|
|
716
703
|
readonly authorization?: string
|
|
717
704
|
|
|
718
705
|
/**
|
|
719
706
|
* Page size
|
|
720
707
|
* @type {number}
|
|
721
|
-
* @memberof
|
|
708
|
+
* @memberof ProductDocumentsApiListProductDocuments
|
|
722
709
|
*/
|
|
723
710
|
readonly pageSize?: number
|
|
724
711
|
|
|
725
712
|
/**
|
|
726
713
|
* Page token
|
|
727
714
|
* @type {string}
|
|
728
|
-
* @memberof
|
|
715
|
+
* @memberof ProductDocumentsApiListProductDocuments
|
|
729
716
|
*/
|
|
730
717
|
readonly pageToken?: string
|
|
731
718
|
|
|
732
719
|
/**
|
|
733
720
|
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, productSlug, productCode, type, createdAt, slug</i>
|
|
734
721
|
* @type {string}
|
|
735
|
-
* @memberof
|
|
722
|
+
* @memberof ProductDocumentsApiListProductDocuments
|
|
736
723
|
*/
|
|
737
724
|
readonly filter?: string
|
|
738
725
|
|
|
739
726
|
/**
|
|
740
727
|
* Search query
|
|
741
728
|
* @type {string}
|
|
742
|
-
* @memberof
|
|
729
|
+
* @memberof ProductDocumentsApiListProductDocuments
|
|
743
730
|
*/
|
|
744
731
|
readonly search?: string
|
|
745
732
|
|
|
746
733
|
/**
|
|
747
734
|
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, filename</i>
|
|
748
735
|
* @type {string}
|
|
749
|
-
* @memberof
|
|
736
|
+
* @memberof ProductDocumentsApiListProductDocuments
|
|
750
737
|
*/
|
|
751
738
|
readonly order?: string
|
|
752
739
|
|
|
753
740
|
/**
|
|
754
741
|
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
755
742
|
* @type {string}
|
|
756
|
-
* @memberof
|
|
743
|
+
* @memberof ProductDocumentsApiListProductDocuments
|
|
757
744
|
*/
|
|
758
745
|
readonly expand?: string
|
|
759
746
|
|
|
760
747
|
/**
|
|
761
748
|
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, productSlug, productCode, type, createdAt, slug</i>
|
|
762
749
|
* @type {string}
|
|
763
|
-
* @memberof
|
|
750
|
+
* @memberof ProductDocumentsApiListProductDocuments
|
|
764
751
|
*/
|
|
765
752
|
readonly filters?: string
|
|
766
753
|
}
|
|
767
754
|
|
|
768
755
|
/**
|
|
769
|
-
* Request parameters for
|
|
756
|
+
* Request parameters for listProductDocumentsByProduct operation in ProductDocumentsApi.
|
|
770
757
|
* @export
|
|
771
|
-
* @interface
|
|
758
|
+
* @interface ProductDocumentsApiListProductDocumentsByProductRequest
|
|
772
759
|
*/
|
|
773
|
-
export interface
|
|
760
|
+
export interface ProductDocumentsApiListProductDocumentsByProductRequest {
|
|
774
761
|
/**
|
|
775
762
|
*
|
|
776
763
|
* @type {string}
|
|
777
|
-
* @memberof
|
|
764
|
+
* @memberof ProductDocumentsApiListProductDocumentsByProduct
|
|
778
765
|
*/
|
|
779
766
|
readonly productSlug: string
|
|
780
767
|
|
|
781
768
|
/**
|
|
782
769
|
* Bearer Token
|
|
783
770
|
* @type {string}
|
|
784
|
-
* @memberof
|
|
771
|
+
* @memberof ProductDocumentsApiListProductDocumentsByProduct
|
|
785
772
|
*/
|
|
786
773
|
readonly authorization?: string
|
|
787
774
|
|
|
788
775
|
/**
|
|
789
776
|
* Page size
|
|
790
777
|
* @type {number}
|
|
791
|
-
* @memberof
|
|
778
|
+
* @memberof ProductDocumentsApiListProductDocumentsByProduct
|
|
792
779
|
*/
|
|
793
780
|
readonly pageSize?: number
|
|
794
781
|
|
|
795
782
|
/**
|
|
796
783
|
* Page token
|
|
797
784
|
* @type {string}
|
|
798
|
-
* @memberof
|
|
785
|
+
* @memberof ProductDocumentsApiListProductDocumentsByProduct
|
|
799
786
|
*/
|
|
800
787
|
readonly pageToken?: string
|
|
801
788
|
|
|
802
789
|
/**
|
|
803
790
|
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, productSlug, productCode, type, createdAt, slug</i>
|
|
804
791
|
* @type {string}
|
|
805
|
-
* @memberof
|
|
792
|
+
* @memberof ProductDocumentsApiListProductDocumentsByProduct
|
|
806
793
|
*/
|
|
807
794
|
readonly filter?: string
|
|
808
795
|
|
|
809
796
|
/**
|
|
810
797
|
* Search query
|
|
811
798
|
* @type {string}
|
|
812
|
-
* @memberof
|
|
799
|
+
* @memberof ProductDocumentsApiListProductDocumentsByProduct
|
|
813
800
|
*/
|
|
814
801
|
readonly search?: string
|
|
815
802
|
|
|
816
803
|
/**
|
|
817
804
|
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, filename</i>
|
|
818
805
|
* @type {string}
|
|
819
|
-
* @memberof
|
|
806
|
+
* @memberof ProductDocumentsApiListProductDocumentsByProduct
|
|
820
807
|
*/
|
|
821
808
|
readonly order?: string
|
|
822
809
|
|
|
823
810
|
/**
|
|
824
811
|
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
825
812
|
* @type {string}
|
|
826
|
-
* @memberof
|
|
813
|
+
* @memberof ProductDocumentsApiListProductDocumentsByProduct
|
|
827
814
|
*/
|
|
828
815
|
readonly expand?: string
|
|
829
816
|
|
|
830
817
|
/**
|
|
831
818
|
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, productSlug, productCode, type, createdAt, slug</i>
|
|
832
819
|
* @type {string}
|
|
833
|
-
* @memberof
|
|
820
|
+
* @memberof ProductDocumentsApiListProductDocumentsByProduct
|
|
834
821
|
*/
|
|
835
822
|
readonly filters?: string
|
|
836
823
|
}
|
|
@@ -909,25 +896,25 @@ export class ProductDocumentsApi extends BaseAPI {
|
|
|
909
896
|
/**
|
|
910
897
|
* 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. **Required Permissions** \"document-management.documents.view\"
|
|
911
898
|
* @summary List product documents
|
|
912
|
-
* @param {
|
|
899
|
+
* @param {ProductDocumentsApiListProductDocumentsRequest} requestParameters Request parameters.
|
|
913
900
|
* @param {*} [options] Override http request option.
|
|
914
901
|
* @throws {RequiredError}
|
|
915
902
|
* @memberof ProductDocumentsApi
|
|
916
903
|
*/
|
|
917
|
-
public
|
|
918
|
-
return ProductDocumentsApiFp(this.configuration).
|
|
904
|
+
public listProductDocuments(requestParameters: ProductDocumentsApiListProductDocumentsRequest = {}, options?: AxiosRequestConfig) {
|
|
905
|
+
return ProductDocumentsApiFp(this.configuration).listProductDocuments(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
919
906
|
}
|
|
920
907
|
|
|
921
908
|
/**
|
|
922
909
|
* 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. **Required Permissions** \"document-management.documents.view\"
|
|
923
910
|
* @summary List product documents
|
|
924
|
-
* @param {
|
|
911
|
+
* @param {ProductDocumentsApiListProductDocumentsByProductRequest} requestParameters Request parameters.
|
|
925
912
|
* @param {*} [options] Override http request option.
|
|
926
913
|
* @throws {RequiredError}
|
|
927
914
|
* @memberof ProductDocumentsApi
|
|
928
915
|
*/
|
|
929
|
-
public
|
|
930
|
-
return ProductDocumentsApiFp(this.configuration).
|
|
916
|
+
public listProductDocumentsByProduct(requestParameters: ProductDocumentsApiListProductDocumentsByProductRequest, options?: AxiosRequestConfig) {
|
|
917
|
+
return ProductDocumentsApiFp(this.configuration).listProductDocumentsByProduct(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));
|
|
931
918
|
}
|
|
932
919
|
|
|
933
920
|
/**
|
|
@@ -57,7 +57,6 @@ export declare const ProductDocumentsApiAxiosParamCreator: (configuration?: Conf
|
|
|
57
57
|
/**
|
|
58
58
|
* 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. **Required Permissions** \"document-management.documents.view\"
|
|
59
59
|
* @summary List product documents
|
|
60
|
-
* @param {string} productSlug
|
|
61
60
|
* @param {string} [authorization] Bearer Token
|
|
62
61
|
* @param {number} [pageSize] Page size
|
|
63
62
|
* @param {string} [pageToken] Page token
|
|
@@ -69,7 +68,7 @@ export declare const ProductDocumentsApiAxiosParamCreator: (configuration?: Conf
|
|
|
69
68
|
* @param {*} [options] Override http request option.
|
|
70
69
|
* @throws {RequiredError}
|
|
71
70
|
*/
|
|
72
|
-
|
|
71
|
+
listProductDocuments: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
73
72
|
/**
|
|
74
73
|
* 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. **Required Permissions** \"document-management.documents.view\"
|
|
75
74
|
* @summary List product documents
|
|
@@ -85,7 +84,7 @@ export declare const ProductDocumentsApiAxiosParamCreator: (configuration?: Conf
|
|
|
85
84
|
* @param {*} [options] Override http request option.
|
|
86
85
|
* @throws {RequiredError}
|
|
87
86
|
*/
|
|
88
|
-
|
|
87
|
+
listProductDocumentsByProduct: (productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
89
88
|
/**
|
|
90
89
|
* Upload a product document. **Required Permissions** \"document-management.documents.update\"
|
|
91
90
|
* @summary Create the product document
|
|
@@ -136,7 +135,6 @@ export declare const ProductDocumentsApiFp: (configuration?: Configuration) => {
|
|
|
136
135
|
/**
|
|
137
136
|
* 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. **Required Permissions** \"document-management.documents.view\"
|
|
138
137
|
* @summary List product documents
|
|
139
|
-
* @param {string} productSlug
|
|
140
138
|
* @param {string} [authorization] Bearer Token
|
|
141
139
|
* @param {number} [pageSize] Page size
|
|
142
140
|
* @param {string} [pageToken] Page token
|
|
@@ -148,7 +146,7 @@ export declare const ProductDocumentsApiFp: (configuration?: Configuration) => {
|
|
|
148
146
|
* @param {*} [options] Override http request option.
|
|
149
147
|
* @throws {RequiredError}
|
|
150
148
|
*/
|
|
151
|
-
|
|
149
|
+
listProductDocuments(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>>;
|
|
152
150
|
/**
|
|
153
151
|
* 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. **Required Permissions** \"document-management.documents.view\"
|
|
154
152
|
* @summary List product documents
|
|
@@ -164,7 +162,7 @@ export declare const ProductDocumentsApiFp: (configuration?: Configuration) => {
|
|
|
164
162
|
* @param {*} [options] Override http request option.
|
|
165
163
|
* @throws {RequiredError}
|
|
166
164
|
*/
|
|
167
|
-
|
|
165
|
+
listProductDocumentsByProduct(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>>;
|
|
168
166
|
/**
|
|
169
167
|
* Upload a product document. **Required Permissions** \"document-management.documents.update\"
|
|
170
168
|
* @summary Create the product document
|
|
@@ -215,7 +213,6 @@ export declare const ProductDocumentsApiFactory: (configuration?: Configuration,
|
|
|
215
213
|
/**
|
|
216
214
|
* 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. **Required Permissions** \"document-management.documents.view\"
|
|
217
215
|
* @summary List product documents
|
|
218
|
-
* @param {string} productSlug
|
|
219
216
|
* @param {string} [authorization] Bearer Token
|
|
220
217
|
* @param {number} [pageSize] Page size
|
|
221
218
|
* @param {string} [pageToken] Page token
|
|
@@ -227,7 +224,7 @@ export declare const ProductDocumentsApiFactory: (configuration?: Configuration,
|
|
|
227
224
|
* @param {*} [options] Override http request option.
|
|
228
225
|
* @throws {RequiredError}
|
|
229
226
|
*/
|
|
230
|
-
|
|
227
|
+
listProductDocuments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListProductDocumentsResponseClass>;
|
|
231
228
|
/**
|
|
232
229
|
* 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. **Required Permissions** \"document-management.documents.view\"
|
|
233
230
|
* @summary List product documents
|
|
@@ -243,7 +240,7 @@ export declare const ProductDocumentsApiFactory: (configuration?: Configuration,
|
|
|
243
240
|
* @param {*} [options] Override http request option.
|
|
244
241
|
* @throws {RequiredError}
|
|
245
242
|
*/
|
|
246
|
-
|
|
243
|
+
listProductDocumentsByProduct(productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListProductDocumentsResponseClass>;
|
|
247
244
|
/**
|
|
248
245
|
* Upload a product document. **Required Permissions** \"document-management.documents.update\"
|
|
249
246
|
* @summary Create the product document
|
|
@@ -337,124 +334,118 @@ export interface ProductDocumentsApiGetProductDocumentRequest {
|
|
|
337
334
|
readonly authorization?: string;
|
|
338
335
|
}
|
|
339
336
|
/**
|
|
340
|
-
* Request parameters for
|
|
337
|
+
* Request parameters for listProductDocuments operation in ProductDocumentsApi.
|
|
341
338
|
* @export
|
|
342
|
-
* @interface
|
|
339
|
+
* @interface ProductDocumentsApiListProductDocumentsRequest
|
|
343
340
|
*/
|
|
344
|
-
export interface
|
|
345
|
-
/**
|
|
346
|
-
*
|
|
347
|
-
* @type {string}
|
|
348
|
-
* @memberof ProductDocumentsApiListProductDocuments0
|
|
349
|
-
*/
|
|
350
|
-
readonly productSlug: string;
|
|
341
|
+
export interface ProductDocumentsApiListProductDocumentsRequest {
|
|
351
342
|
/**
|
|
352
343
|
* Bearer Token
|
|
353
344
|
* @type {string}
|
|
354
|
-
* @memberof
|
|
345
|
+
* @memberof ProductDocumentsApiListProductDocuments
|
|
355
346
|
*/
|
|
356
347
|
readonly authorization?: string;
|
|
357
348
|
/**
|
|
358
349
|
* Page size
|
|
359
350
|
* @type {number}
|
|
360
|
-
* @memberof
|
|
351
|
+
* @memberof ProductDocumentsApiListProductDocuments
|
|
361
352
|
*/
|
|
362
353
|
readonly pageSize?: number;
|
|
363
354
|
/**
|
|
364
355
|
* Page token
|
|
365
356
|
* @type {string}
|
|
366
|
-
* @memberof
|
|
357
|
+
* @memberof ProductDocumentsApiListProductDocuments
|
|
367
358
|
*/
|
|
368
359
|
readonly pageToken?: string;
|
|
369
360
|
/**
|
|
370
361
|
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, productSlug, productCode, type, createdAt, slug</i>
|
|
371
362
|
* @type {string}
|
|
372
|
-
* @memberof
|
|
363
|
+
* @memberof ProductDocumentsApiListProductDocuments
|
|
373
364
|
*/
|
|
374
365
|
readonly filter?: string;
|
|
375
366
|
/**
|
|
376
367
|
* Search query
|
|
377
368
|
* @type {string}
|
|
378
|
-
* @memberof
|
|
369
|
+
* @memberof ProductDocumentsApiListProductDocuments
|
|
379
370
|
*/
|
|
380
371
|
readonly search?: string;
|
|
381
372
|
/**
|
|
382
373
|
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, filename</i>
|
|
383
374
|
* @type {string}
|
|
384
|
-
* @memberof
|
|
375
|
+
* @memberof ProductDocumentsApiListProductDocuments
|
|
385
376
|
*/
|
|
386
377
|
readonly order?: string;
|
|
387
378
|
/**
|
|
388
379
|
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
389
380
|
* @type {string}
|
|
390
|
-
* @memberof
|
|
381
|
+
* @memberof ProductDocumentsApiListProductDocuments
|
|
391
382
|
*/
|
|
392
383
|
readonly expand?: string;
|
|
393
384
|
/**
|
|
394
385
|
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, productSlug, productCode, type, createdAt, slug</i>
|
|
395
386
|
* @type {string}
|
|
396
|
-
* @memberof
|
|
387
|
+
* @memberof ProductDocumentsApiListProductDocuments
|
|
397
388
|
*/
|
|
398
389
|
readonly filters?: string;
|
|
399
390
|
}
|
|
400
391
|
/**
|
|
401
|
-
* Request parameters for
|
|
392
|
+
* Request parameters for listProductDocumentsByProduct operation in ProductDocumentsApi.
|
|
402
393
|
* @export
|
|
403
|
-
* @interface
|
|
394
|
+
* @interface ProductDocumentsApiListProductDocumentsByProductRequest
|
|
404
395
|
*/
|
|
405
|
-
export interface
|
|
396
|
+
export interface ProductDocumentsApiListProductDocumentsByProductRequest {
|
|
406
397
|
/**
|
|
407
398
|
*
|
|
408
399
|
* @type {string}
|
|
409
|
-
* @memberof
|
|
400
|
+
* @memberof ProductDocumentsApiListProductDocumentsByProduct
|
|
410
401
|
*/
|
|
411
402
|
readonly productSlug: string;
|
|
412
403
|
/**
|
|
413
404
|
* Bearer Token
|
|
414
405
|
* @type {string}
|
|
415
|
-
* @memberof
|
|
406
|
+
* @memberof ProductDocumentsApiListProductDocumentsByProduct
|
|
416
407
|
*/
|
|
417
408
|
readonly authorization?: string;
|
|
418
409
|
/**
|
|
419
410
|
* Page size
|
|
420
411
|
* @type {number}
|
|
421
|
-
* @memberof
|
|
412
|
+
* @memberof ProductDocumentsApiListProductDocumentsByProduct
|
|
422
413
|
*/
|
|
423
414
|
readonly pageSize?: number;
|
|
424
415
|
/**
|
|
425
416
|
* Page token
|
|
426
417
|
* @type {string}
|
|
427
|
-
* @memberof
|
|
418
|
+
* @memberof ProductDocumentsApiListProductDocumentsByProduct
|
|
428
419
|
*/
|
|
429
420
|
readonly pageToken?: string;
|
|
430
421
|
/**
|
|
431
422
|
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, productSlug, productCode, type, createdAt, slug</i>
|
|
432
423
|
* @type {string}
|
|
433
|
-
* @memberof
|
|
424
|
+
* @memberof ProductDocumentsApiListProductDocumentsByProduct
|
|
434
425
|
*/
|
|
435
426
|
readonly filter?: string;
|
|
436
427
|
/**
|
|
437
428
|
* Search query
|
|
438
429
|
* @type {string}
|
|
439
|
-
* @memberof
|
|
430
|
+
* @memberof ProductDocumentsApiListProductDocumentsByProduct
|
|
440
431
|
*/
|
|
441
432
|
readonly search?: string;
|
|
442
433
|
/**
|
|
443
434
|
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, filename</i>
|
|
444
435
|
* @type {string}
|
|
445
|
-
* @memberof
|
|
436
|
+
* @memberof ProductDocumentsApiListProductDocumentsByProduct
|
|
446
437
|
*/
|
|
447
438
|
readonly order?: string;
|
|
448
439
|
/**
|
|
449
440
|
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
450
441
|
* @type {string}
|
|
451
|
-
* @memberof
|
|
442
|
+
* @memberof ProductDocumentsApiListProductDocumentsByProduct
|
|
452
443
|
*/
|
|
453
444
|
readonly expand?: string;
|
|
454
445
|
/**
|
|
455
446
|
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, productSlug, productCode, type, createdAt, slug</i>
|
|
456
447
|
* @type {string}
|
|
457
|
-
* @memberof
|
|
448
|
+
* @memberof ProductDocumentsApiListProductDocumentsByProduct
|
|
458
449
|
*/
|
|
459
450
|
readonly filters?: string;
|
|
460
451
|
}
|
|
@@ -520,21 +511,21 @@ export declare class ProductDocumentsApi extends BaseAPI {
|
|
|
520
511
|
/**
|
|
521
512
|
* 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. **Required Permissions** \"document-management.documents.view\"
|
|
522
513
|
* @summary List product documents
|
|
523
|
-
* @param {
|
|
514
|
+
* @param {ProductDocumentsApiListProductDocumentsRequest} requestParameters Request parameters.
|
|
524
515
|
* @param {*} [options] Override http request option.
|
|
525
516
|
* @throws {RequiredError}
|
|
526
517
|
* @memberof ProductDocumentsApi
|
|
527
518
|
*/
|
|
528
|
-
|
|
519
|
+
listProductDocuments(requestParameters?: ProductDocumentsApiListProductDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductDocumentsResponseClass, any, {}>>;
|
|
529
520
|
/**
|
|
530
521
|
* 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. **Required Permissions** \"document-management.documents.view\"
|
|
531
522
|
* @summary List product documents
|
|
532
|
-
* @param {
|
|
523
|
+
* @param {ProductDocumentsApiListProductDocumentsByProductRequest} requestParameters Request parameters.
|
|
533
524
|
* @param {*} [options] Override http request option.
|
|
534
525
|
* @throws {RequiredError}
|
|
535
526
|
* @memberof ProductDocumentsApi
|
|
536
527
|
*/
|
|
537
|
-
|
|
528
|
+
listProductDocumentsByProduct(requestParameters: ProductDocumentsApiListProductDocumentsByProductRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductDocumentsResponseClass, any, {}>>;
|
|
538
529
|
/**
|
|
539
530
|
* Upload a product document. **Required Permissions** \"document-management.documents.update\"
|
|
540
531
|
* @summary Create the product document
|
|
@@ -259,7 +259,6 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
259
259
|
/**
|
|
260
260
|
* 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. **Required Permissions** \"document-management.documents.view\"
|
|
261
261
|
* @summary List product documents
|
|
262
|
-
* @param {string} productSlug
|
|
263
262
|
* @param {string} [authorization] Bearer Token
|
|
264
263
|
* @param {number} [pageSize] Page size
|
|
265
264
|
* @param {string} [pageToken] Page token
|
|
@@ -271,17 +270,14 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
271
270
|
* @param {*} [options] Override http request option.
|
|
272
271
|
* @throws {RequiredError}
|
|
273
272
|
*/
|
|
274
|
-
|
|
273
|
+
listProductDocuments: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
275
274
|
if (options === void 0) { options = {}; }
|
|
276
275
|
return __awaiter(_this, void 0, void 0, function () {
|
|
277
276
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
278
277
|
return __generator(this, function (_a) {
|
|
279
278
|
switch (_a.label) {
|
|
280
279
|
case 0:
|
|
281
|
-
|
|
282
|
-
(0, common_1.assertParamExists)('listProductDocuments0', 'productSlug', productSlug);
|
|
283
|
-
localVarPath = "/documentservice/v1/product-documents"
|
|
284
|
-
.replace("{".concat("productSlug", "}"), encodeURIComponent(String(productSlug)));
|
|
280
|
+
localVarPath = "/documentservice/v1/product-documents";
|
|
285
281
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
286
282
|
if (configuration) {
|
|
287
283
|
baseOptions = configuration.baseOptions;
|
|
@@ -347,7 +343,7 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
347
343
|
* @param {*} [options] Override http request option.
|
|
348
344
|
* @throws {RequiredError}
|
|
349
345
|
*/
|
|
350
|
-
|
|
346
|
+
listProductDocumentsByProduct: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
351
347
|
if (options === void 0) { options = {}; }
|
|
352
348
|
return __awaiter(_this, void 0, void 0, function () {
|
|
353
349
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -355,7 +351,7 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
355
351
|
switch (_a.label) {
|
|
356
352
|
case 0:
|
|
357
353
|
// verify required parameter 'productSlug' is not null or undefined
|
|
358
|
-
(0, common_1.assertParamExists)('
|
|
354
|
+
(0, common_1.assertParamExists)('listProductDocumentsByProduct', 'productSlug', productSlug);
|
|
359
355
|
localVarPath = "/documentservice/v1/product-documents/{productSlug}"
|
|
360
356
|
.replace("{".concat("productSlug", "}"), encodeURIComponent(String(productSlug)));
|
|
361
357
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -541,7 +537,6 @@ var ProductDocumentsApiFp = function (configuration) {
|
|
|
541
537
|
/**
|
|
542
538
|
* 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. **Required Permissions** \"document-management.documents.view\"
|
|
543
539
|
* @summary List product documents
|
|
544
|
-
* @param {string} productSlug
|
|
545
540
|
* @param {string} [authorization] Bearer Token
|
|
546
541
|
* @param {number} [pageSize] Page size
|
|
547
542
|
* @param {string} [pageToken] Page token
|
|
@@ -553,12 +548,12 @@ var ProductDocumentsApiFp = function (configuration) {
|
|
|
553
548
|
* @param {*} [options] Override http request option.
|
|
554
549
|
* @throws {RequiredError}
|
|
555
550
|
*/
|
|
556
|
-
|
|
551
|
+
listProductDocuments: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
557
552
|
return __awaiter(this, void 0, void 0, function () {
|
|
558
553
|
var localVarAxiosArgs;
|
|
559
554
|
return __generator(this, function (_a) {
|
|
560
555
|
switch (_a.label) {
|
|
561
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
556
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProductDocuments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
562
557
|
case 1:
|
|
563
558
|
localVarAxiosArgs = _a.sent();
|
|
564
559
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -581,12 +576,12 @@ var ProductDocumentsApiFp = function (configuration) {
|
|
|
581
576
|
* @param {*} [options] Override http request option.
|
|
582
577
|
* @throws {RequiredError}
|
|
583
578
|
*/
|
|
584
|
-
|
|
579
|
+
listProductDocumentsByProduct: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
585
580
|
return __awaiter(this, void 0, void 0, function () {
|
|
586
581
|
var localVarAxiosArgs;
|
|
587
582
|
return __generator(this, function (_a) {
|
|
588
583
|
switch (_a.label) {
|
|
589
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
584
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProductDocumentsByProduct(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
590
585
|
case 1:
|
|
591
586
|
localVarAxiosArgs = _a.sent();
|
|
592
587
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -666,7 +661,6 @@ var ProductDocumentsApiFactory = function (configuration, basePath, axios) {
|
|
|
666
661
|
/**
|
|
667
662
|
* 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. **Required Permissions** \"document-management.documents.view\"
|
|
668
663
|
* @summary List product documents
|
|
669
|
-
* @param {string} productSlug
|
|
670
664
|
* @param {string} [authorization] Bearer Token
|
|
671
665
|
* @param {number} [pageSize] Page size
|
|
672
666
|
* @param {string} [pageToken] Page token
|
|
@@ -678,8 +672,8 @@ var ProductDocumentsApiFactory = function (configuration, basePath, axios) {
|
|
|
678
672
|
* @param {*} [options] Override http request option.
|
|
679
673
|
* @throws {RequiredError}
|
|
680
674
|
*/
|
|
681
|
-
|
|
682
|
-
return localVarFp.
|
|
675
|
+
listProductDocuments: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
676
|
+
return localVarFp.listProductDocuments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
683
677
|
},
|
|
684
678
|
/**
|
|
685
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. **Required Permissions** \"document-management.documents.view\"
|
|
@@ -696,8 +690,8 @@ var ProductDocumentsApiFactory = function (configuration, basePath, axios) {
|
|
|
696
690
|
* @param {*} [options] Override http request option.
|
|
697
691
|
* @throws {RequiredError}
|
|
698
692
|
*/
|
|
699
|
-
|
|
700
|
-
return localVarFp.
|
|
693
|
+
listProductDocumentsByProduct: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
694
|
+
return localVarFp.listProductDocumentsByProduct(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
701
695
|
},
|
|
702
696
|
/**
|
|
703
697
|
* Upload a product document. **Required Permissions** \"document-management.documents.update\"
|
|
@@ -764,26 +758,27 @@ var ProductDocumentsApi = /** @class */ (function (_super) {
|
|
|
764
758
|
/**
|
|
765
759
|
* 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. **Required Permissions** \"document-management.documents.view\"
|
|
766
760
|
* @summary List product documents
|
|
767
|
-
* @param {
|
|
761
|
+
* @param {ProductDocumentsApiListProductDocumentsRequest} requestParameters Request parameters.
|
|
768
762
|
* @param {*} [options] Override http request option.
|
|
769
763
|
* @throws {RequiredError}
|
|
770
764
|
* @memberof ProductDocumentsApi
|
|
771
765
|
*/
|
|
772
|
-
ProductDocumentsApi.prototype.
|
|
766
|
+
ProductDocumentsApi.prototype.listProductDocuments = function (requestParameters, options) {
|
|
773
767
|
var _this = this;
|
|
774
|
-
|
|
768
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
769
|
+
return (0, exports.ProductDocumentsApiFp)(this.configuration).listProductDocuments(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); });
|
|
775
770
|
};
|
|
776
771
|
/**
|
|
777
772
|
* 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. **Required Permissions** \"document-management.documents.view\"
|
|
778
773
|
* @summary List product documents
|
|
779
|
-
* @param {
|
|
774
|
+
* @param {ProductDocumentsApiListProductDocumentsByProductRequest} requestParameters Request parameters.
|
|
780
775
|
* @param {*} [options] Override http request option.
|
|
781
776
|
* @throws {RequiredError}
|
|
782
777
|
* @memberof ProductDocumentsApi
|
|
783
778
|
*/
|
|
784
|
-
ProductDocumentsApi.prototype.
|
|
779
|
+
ProductDocumentsApi.prototype.listProductDocumentsByProduct = function (requestParameters, options) {
|
|
785
780
|
var _this = this;
|
|
786
|
-
return (0, exports.ProductDocumentsApiFp)(this.configuration).
|
|
781
|
+
return (0, exports.ProductDocumentsApiFp)(this.configuration).listProductDocumentsByProduct(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); });
|
|
787
782
|
};
|
|
788
783
|
/**
|
|
789
784
|
* Upload a product document. **Required Permissions** \"document-management.documents.update\"
|