@emilgroup/document-sdk-node 1.23.0 → 1.24.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 +2 -0
- package/README.md +2 -2
- package/api/product-documents-api.ts +20 -18
- package/dist/api/product-documents-api.d.ts +20 -19
- package/dist/api/product-documents-api.js +13 -13
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/dist/models/list-product-documents-response-class.d.ts +31 -0
- package/dist/models/list-product-documents-response-class.js +15 -0
- package/dist/models/product-document-class.d.ts +117 -0
- package/dist/models/product-document-class.js +24 -0
- package/models/index.ts +2 -0
- package/models/list-product-documents-response-class.ts +37 -0
- package/models/product-document-class.ts +126 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -29,10 +29,12 @@ models/get-layout-request-dto.ts
|
|
|
29
29
|
models/index.ts
|
|
30
30
|
models/inline-response200.ts
|
|
31
31
|
models/inline-response503.ts
|
|
32
|
+
models/list-product-documents-response-class.ts
|
|
32
33
|
models/list-request-dto.ts
|
|
33
34
|
models/list-search-keywords-request-dto.ts
|
|
34
35
|
models/list-searchable-document-owners-request-dto.ts
|
|
35
36
|
models/list-searchable-documents-request-dto.ts
|
|
37
|
+
models/product-document-class.ts
|
|
36
38
|
models/shared-update-docx-template-request-dto.ts
|
|
37
39
|
models/update-doc-template-request-dto.ts
|
|
38
40
|
models/update-document-request-dto.ts
|
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.24.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.24.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `DocumentsApi`.
|
|
@@ -21,6 +21,8 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
23
|
// @ts-ignore
|
|
24
|
+
import { ListProductDocumentsResponseClass } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
24
26
|
import { UploadProductDocumentRequestDto } from '../models';
|
|
25
27
|
// URLSearchParams not necessarily used
|
|
26
28
|
// @ts-ignore
|
|
@@ -180,17 +182,17 @@ export const ProductDocumentsApiAxiosParamCreator = function (configuration?: Co
|
|
|
180
182
|
};
|
|
181
183
|
},
|
|
182
184
|
/**
|
|
183
|
-
* Returns a list of product documents you have previously created.
|
|
185
|
+
* 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.
|
|
184
186
|
* @summary List product documents
|
|
185
187
|
* @param {string} productSlug
|
|
186
188
|
* @param {string} [authorization] Bearer Token
|
|
187
189
|
* @param {number} [pageSize] Page size
|
|
188
190
|
* @param {string} [pageToken] Page token
|
|
189
|
-
* @param {string} [filter]
|
|
191
|
+
* @param {string} [filter] 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</i>
|
|
190
192
|
* @param {string} [search] Search query
|
|
191
|
-
* @param {string} [order]
|
|
193
|
+
* @param {string} [order] 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>
|
|
192
194
|
* @param {string} [expand] Extra fields to fetch
|
|
193
|
-
* @param {string} [filters]
|
|
195
|
+
* @param {string} [filters] 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</i>
|
|
194
196
|
* @param {*} [options] Override http request option.
|
|
195
197
|
* @throws {RequiredError}
|
|
196
198
|
*/
|
|
@@ -360,21 +362,21 @@ export const ProductDocumentsApiFp = function(configuration?: Configuration) {
|
|
|
360
362
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
361
363
|
},
|
|
362
364
|
/**
|
|
363
|
-
* Returns a list of product documents you have previously created.
|
|
365
|
+
* 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.
|
|
364
366
|
* @summary List product documents
|
|
365
367
|
* @param {string} productSlug
|
|
366
368
|
* @param {string} [authorization] Bearer Token
|
|
367
369
|
* @param {number} [pageSize] Page size
|
|
368
370
|
* @param {string} [pageToken] Page token
|
|
369
|
-
* @param {string} [filter]
|
|
371
|
+
* @param {string} [filter] 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</i>
|
|
370
372
|
* @param {string} [search] Search query
|
|
371
|
-
* @param {string} [order]
|
|
373
|
+
* @param {string} [order] 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>
|
|
372
374
|
* @param {string} [expand] Extra fields to fetch
|
|
373
|
-
* @param {string} [filters]
|
|
375
|
+
* @param {string} [filters] 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</i>
|
|
374
376
|
* @param {*} [options] Override http request option.
|
|
375
377
|
* @throws {RequiredError}
|
|
376
378
|
*/
|
|
377
|
-
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<
|
|
379
|
+
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>> {
|
|
378
380
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listProductDocuments(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
379
381
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
380
382
|
},
|
|
@@ -438,21 +440,21 @@ export const ProductDocumentsApiFactory = function (configuration?: Configuratio
|
|
|
438
440
|
return localVarFp.getProductDocument(productSlug, code, authorization, options).then((request) => request(axios, basePath));
|
|
439
441
|
},
|
|
440
442
|
/**
|
|
441
|
-
* Returns a list of product documents you have previously created.
|
|
443
|
+
* 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.
|
|
442
444
|
* @summary List product documents
|
|
443
445
|
* @param {string} productSlug
|
|
444
446
|
* @param {string} [authorization] Bearer Token
|
|
445
447
|
* @param {number} [pageSize] Page size
|
|
446
448
|
* @param {string} [pageToken] Page token
|
|
447
|
-
* @param {string} [filter]
|
|
449
|
+
* @param {string} [filter] 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</i>
|
|
448
450
|
* @param {string} [search] Search query
|
|
449
|
-
* @param {string} [order]
|
|
451
|
+
* @param {string} [order] 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>
|
|
450
452
|
* @param {string} [expand] Extra fields to fetch
|
|
451
|
-
* @param {string} [filters]
|
|
453
|
+
* @param {string} [filters] 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</i>
|
|
452
454
|
* @param {*} [options] Override http request option.
|
|
453
455
|
* @throws {RequiredError}
|
|
454
456
|
*/
|
|
455
|
-
listProductDocuments(productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<
|
|
457
|
+
listProductDocuments(productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListProductDocumentsResponseClass> {
|
|
456
458
|
return localVarFp.listProductDocuments(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
457
459
|
},
|
|
458
460
|
/**
|
|
@@ -589,7 +591,7 @@ export interface ProductDocumentsApiListProductDocumentsRequest {
|
|
|
589
591
|
readonly pageToken?: string
|
|
590
592
|
|
|
591
593
|
/**
|
|
592
|
-
*
|
|
594
|
+
* 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</i>
|
|
593
595
|
* @type {string}
|
|
594
596
|
* @memberof ProductDocumentsApiListProductDocuments
|
|
595
597
|
*/
|
|
@@ -603,7 +605,7 @@ export interface ProductDocumentsApiListProductDocumentsRequest {
|
|
|
603
605
|
readonly search?: string
|
|
604
606
|
|
|
605
607
|
/**
|
|
606
|
-
*
|
|
608
|
+
* 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>
|
|
607
609
|
* @type {string}
|
|
608
610
|
* @memberof ProductDocumentsApiListProductDocuments
|
|
609
611
|
*/
|
|
@@ -617,7 +619,7 @@ export interface ProductDocumentsApiListProductDocumentsRequest {
|
|
|
617
619
|
readonly expand?: string
|
|
618
620
|
|
|
619
621
|
/**
|
|
620
|
-
*
|
|
622
|
+
* 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</i>
|
|
621
623
|
* @type {string}
|
|
622
624
|
* @memberof ProductDocumentsApiListProductDocuments
|
|
623
625
|
*/
|
|
@@ -696,7 +698,7 @@ export class ProductDocumentsApi extends BaseAPI {
|
|
|
696
698
|
}
|
|
697
699
|
|
|
698
700
|
/**
|
|
699
|
-
* Returns a list of product documents you have previously created.
|
|
701
|
+
* 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.
|
|
700
702
|
* @summary List product documents
|
|
701
703
|
* @param {ProductDocumentsApiListProductDocumentsRequest} requestParameters Request parameters.
|
|
702
704
|
* @param {*} [options] Override http request option.
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { ListProductDocumentsResponseClass } from '../models';
|
|
15
16
|
import { UploadProductDocumentRequestDto } from '../models';
|
|
16
17
|
/**
|
|
17
18
|
* ProductDocumentsApi - axios parameter creator
|
|
@@ -49,17 +50,17 @@ export declare const ProductDocumentsApiAxiosParamCreator: (configuration?: Conf
|
|
|
49
50
|
*/
|
|
50
51
|
getProductDocument: (productSlug: string, code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
51
52
|
/**
|
|
52
|
-
* 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.
|
|
53
54
|
* @summary List product documents
|
|
54
55
|
* @param {string} productSlug
|
|
55
56
|
* @param {string} [authorization] Bearer Token
|
|
56
57
|
* @param {number} [pageSize] Page size
|
|
57
58
|
* @param {string} [pageToken] Page token
|
|
58
|
-
* @param {string} [filter]
|
|
59
|
+
* @param {string} [filter] 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</i>
|
|
59
60
|
* @param {string} [search] Search query
|
|
60
|
-
* @param {string} [order]
|
|
61
|
+
* @param {string} [order] 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>
|
|
61
62
|
* @param {string} [expand] Extra fields to fetch
|
|
62
|
-
* @param {string} [filters]
|
|
63
|
+
* @param {string} [filters] 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</i>
|
|
63
64
|
* @param {*} [options] Override http request option.
|
|
64
65
|
* @throws {RequiredError}
|
|
65
66
|
*/
|
|
@@ -111,21 +112,21 @@ export declare const ProductDocumentsApiFp: (configuration?: Configuration) => {
|
|
|
111
112
|
*/
|
|
112
113
|
getProductDocument(productSlug: string, code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
113
114
|
/**
|
|
114
|
-
* Returns a list of product documents you have previously created.
|
|
115
|
+
* 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.
|
|
115
116
|
* @summary List product documents
|
|
116
117
|
* @param {string} productSlug
|
|
117
118
|
* @param {string} [authorization] Bearer Token
|
|
118
119
|
* @param {number} [pageSize] Page size
|
|
119
120
|
* @param {string} [pageToken] Page token
|
|
120
|
-
* @param {string} [filter]
|
|
121
|
+
* @param {string} [filter] 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</i>
|
|
121
122
|
* @param {string} [search] Search query
|
|
122
|
-
* @param {string} [order]
|
|
123
|
+
* @param {string} [order] 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>
|
|
123
124
|
* @param {string} [expand] Extra fields to fetch
|
|
124
|
-
* @param {string} [filters]
|
|
125
|
+
* @param {string} [filters] 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</i>
|
|
125
126
|
* @param {*} [options] Override http request option.
|
|
126
127
|
* @throws {RequiredError}
|
|
127
128
|
*/
|
|
128
|
-
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<
|
|
129
|
+
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>>;
|
|
129
130
|
/**
|
|
130
131
|
* Upload a product document.
|
|
131
132
|
* @summary Create the product document
|
|
@@ -173,21 +174,21 @@ export declare const ProductDocumentsApiFactory: (configuration?: Configuration,
|
|
|
173
174
|
*/
|
|
174
175
|
getProductDocument(productSlug: string, code: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
175
176
|
/**
|
|
176
|
-
* Returns a list of product documents you have previously created.
|
|
177
|
+
* 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.
|
|
177
178
|
* @summary List product documents
|
|
178
179
|
* @param {string} productSlug
|
|
179
180
|
* @param {string} [authorization] Bearer Token
|
|
180
181
|
* @param {number} [pageSize] Page size
|
|
181
182
|
* @param {string} [pageToken] Page token
|
|
182
|
-
* @param {string} [filter]
|
|
183
|
+
* @param {string} [filter] 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</i>
|
|
183
184
|
* @param {string} [search] Search query
|
|
184
|
-
* @param {string} [order]
|
|
185
|
+
* @param {string} [order] 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>
|
|
185
186
|
* @param {string} [expand] Extra fields to fetch
|
|
186
|
-
* @param {string} [filters]
|
|
187
|
+
* @param {string} [filters] 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</i>
|
|
187
188
|
* @param {*} [options] Override http request option.
|
|
188
189
|
* @throws {RequiredError}
|
|
189
190
|
*/
|
|
190
|
-
listProductDocuments(productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<
|
|
191
|
+
listProductDocuments(productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListProductDocumentsResponseClass>;
|
|
191
192
|
/**
|
|
192
193
|
* Upload a product document.
|
|
193
194
|
* @summary Create the product document
|
|
@@ -305,7 +306,7 @@ export interface ProductDocumentsApiListProductDocumentsRequest {
|
|
|
305
306
|
*/
|
|
306
307
|
readonly pageToken?: string;
|
|
307
308
|
/**
|
|
308
|
-
*
|
|
309
|
+
* 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</i>
|
|
309
310
|
* @type {string}
|
|
310
311
|
* @memberof ProductDocumentsApiListProductDocuments
|
|
311
312
|
*/
|
|
@@ -317,7 +318,7 @@ export interface ProductDocumentsApiListProductDocumentsRequest {
|
|
|
317
318
|
*/
|
|
318
319
|
readonly search?: string;
|
|
319
320
|
/**
|
|
320
|
-
*
|
|
321
|
+
* 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>
|
|
321
322
|
* @type {string}
|
|
322
323
|
* @memberof ProductDocumentsApiListProductDocuments
|
|
323
324
|
*/
|
|
@@ -329,7 +330,7 @@ export interface ProductDocumentsApiListProductDocumentsRequest {
|
|
|
329
330
|
*/
|
|
330
331
|
readonly expand?: string;
|
|
331
332
|
/**
|
|
332
|
-
*
|
|
333
|
+
* 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</i>
|
|
333
334
|
* @type {string}
|
|
334
335
|
* @memberof ProductDocumentsApiListProductDocuments
|
|
335
336
|
*/
|
|
@@ -395,14 +396,14 @@ export declare class ProductDocumentsApi extends BaseAPI {
|
|
|
395
396
|
*/
|
|
396
397
|
getProductDocument(requestParameters: ProductDocumentsApiGetProductDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
397
398
|
/**
|
|
398
|
-
* Returns a list of product documents you have previously created.
|
|
399
|
+
* 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.
|
|
399
400
|
* @summary List product documents
|
|
400
401
|
* @param {ProductDocumentsApiListProductDocumentsRequest} requestParameters Request parameters.
|
|
401
402
|
* @param {*} [options] Override http request option.
|
|
402
403
|
* @throws {RequiredError}
|
|
403
404
|
* @memberof ProductDocumentsApi
|
|
404
405
|
*/
|
|
405
|
-
listProductDocuments(requestParameters: ProductDocumentsApiListProductDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
406
|
+
listProductDocuments(requestParameters: ProductDocumentsApiListProductDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductDocumentsResponseClass, any>>;
|
|
406
407
|
/**
|
|
407
408
|
* Upload a product document.
|
|
408
409
|
* @summary Create the product document
|
|
@@ -253,17 +253,17 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
253
253
|
});
|
|
254
254
|
},
|
|
255
255
|
/**
|
|
256
|
-
* Returns a list of product documents you have previously created.
|
|
256
|
+
* 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.
|
|
257
257
|
* @summary List product documents
|
|
258
258
|
* @param {string} productSlug
|
|
259
259
|
* @param {string} [authorization] Bearer Token
|
|
260
260
|
* @param {number} [pageSize] Page size
|
|
261
261
|
* @param {string} [pageToken] Page token
|
|
262
|
-
* @param {string} [filter]
|
|
262
|
+
* @param {string} [filter] 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</i>
|
|
263
263
|
* @param {string} [search] Search query
|
|
264
|
-
* @param {string} [order]
|
|
264
|
+
* @param {string} [order] 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>
|
|
265
265
|
* @param {string} [expand] Extra fields to fetch
|
|
266
|
-
* @param {string} [filters]
|
|
266
|
+
* @param {string} [filters] 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</i>
|
|
267
267
|
* @param {*} [options] Override http request option.
|
|
268
268
|
* @throws {RequiredError}
|
|
269
269
|
*/
|
|
@@ -458,17 +458,17 @@ var ProductDocumentsApiFp = function (configuration) {
|
|
|
458
458
|
});
|
|
459
459
|
},
|
|
460
460
|
/**
|
|
461
|
-
* Returns a list of product documents you have previously created.
|
|
461
|
+
* 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.
|
|
462
462
|
* @summary List product documents
|
|
463
463
|
* @param {string} productSlug
|
|
464
464
|
* @param {string} [authorization] Bearer Token
|
|
465
465
|
* @param {number} [pageSize] Page size
|
|
466
466
|
* @param {string} [pageToken] Page token
|
|
467
|
-
* @param {string} [filter]
|
|
467
|
+
* @param {string} [filter] 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</i>
|
|
468
468
|
* @param {string} [search] Search query
|
|
469
|
-
* @param {string} [order]
|
|
469
|
+
* @param {string} [order] 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>
|
|
470
470
|
* @param {string} [expand] Extra fields to fetch
|
|
471
|
-
* @param {string} [filters]
|
|
471
|
+
* @param {string} [filters] 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</i>
|
|
472
472
|
* @param {*} [options] Override http request option.
|
|
473
473
|
* @throws {RequiredError}
|
|
474
474
|
*/
|
|
@@ -554,17 +554,17 @@ var ProductDocumentsApiFactory = function (configuration, basePath, axios) {
|
|
|
554
554
|
return localVarFp.getProductDocument(productSlug, code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
555
555
|
},
|
|
556
556
|
/**
|
|
557
|
-
* Returns a list of product documents you have previously created.
|
|
557
|
+
* 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.
|
|
558
558
|
* @summary List product documents
|
|
559
559
|
* @param {string} productSlug
|
|
560
560
|
* @param {string} [authorization] Bearer Token
|
|
561
561
|
* @param {number} [pageSize] Page size
|
|
562
562
|
* @param {string} [pageToken] Page token
|
|
563
|
-
* @param {string} [filter]
|
|
563
|
+
* @param {string} [filter] 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</i>
|
|
564
564
|
* @param {string} [search] Search query
|
|
565
|
-
* @param {string} [order]
|
|
565
|
+
* @param {string} [order] 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>
|
|
566
566
|
* @param {string} [expand] Extra fields to fetch
|
|
567
|
-
* @param {string} [filters]
|
|
567
|
+
* @param {string} [filters] 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</i>
|
|
568
568
|
* @param {*} [options] Override http request option.
|
|
569
569
|
* @throws {RequiredError}
|
|
570
570
|
*/
|
|
@@ -634,7 +634,7 @@ var ProductDocumentsApi = /** @class */ (function (_super) {
|
|
|
634
634
|
return (0, exports.ProductDocumentsApiFp)(this.configuration).getProductDocument(requestParameters.productSlug, requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
635
635
|
};
|
|
636
636
|
/**
|
|
637
|
-
* Returns a list of product documents you have previously created.
|
|
637
|
+
* 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.
|
|
638
638
|
* @summary List product documents
|
|
639
639
|
* @param {ProductDocumentsApiListProductDocumentsRequest} requestParameters Request parameters.
|
|
640
640
|
* @param {*} [options] Override http request option.
|
package/dist/models/index.d.ts
CHANGED
|
@@ -9,10 +9,12 @@ export * from './delete-request-dto';
|
|
|
9
9
|
export * from './get-layout-request-dto';
|
|
10
10
|
export * from './inline-response200';
|
|
11
11
|
export * from './inline-response503';
|
|
12
|
+
export * from './list-product-documents-response-class';
|
|
12
13
|
export * from './list-request-dto';
|
|
13
14
|
export * from './list-search-keywords-request-dto';
|
|
14
15
|
export * from './list-searchable-document-owners-request-dto';
|
|
15
16
|
export * from './list-searchable-documents-request-dto';
|
|
17
|
+
export * from './product-document-class';
|
|
16
18
|
export * from './shared-update-docx-template-request-dto';
|
|
17
19
|
export * from './update-doc-template-request-dto';
|
|
18
20
|
export * from './update-document-request-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -25,10 +25,12 @@ __exportStar(require("./delete-request-dto"), exports);
|
|
|
25
25
|
__exportStar(require("./get-layout-request-dto"), exports);
|
|
26
26
|
__exportStar(require("./inline-response200"), exports);
|
|
27
27
|
__exportStar(require("./inline-response503"), exports);
|
|
28
|
+
__exportStar(require("./list-product-documents-response-class"), exports);
|
|
28
29
|
__exportStar(require("./list-request-dto"), exports);
|
|
29
30
|
__exportStar(require("./list-search-keywords-request-dto"), exports);
|
|
30
31
|
__exportStar(require("./list-searchable-document-owners-request-dto"), exports);
|
|
31
32
|
__exportStar(require("./list-searchable-documents-request-dto"), exports);
|
|
33
|
+
__exportStar(require("./product-document-class"), exports);
|
|
32
34
|
__exportStar(require("./shared-update-docx-template-request-dto"), exports);
|
|
33
35
|
__exportStar(require("./update-doc-template-request-dto"), exports);
|
|
34
36
|
__exportStar(require("./update-document-request-dto"), exports);
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL DocumentService
|
|
3
|
+
* The EMIL DocumentService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { ProductDocumentClass } from './product-document-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListProductDocumentsResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface ListProductDocumentsResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The list of documents.
|
|
21
|
+
* @type {Array<ProductDocumentClass>}
|
|
22
|
+
* @memberof ListProductDocumentsResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'items': Array<ProductDocumentClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Next page token.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ListProductDocumentsResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'nextPageToken': string;
|
|
31
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL DocumentService
|
|
6
|
+
* The EMIL DocumentService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL DocumentService
|
|
3
|
+
* The EMIL DocumentService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ProductDocumentClass
|
|
16
|
+
*/
|
|
17
|
+
export interface ProductDocumentClass {
|
|
18
|
+
/**
|
|
19
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ProductDocumentClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier for the object.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ProductDocumentClass
|
|
28
|
+
*/
|
|
29
|
+
'code': string;
|
|
30
|
+
/**
|
|
31
|
+
* Unique identifier of the product that this object belongs to.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ProductDocumentClass
|
|
34
|
+
*/
|
|
35
|
+
'productCode': string;
|
|
36
|
+
/**
|
|
37
|
+
* Unique identifier referencing the product.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ProductDocumentClass
|
|
40
|
+
*/
|
|
41
|
+
'productVersionId': number;
|
|
42
|
+
/**
|
|
43
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ProductDocumentClass
|
|
46
|
+
*/
|
|
47
|
+
'slug': string;
|
|
48
|
+
/**
|
|
49
|
+
* Type of the product document.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ProductDocumentClass
|
|
52
|
+
*/
|
|
53
|
+
'type': string;
|
|
54
|
+
/**
|
|
55
|
+
* Description of the document. Usually a short summary about the context in which the document is being used.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof ProductDocumentClass
|
|
58
|
+
*/
|
|
59
|
+
'description': string;
|
|
60
|
+
/**
|
|
61
|
+
* The unique key used by Amazon Simple Storage Service (S3).
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof ProductDocumentClass
|
|
64
|
+
*/
|
|
65
|
+
's3Key': string;
|
|
66
|
+
/**
|
|
67
|
+
* Extension of the file.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof ProductDocumentClass
|
|
70
|
+
*/
|
|
71
|
+
'contentType': ProductDocumentClassContentTypeEnum;
|
|
72
|
+
/**
|
|
73
|
+
* Product Document entity type.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof ProductDocumentClass
|
|
76
|
+
*/
|
|
77
|
+
'entityType': string;
|
|
78
|
+
/**
|
|
79
|
+
* The file name the end user will see when downloading it.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof ProductDocumentClass
|
|
82
|
+
*/
|
|
83
|
+
'filename': string;
|
|
84
|
+
/**
|
|
85
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof ProductDocumentClass
|
|
88
|
+
*/
|
|
89
|
+
'productSlug': string;
|
|
90
|
+
/**
|
|
91
|
+
* The current version number of the product document.
|
|
92
|
+
* @type {number}
|
|
93
|
+
* @memberof ProductDocumentClass
|
|
94
|
+
*/
|
|
95
|
+
'versionNumber': number;
|
|
96
|
+
/**
|
|
97
|
+
* Time at which the object was created.
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof ProductDocumentClass
|
|
100
|
+
*/
|
|
101
|
+
'createdAt': string;
|
|
102
|
+
/**
|
|
103
|
+
* Time at which the object was created.
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof ProductDocumentClass
|
|
106
|
+
*/
|
|
107
|
+
'updated': string;
|
|
108
|
+
}
|
|
109
|
+
export declare const ProductDocumentClassContentTypeEnum: {
|
|
110
|
+
readonly Pdf: "pdf";
|
|
111
|
+
readonly Jpg: "jpg";
|
|
112
|
+
readonly Png: "png";
|
|
113
|
+
readonly Csv: "csv";
|
|
114
|
+
readonly Doc: "doc";
|
|
115
|
+
readonly Docx: "docx";
|
|
116
|
+
};
|
|
117
|
+
export type ProductDocumentClassContentTypeEnum = typeof ProductDocumentClassContentTypeEnum[keyof typeof ProductDocumentClassContentTypeEnum];
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL DocumentService
|
|
6
|
+
* The EMIL DocumentService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ProductDocumentClassContentTypeEnum = void 0;
|
|
17
|
+
exports.ProductDocumentClassContentTypeEnum = {
|
|
18
|
+
Pdf: 'pdf',
|
|
19
|
+
Jpg: 'jpg',
|
|
20
|
+
Png: 'png',
|
|
21
|
+
Csv: 'csv',
|
|
22
|
+
Doc: 'doc',
|
|
23
|
+
Docx: 'docx'
|
|
24
|
+
};
|
package/models/index.ts
CHANGED
|
@@ -9,10 +9,12 @@ export * from './delete-request-dto';
|
|
|
9
9
|
export * from './get-layout-request-dto';
|
|
10
10
|
export * from './inline-response200';
|
|
11
11
|
export * from './inline-response503';
|
|
12
|
+
export * from './list-product-documents-response-class';
|
|
12
13
|
export * from './list-request-dto';
|
|
13
14
|
export * from './list-search-keywords-request-dto';
|
|
14
15
|
export * from './list-searchable-document-owners-request-dto';
|
|
15
16
|
export * from './list-searchable-documents-request-dto';
|
|
17
|
+
export * from './product-document-class';
|
|
16
18
|
export * from './shared-update-docx-template-request-dto';
|
|
17
19
|
export * from './update-doc-template-request-dto';
|
|
18
20
|
export * from './update-document-request-dto';
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL DocumentService
|
|
5
|
+
* The EMIL DocumentService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { ProductDocumentClass } from './product-document-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListProductDocumentsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListProductDocumentsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The list of documents.
|
|
26
|
+
* @type {Array<ProductDocumentClass>}
|
|
27
|
+
* @memberof ListProductDocumentsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<ProductDocumentClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Next page token.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListProductDocumentsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL DocumentService
|
|
5
|
+
* The EMIL DocumentService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface ProductDocumentClass
|
|
21
|
+
*/
|
|
22
|
+
export interface ProductDocumentClass {
|
|
23
|
+
/**
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof ProductDocumentClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier for the object.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof ProductDocumentClass
|
|
33
|
+
*/
|
|
34
|
+
'code': string;
|
|
35
|
+
/**
|
|
36
|
+
* Unique identifier of the product that this object belongs to.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof ProductDocumentClass
|
|
39
|
+
*/
|
|
40
|
+
'productCode': string;
|
|
41
|
+
/**
|
|
42
|
+
* Unique identifier referencing the product.
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof ProductDocumentClass
|
|
45
|
+
*/
|
|
46
|
+
'productVersionId': number;
|
|
47
|
+
/**
|
|
48
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof ProductDocumentClass
|
|
51
|
+
*/
|
|
52
|
+
'slug': string;
|
|
53
|
+
/**
|
|
54
|
+
* Type of the product document.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof ProductDocumentClass
|
|
57
|
+
*/
|
|
58
|
+
'type': string;
|
|
59
|
+
/**
|
|
60
|
+
* Description of the document. Usually a short summary about the context in which the document is being used.
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof ProductDocumentClass
|
|
63
|
+
*/
|
|
64
|
+
'description': string;
|
|
65
|
+
/**
|
|
66
|
+
* The unique key used by Amazon Simple Storage Service (S3).
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof ProductDocumentClass
|
|
69
|
+
*/
|
|
70
|
+
's3Key': string;
|
|
71
|
+
/**
|
|
72
|
+
* Extension of the file.
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof ProductDocumentClass
|
|
75
|
+
*/
|
|
76
|
+
'contentType': ProductDocumentClassContentTypeEnum;
|
|
77
|
+
/**
|
|
78
|
+
* Product Document entity type.
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof ProductDocumentClass
|
|
81
|
+
*/
|
|
82
|
+
'entityType': string;
|
|
83
|
+
/**
|
|
84
|
+
* The file name the end user will see when downloading it.
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof ProductDocumentClass
|
|
87
|
+
*/
|
|
88
|
+
'filename': string;
|
|
89
|
+
/**
|
|
90
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof ProductDocumentClass
|
|
93
|
+
*/
|
|
94
|
+
'productSlug': string;
|
|
95
|
+
/**
|
|
96
|
+
* The current version number of the product document.
|
|
97
|
+
* @type {number}
|
|
98
|
+
* @memberof ProductDocumentClass
|
|
99
|
+
*/
|
|
100
|
+
'versionNumber': number;
|
|
101
|
+
/**
|
|
102
|
+
* Time at which the object was created.
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof ProductDocumentClass
|
|
105
|
+
*/
|
|
106
|
+
'createdAt': string;
|
|
107
|
+
/**
|
|
108
|
+
* Time at which the object was created.
|
|
109
|
+
* @type {string}
|
|
110
|
+
* @memberof ProductDocumentClass
|
|
111
|
+
*/
|
|
112
|
+
'updated': string;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
export const ProductDocumentClassContentTypeEnum = {
|
|
116
|
+
Pdf: 'pdf',
|
|
117
|
+
Jpg: 'jpg',
|
|
118
|
+
Png: 'png',
|
|
119
|
+
Csv: 'csv',
|
|
120
|
+
Doc: 'doc',
|
|
121
|
+
Docx: 'docx'
|
|
122
|
+
} as const;
|
|
123
|
+
|
|
124
|
+
export type ProductDocumentClassContentTypeEnum = typeof ProductDocumentClassContentTypeEnum[keyof typeof ProductDocumentClassContentTypeEnum];
|
|
125
|
+
|
|
126
|
+
|