@emilgroup/document-sdk-node 1.21.0 → 1.22.1-beta.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/.openapi-generator/FILES +0 -38
- package/README.md +2 -2
- package/api/default-api.ts +8 -4
- package/api/document-templates-api.ts +79 -75
- package/api/documents-api.ts +42 -38
- package/api/docx-templates-api.ts +16 -28
- package/api/layouts-api.ts +18 -28
- package/api/product-documents-api.ts +47 -238
- package/api/search-keywords-api.ts +2 -4
- package/api/searchable-document-owners-api.ts +2 -4
- package/api/searchable-documents-api.ts +20 -20
- package/dist/api/default-api.d.ts +8 -4
- package/dist/api/default-api.js +8 -4
- package/dist/api/document-templates-api.d.ts +62 -67
- package/dist/api/document-templates-api.js +55 -42
- package/dist/api/documents-api.d.ts +39 -36
- package/dist/api/documents-api.js +21 -13
- package/dist/api/docx-templates-api.d.ts +22 -28
- package/dist/api/docx-templates-api.js +4 -4
- package/dist/api/layouts-api.d.ts +23 -28
- package/dist/api/layouts-api.js +8 -8
- package/dist/api/product-documents-api.d.ts +37 -150
- package/dist/api/product-documents-api.js +29 -155
- package/dist/api/search-keywords-api.d.ts +3 -4
- package/dist/api/searchable-document-owners-api.d.ts +3 -4
- package/dist/api/searchable-documents-api.d.ts +16 -17
- package/dist/api/searchable-documents-api.js +15 -13
- package/dist/models/create-doc-template-request-dto.d.ts +2 -2
- package/dist/models/create-document-request-dto.d.ts +11 -10
- package/dist/models/create-document-request-dto.js +2 -1
- package/dist/models/create-presigned-post-request-dto.d.ts +5 -4
- package/dist/models/create-presigned-post-request-dto.js +2 -1
- package/dist/models/index.d.ts +0 -38
- package/dist/models/index.js +0 -38
- package/dist/models/list-searchable-document-owners-request-dto.d.ts +1 -8
- package/dist/models/list-searchable-document-owners-request-dto.js +0 -7
- package/dist/models/list-searchable-documents-request-dto.d.ts +1 -8
- package/dist/models/list-searchable-documents-request-dto.js +0 -7
- package/dist/models/update-doc-template-request-dto.d.ts +2 -2
- package/dist/models/update-document-request-dto.d.ts +5 -5
- package/dist/models/upload-docx-template-request-dto.d.ts +1 -1
- package/dist/models/upload-product-document-request-dto.d.ts +2 -2
- package/models/create-doc-template-request-dto.ts +2 -2
- package/models/create-document-request-dto.ts +12 -11
- package/models/create-presigned-post-request-dto.ts +6 -5
- package/models/index.ts +0 -38
- package/models/list-searchable-document-owners-request-dto.ts +1 -11
- package/models/list-searchable-documents-request-dto.ts +1 -11
- package/models/update-doc-template-request-dto.ts +2 -2
- package/models/update-document-request-dto.ts +5 -5
- package/models/upload-docx-template-request-dto.ts +1 -1
- package/models/upload-product-document-request-dto.ts +2 -2
- package/package.json +1 -1
- package/dist/models/create-doc-template-response-class.d.ts +0 -25
- package/dist/models/create-doc-template-response-class.js +0 -15
- package/dist/models/create-document-sync-response-class.d.ts +0 -25
- package/dist/models/create-document-sync-response-class.js +0 -15
- package/dist/models/create-layout-response-class.d.ts +0 -25
- package/dist/models/create-layout-response-class.js +0 -15
- package/dist/models/create-presigned-post-response-class.d.ts +0 -30
- package/dist/models/create-presigned-post-response-class.js +0 -15
- package/dist/models/delete-response-class.d.ts +0 -24
- package/dist/models/delete-response-class.js +0 -15
- package/dist/models/doc-template-class.d.ts +0 -92
- package/dist/models/doc-template-class.js +0 -15
- package/dist/models/document-class.d.ts +0 -158
- package/dist/models/document-class.js +0 -52
- package/dist/models/docx-template-class.d.ts +0 -90
- package/dist/models/docx-template-class.js +0 -15
- package/dist/models/download-document-request-dto.d.ts +0 -30
- package/dist/models/download-document-request-dto.js +0 -15
- package/dist/models/get-doc-template-request-dto.d.ts +0 -30
- package/dist/models/get-doc-template-request-dto.js +0 -15
- package/dist/models/get-doc-template-response-class.d.ts +0 -25
- package/dist/models/get-doc-template-response-class.js +0 -15
- package/dist/models/get-document-download-url-response-class.d.ts +0 -24
- package/dist/models/get-document-download-url-response-class.js +0 -15
- package/dist/models/get-docx-template-download-url-response-class.d.ts +0 -24
- package/dist/models/get-docx-template-download-url-response-class.js +0 -15
- package/dist/models/get-docx-template-response-class.d.ts +0 -25
- package/dist/models/get-docx-template-response-class.js +0 -15
- package/dist/models/get-layout-response-class.d.ts +0 -25
- package/dist/models/get-layout-response-class.js +0 -15
- package/dist/models/get-product-document-download-url-response-class.d.ts +0 -24
- package/dist/models/get-product-document-download-url-response-class.js +0 -15
- package/dist/models/get-product-document-response-class.d.ts +0 -25
- package/dist/models/get-product-document-response-class.js +0 -15
- package/dist/models/get-signed-s3-key-url-response-class.d.ts +0 -24
- package/dist/models/get-signed-s3-key-url-response-class.js +0 -15
- package/dist/models/grpc-create-doc-template-request-dto.d.ts +0 -55
- package/dist/models/grpc-create-doc-template-request-dto.js +0 -15
- package/dist/models/grpc-update-doc-template-request-dto.d.ts +0 -61
- package/dist/models/grpc-update-doc-template-request-dto.js +0 -15
- package/dist/models/html-template-class.d.ts +0 -66
- package/dist/models/html-template-class.js +0 -21
- package/dist/models/layout-class.d.ts +0 -79
- package/dist/models/layout-class.js +0 -15
- package/dist/models/list-doc-template-request-dto.d.ts +0 -54
- package/dist/models/list-doc-template-request-dto.js +0 -15
- package/dist/models/list-doc-templates-response-class.d.ts +0 -31
- package/dist/models/list-doc-templates-response-class.js +0 -15
- package/dist/models/list-documents-response-class.d.ts +0 -31
- package/dist/models/list-documents-response-class.js +0 -15
- package/dist/models/list-docx-templates-response-class.d.ts +0 -31
- package/dist/models/list-docx-templates-response-class.js +0 -15
- package/dist/models/list-layouts-response-class.d.ts +0 -31
- package/dist/models/list-layouts-response-class.js +0 -15
- package/dist/models/list-product-documents-response-class.d.ts +0 -31
- package/dist/models/list-product-documents-response-class.js +0 -15
- package/dist/models/list-search-keywords-response-class.d.ts +0 -24
- package/dist/models/list-search-keywords-response-class.js +0 -15
- package/dist/models/list-searchable-document-owners-response-class.d.ts +0 -25
- package/dist/models/list-searchable-document-owners-response-class.js +0 -15
- package/dist/models/list-searchable-documents-response-class.d.ts +0 -31
- package/dist/models/list-searchable-documents-response-class.js +0 -15
- package/dist/models/product-document-class.d.ts +0 -117
- package/dist/models/product-document-class.js +0 -24
- package/dist/models/searchable-document-class.d.ts +0 -66
- package/dist/models/searchable-document-class.js +0 -15
- package/dist/models/searchable-document-owner-class.d.ts +0 -30
- package/dist/models/searchable-document-owner-class.js +0 -15
- package/dist/models/update-doc-template-response-class.d.ts +0 -25
- package/dist/models/update-doc-template-response-class.js +0 -15
- package/dist/models/update-document-response-class.d.ts +0 -25
- package/dist/models/update-document-response-class.js +0 -15
- package/dist/models/update-docx-template-response-class.d.ts +0 -25
- package/dist/models/update-docx-template-response-class.js +0 -15
- package/dist/models/update-layout-response-class.d.ts +0 -25
- package/dist/models/update-layout-response-class.js +0 -15
- package/models/create-doc-template-response-class.ts +0 -31
- package/models/create-document-sync-response-class.ts +0 -31
- package/models/create-layout-response-class.ts +0 -31
- package/models/create-presigned-post-response-class.ts +0 -36
- package/models/delete-response-class.ts +0 -30
- package/models/doc-template-class.ts +0 -98
- package/models/document-class.ts +0 -168
- package/models/docx-template-class.ts +0 -96
- package/models/download-document-request-dto.ts +0 -36
- package/models/get-doc-template-request-dto.ts +0 -36
- package/models/get-doc-template-response-class.ts +0 -31
- package/models/get-document-download-url-response-class.ts +0 -30
- package/models/get-docx-template-download-url-response-class.ts +0 -30
- package/models/get-docx-template-response-class.ts +0 -31
- package/models/get-layout-response-class.ts +0 -31
- package/models/get-product-document-download-url-response-class.ts +0 -30
- package/models/get-product-document-response-class.ts +0 -31
- package/models/get-signed-s3-key-url-response-class.ts +0 -30
- package/models/grpc-create-doc-template-request-dto.ts +0 -61
- package/models/grpc-update-doc-template-request-dto.ts +0 -67
- package/models/html-template-class.ts +0 -75
- package/models/layout-class.ts +0 -85
- package/models/list-doc-template-request-dto.ts +0 -60
- package/models/list-doc-templates-response-class.ts +0 -37
- package/models/list-documents-response-class.ts +0 -37
- package/models/list-docx-templates-response-class.ts +0 -37
- package/models/list-layouts-response-class.ts +0 -37
- package/models/list-product-documents-response-class.ts +0 -37
- package/models/list-search-keywords-response-class.ts +0 -30
- package/models/list-searchable-document-owners-response-class.ts +0 -31
- package/models/list-searchable-documents-response-class.ts +0 -37
- package/models/product-document-class.ts +0 -126
- package/models/searchable-document-class.ts +0 -72
- package/models/searchable-document-owner-class.ts +0 -36
- package/models/update-doc-template-response-class.ts +0 -31
- package/models/update-document-response-class.ts +0 -31
- package/models/update-docx-template-response-class.ts +0 -31
- package/models/update-layout-response-class.ts +0 -31
|
@@ -12,10 +12,6 @@
|
|
|
12
12
|
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
-
import { CreatePresignedPostResponseClass } from '../models';
|
|
16
|
-
import { GetProductDocumentDownloadUrlResponseClass } from '../models';
|
|
17
|
-
import { GetProductDocumentResponseClass } from '../models';
|
|
18
|
-
import { ListProductDocumentsResponseClass } from '../models';
|
|
19
15
|
import { UploadProductDocumentRequestDto } from '../models';
|
|
20
16
|
/**
|
|
21
17
|
* ProductDocumentsApi - axios parameter creator
|
|
@@ -35,13 +31,14 @@ export declare const ProductDocumentsApiAxiosParamCreator: (configuration?: Conf
|
|
|
35
31
|
/**
|
|
36
32
|
* Get a pre-signed download url for the given product document.
|
|
37
33
|
* @summary Get pre-signed url for downloading product document
|
|
38
|
-
* @param {string} productSlug
|
|
39
|
-
* @param {string} code
|
|
34
|
+
* @param {string} productSlug Product slug
|
|
35
|
+
* @param {string} code Product document code
|
|
36
|
+
* @param {'attachment' | 'inline'} contentDisposition Content disposition override. Default will be depending on the document type.
|
|
40
37
|
* @param {string} [authorization] Bearer Token
|
|
41
38
|
* @param {*} [options] Override http request option.
|
|
42
39
|
* @throws {RequiredError}
|
|
43
40
|
*/
|
|
44
|
-
downloadProductDocument: (productSlug: string, code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
41
|
+
downloadProductDocument: (productSlug: string, code: string, contentDisposition: 'attachment' | 'inline', authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
45
42
|
/**
|
|
46
43
|
* Get a product document.
|
|
47
44
|
* @summary Retrieve the product document
|
|
@@ -53,7 +50,7 @@ export declare const ProductDocumentsApiAxiosParamCreator: (configuration?: Conf
|
|
|
53
50
|
*/
|
|
54
51
|
getProductDocument: (productSlug: string, code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
55
52
|
/**
|
|
56
|
-
* Returns a list of product documents you have previously created.
|
|
53
|
+
* 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.
|
|
57
54
|
* @summary List product documents
|
|
58
55
|
* @param {string} productSlug
|
|
59
56
|
* @param {string} [authorization] Bearer Token
|
|
@@ -68,22 +65,6 @@ export declare const ProductDocumentsApiAxiosParamCreator: (configuration?: Conf
|
|
|
68
65
|
* @throws {RequiredError}
|
|
69
66
|
*/
|
|
70
67
|
listProductDocuments: (productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
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.
|
|
73
|
-
* @summary List product documents
|
|
74
|
-
* @param {string} productSlug
|
|
75
|
-
* @param {string} [authorization] Bearer Token
|
|
76
|
-
* @param {number} [pageSize] Page size
|
|
77
|
-
* @param {string} [pageToken] Page token
|
|
78
|
-
* @param {string} [filter] List filter
|
|
79
|
-
* @param {string} [search] Search query
|
|
80
|
-
* @param {string} [order] Ordering criteria
|
|
81
|
-
* @param {string} [expand] Extra fields to fetch
|
|
82
|
-
* @param {string} [filters] List filters
|
|
83
|
-
* @param {*} [options] Override http request option.
|
|
84
|
-
* @throws {RequiredError}
|
|
85
|
-
*/
|
|
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>;
|
|
87
68
|
/**
|
|
88
69
|
* Upload a product document.
|
|
89
70
|
* @summary Create the product document
|
|
@@ -109,17 +90,18 @@ export declare const ProductDocumentsApiFp: (configuration?: Configuration) => {
|
|
|
109
90
|
* @param {*} [options] Override http request option.
|
|
110
91
|
* @throws {RequiredError}
|
|
111
92
|
*/
|
|
112
|
-
deleteProductDocument(code: string, productSlug: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
93
|
+
deleteProductDocument(code: string, productSlug: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
113
94
|
/**
|
|
114
95
|
* Get a pre-signed download url for the given product document.
|
|
115
96
|
* @summary Get pre-signed url for downloading product document
|
|
116
|
-
* @param {string} productSlug
|
|
117
|
-
* @param {string} code
|
|
97
|
+
* @param {string} productSlug Product slug
|
|
98
|
+
* @param {string} code Product document code
|
|
99
|
+
* @param {'attachment' | 'inline'} contentDisposition Content disposition override. Default will be depending on the document type.
|
|
118
100
|
* @param {string} [authorization] Bearer Token
|
|
119
101
|
* @param {*} [options] Override http request option.
|
|
120
102
|
* @throws {RequiredError}
|
|
121
103
|
*/
|
|
122
|
-
downloadProductDocument(productSlug: string, code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
104
|
+
downloadProductDocument(productSlug: string, code: string, contentDisposition: 'attachment' | 'inline', authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
123
105
|
/**
|
|
124
106
|
* Get a product document.
|
|
125
107
|
* @summary Retrieve the product document
|
|
@@ -129,25 +111,9 @@ export declare const ProductDocumentsApiFp: (configuration?: Configuration) => {
|
|
|
129
111
|
* @param {*} [options] Override http request option.
|
|
130
112
|
* @throws {RequiredError}
|
|
131
113
|
*/
|
|
132
|
-
getProductDocument(productSlug: string, code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
133
|
-
/**
|
|
134
|
-
* 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.
|
|
135
|
-
* @summary List product documents
|
|
136
|
-
* @param {string} productSlug
|
|
137
|
-
* @param {string} [authorization] Bearer Token
|
|
138
|
-
* @param {number} [pageSize] Page size
|
|
139
|
-
* @param {string} [pageToken] Page token
|
|
140
|
-
* @param {string} [filter] List filter
|
|
141
|
-
* @param {string} [search] Search query
|
|
142
|
-
* @param {string} [order] Ordering criteria
|
|
143
|
-
* @param {string} [expand] Extra fields to fetch
|
|
144
|
-
* @param {string} [filters] List filters
|
|
145
|
-
* @param {*} [options] Override http request option.
|
|
146
|
-
* @throws {RequiredError}
|
|
147
|
-
*/
|
|
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>>;
|
|
114
|
+
getProductDocument(productSlug: string, code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
149
115
|
/**
|
|
150
|
-
* Returns a list of product documents you have previously created.
|
|
116
|
+
* 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.
|
|
151
117
|
* @summary List product documents
|
|
152
118
|
* @param {string} productSlug
|
|
153
119
|
* @param {string} [authorization] Bearer Token
|
|
@@ -161,7 +127,7 @@ export declare const ProductDocumentsApiFp: (configuration?: Configuration) => {
|
|
|
161
127
|
* @param {*} [options] Override http request option.
|
|
162
128
|
* @throws {RequiredError}
|
|
163
129
|
*/
|
|
164
|
-
|
|
130
|
+
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<void>>;
|
|
165
131
|
/**
|
|
166
132
|
* Upload a product document.
|
|
167
133
|
* @summary Create the product document
|
|
@@ -171,7 +137,7 @@ export declare const ProductDocumentsApiFp: (configuration?: Configuration) => {
|
|
|
171
137
|
* @param {*} [options] Override http request option.
|
|
172
138
|
* @throws {RequiredError}
|
|
173
139
|
*/
|
|
174
|
-
uploadProductDocument(productSlug: string, uploadProductDocumentRequestDto: UploadProductDocumentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
140
|
+
uploadProductDocument(productSlug: string, uploadProductDocumentRequestDto: UploadProductDocumentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
175
141
|
};
|
|
176
142
|
/**
|
|
177
143
|
* ProductDocumentsApi - factory interface
|
|
@@ -187,17 +153,18 @@ export declare const ProductDocumentsApiFactory: (configuration?: Configuration,
|
|
|
187
153
|
* @param {*} [options] Override http request option.
|
|
188
154
|
* @throws {RequiredError}
|
|
189
155
|
*/
|
|
190
|
-
deleteProductDocument(code: string, productSlug: string, authorization?: string, options?: any): AxiosPromise<
|
|
156
|
+
deleteProductDocument(code: string, productSlug: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
191
157
|
/**
|
|
192
158
|
* Get a pre-signed download url for the given product document.
|
|
193
159
|
* @summary Get pre-signed url for downloading product document
|
|
194
|
-
* @param {string} productSlug
|
|
195
|
-
* @param {string} code
|
|
160
|
+
* @param {string} productSlug Product slug
|
|
161
|
+
* @param {string} code Product document code
|
|
162
|
+
* @param {'attachment' | 'inline'} contentDisposition Content disposition override. Default will be depending on the document type.
|
|
196
163
|
* @param {string} [authorization] Bearer Token
|
|
197
164
|
* @param {*} [options] Override http request option.
|
|
198
165
|
* @throws {RequiredError}
|
|
199
166
|
*/
|
|
200
|
-
downloadProductDocument(productSlug: string, code: string, authorization?: string, options?: any): AxiosPromise<
|
|
167
|
+
downloadProductDocument(productSlug: string, code: string, contentDisposition: 'attachment' | 'inline', authorization?: string, options?: any): AxiosPromise<void>;
|
|
201
168
|
/**
|
|
202
169
|
* Get a product document.
|
|
203
170
|
* @summary Retrieve the product document
|
|
@@ -207,9 +174,9 @@ export declare const ProductDocumentsApiFactory: (configuration?: Configuration,
|
|
|
207
174
|
* @param {*} [options] Override http request option.
|
|
208
175
|
* @throws {RequiredError}
|
|
209
176
|
*/
|
|
210
|
-
getProductDocument(productSlug: string, code: string, authorization?: string, options?: any): AxiosPromise<
|
|
177
|
+
getProductDocument(productSlug: string, code: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
211
178
|
/**
|
|
212
|
-
* Returns a list of product documents you have previously created.
|
|
179
|
+
* 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.
|
|
213
180
|
* @summary List product documents
|
|
214
181
|
* @param {string} productSlug
|
|
215
182
|
* @param {string} [authorization] Bearer Token
|
|
@@ -223,23 +190,7 @@ export declare const ProductDocumentsApiFactory: (configuration?: Configuration,
|
|
|
223
190
|
* @param {*} [options] Override http request option.
|
|
224
191
|
* @throws {RequiredError}
|
|
225
192
|
*/
|
|
226
|
-
listProductDocuments(productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<
|
|
227
|
-
/**
|
|
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.
|
|
229
|
-
* @summary List product documents
|
|
230
|
-
* @param {string} productSlug
|
|
231
|
-
* @param {string} [authorization] Bearer Token
|
|
232
|
-
* @param {number} [pageSize] Page size
|
|
233
|
-
* @param {string} [pageToken] Page token
|
|
234
|
-
* @param {string} [filter] List filter
|
|
235
|
-
* @param {string} [search] Search query
|
|
236
|
-
* @param {string} [order] Ordering criteria
|
|
237
|
-
* @param {string} [expand] Extra fields to fetch
|
|
238
|
-
* @param {string} [filters] List filters
|
|
239
|
-
* @param {*} [options] Override http request option.
|
|
240
|
-
* @throws {RequiredError}
|
|
241
|
-
*/
|
|
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>;
|
|
193
|
+
listProductDocuments(productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void>;
|
|
243
194
|
/**
|
|
244
195
|
* Upload a product document.
|
|
245
196
|
* @summary Create the product document
|
|
@@ -249,7 +200,7 @@ export declare const ProductDocumentsApiFactory: (configuration?: Configuration,
|
|
|
249
200
|
* @param {*} [options] Override http request option.
|
|
250
201
|
* @throws {RequiredError}
|
|
251
202
|
*/
|
|
252
|
-
uploadProductDocument(productSlug: string, uploadProductDocumentRequestDto: UploadProductDocumentRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
203
|
+
uploadProductDocument(productSlug: string, uploadProductDocumentRequestDto: UploadProductDocumentRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
|
|
253
204
|
};
|
|
254
205
|
/**
|
|
255
206
|
* Request parameters for deleteProductDocument operation in ProductDocumentsApi.
|
|
@@ -283,17 +234,23 @@ export interface ProductDocumentsApiDeleteProductDocumentRequest {
|
|
|
283
234
|
*/
|
|
284
235
|
export interface ProductDocumentsApiDownloadProductDocumentRequest {
|
|
285
236
|
/**
|
|
286
|
-
*
|
|
237
|
+
* Product slug
|
|
287
238
|
* @type {string}
|
|
288
239
|
* @memberof ProductDocumentsApiDownloadProductDocument
|
|
289
240
|
*/
|
|
290
241
|
readonly productSlug: string;
|
|
291
242
|
/**
|
|
292
|
-
*
|
|
243
|
+
* Product document code
|
|
293
244
|
* @type {string}
|
|
294
245
|
* @memberof ProductDocumentsApiDownloadProductDocument
|
|
295
246
|
*/
|
|
296
247
|
readonly code: string;
|
|
248
|
+
/**
|
|
249
|
+
* Content disposition override. Default will be depending on the document type.
|
|
250
|
+
* @type {'attachment' | 'inline'}
|
|
251
|
+
* @memberof ProductDocumentsApiDownloadProductDocument
|
|
252
|
+
*/
|
|
253
|
+
readonly contentDisposition: 'attachment' | 'inline';
|
|
297
254
|
/**
|
|
298
255
|
* Bearer Token
|
|
299
256
|
* @type {string}
|
|
@@ -387,67 +344,6 @@ export interface ProductDocumentsApiListProductDocumentsRequest {
|
|
|
387
344
|
*/
|
|
388
345
|
readonly filters?: string;
|
|
389
346
|
}
|
|
390
|
-
/**
|
|
391
|
-
* Request parameters for listProductDocuments_1 operation in ProductDocumentsApi.
|
|
392
|
-
* @export
|
|
393
|
-
* @interface ProductDocumentsApiListProductDocuments0Request
|
|
394
|
-
*/
|
|
395
|
-
export interface ProductDocumentsApiListProductDocuments0Request {
|
|
396
|
-
/**
|
|
397
|
-
*
|
|
398
|
-
* @type {string}
|
|
399
|
-
* @memberof ProductDocumentsApiListProductDocuments0
|
|
400
|
-
*/
|
|
401
|
-
readonly productSlug: string;
|
|
402
|
-
/**
|
|
403
|
-
* Bearer Token
|
|
404
|
-
* @type {string}
|
|
405
|
-
* @memberof ProductDocumentsApiListProductDocuments0
|
|
406
|
-
*/
|
|
407
|
-
readonly authorization?: string;
|
|
408
|
-
/**
|
|
409
|
-
* Page size
|
|
410
|
-
* @type {number}
|
|
411
|
-
* @memberof ProductDocumentsApiListProductDocuments0
|
|
412
|
-
*/
|
|
413
|
-
readonly pageSize?: number;
|
|
414
|
-
/**
|
|
415
|
-
* Page token
|
|
416
|
-
* @type {string}
|
|
417
|
-
* @memberof ProductDocumentsApiListProductDocuments0
|
|
418
|
-
*/
|
|
419
|
-
readonly pageToken?: string;
|
|
420
|
-
/**
|
|
421
|
-
* List filter
|
|
422
|
-
* @type {string}
|
|
423
|
-
* @memberof ProductDocumentsApiListProductDocuments0
|
|
424
|
-
*/
|
|
425
|
-
readonly filter?: string;
|
|
426
|
-
/**
|
|
427
|
-
* Search query
|
|
428
|
-
* @type {string}
|
|
429
|
-
* @memberof ProductDocumentsApiListProductDocuments0
|
|
430
|
-
*/
|
|
431
|
-
readonly search?: string;
|
|
432
|
-
/**
|
|
433
|
-
* Ordering criteria
|
|
434
|
-
* @type {string}
|
|
435
|
-
* @memberof ProductDocumentsApiListProductDocuments0
|
|
436
|
-
*/
|
|
437
|
-
readonly order?: string;
|
|
438
|
-
/**
|
|
439
|
-
* Extra fields to fetch
|
|
440
|
-
* @type {string}
|
|
441
|
-
* @memberof ProductDocumentsApiListProductDocuments0
|
|
442
|
-
*/
|
|
443
|
-
readonly expand?: string;
|
|
444
|
-
/**
|
|
445
|
-
* List filters
|
|
446
|
-
* @type {string}
|
|
447
|
-
* @memberof ProductDocumentsApiListProductDocuments0
|
|
448
|
-
*/
|
|
449
|
-
readonly filters?: string;
|
|
450
|
-
}
|
|
451
347
|
/**
|
|
452
348
|
* Request parameters for uploadProductDocument operation in ProductDocumentsApi.
|
|
453
349
|
* @export
|
|
@@ -488,7 +384,7 @@ export declare class ProductDocumentsApi extends BaseAPI {
|
|
|
488
384
|
* @throws {RequiredError}
|
|
489
385
|
* @memberof ProductDocumentsApi
|
|
490
386
|
*/
|
|
491
|
-
deleteProductDocument(requestParameters: ProductDocumentsApiDeleteProductDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
387
|
+
deleteProductDocument(requestParameters: ProductDocumentsApiDeleteProductDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
492
388
|
/**
|
|
493
389
|
* Get a pre-signed download url for the given product document.
|
|
494
390
|
* @summary Get pre-signed url for downloading product document
|
|
@@ -497,7 +393,7 @@ export declare class ProductDocumentsApi extends BaseAPI {
|
|
|
497
393
|
* @throws {RequiredError}
|
|
498
394
|
* @memberof ProductDocumentsApi
|
|
499
395
|
*/
|
|
500
|
-
downloadProductDocument(requestParameters: ProductDocumentsApiDownloadProductDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
396
|
+
downloadProductDocument(requestParameters: ProductDocumentsApiDownloadProductDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
501
397
|
/**
|
|
502
398
|
* Get a product document.
|
|
503
399
|
* @summary Retrieve the product document
|
|
@@ -506,25 +402,16 @@ export declare class ProductDocumentsApi extends BaseAPI {
|
|
|
506
402
|
* @throws {RequiredError}
|
|
507
403
|
* @memberof ProductDocumentsApi
|
|
508
404
|
*/
|
|
509
|
-
getProductDocument(requestParameters: ProductDocumentsApiGetProductDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
405
|
+
getProductDocument(requestParameters: ProductDocumentsApiGetProductDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
510
406
|
/**
|
|
511
|
-
* Returns a list of product documents you have previously created.
|
|
407
|
+
* 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.
|
|
512
408
|
* @summary List product documents
|
|
513
409
|
* @param {ProductDocumentsApiListProductDocumentsRequest} requestParameters Request parameters.
|
|
514
410
|
* @param {*} [options] Override http request option.
|
|
515
411
|
* @throws {RequiredError}
|
|
516
412
|
* @memberof ProductDocumentsApi
|
|
517
413
|
*/
|
|
518
|
-
listProductDocuments(requestParameters: ProductDocumentsApiListProductDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
519
|
-
/**
|
|
520
|
-
* 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.
|
|
521
|
-
* @summary List product documents
|
|
522
|
-
* @param {ProductDocumentsApiListProductDocuments0Request} requestParameters Request parameters.
|
|
523
|
-
* @param {*} [options] Override http request option.
|
|
524
|
-
* @throws {RequiredError}
|
|
525
|
-
* @memberof ProductDocumentsApi
|
|
526
|
-
*/
|
|
527
|
-
listProductDocuments_1(requestParameters: ProductDocumentsApiListProductDocuments0Request, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductDocumentsResponseClass, any>>;
|
|
414
|
+
listProductDocuments(requestParameters: ProductDocumentsApiListProductDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
528
415
|
/**
|
|
529
416
|
* Upload a product document.
|
|
530
417
|
* @summary Create the product document
|
|
@@ -533,5 +420,5 @@ export declare class ProductDocumentsApi extends BaseAPI {
|
|
|
533
420
|
* @throws {RequiredError}
|
|
534
421
|
* @memberof ProductDocumentsApi
|
|
535
422
|
*/
|
|
536
|
-
uploadProductDocument(requestParameters: ProductDocumentsApiUploadProductDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
423
|
+
uploadProductDocument(requestParameters: ProductDocumentsApiUploadProductDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
537
424
|
}
|