@emilgroup/document-sdk 1.43.0 → 1.44.1-beta.8

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 CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/document-sdk@1.43.0 --save
20
+ npm install @emilgroup/document-sdk@1.44.1-beta.8 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/document-sdk@1.43.0
24
+ yarn add @emilgroup/document-sdk@1.44.1-beta.8
25
25
  ```
26
26
 
27
27
  And then you can import `DocumentsApi`.
@@ -189,17 +189,17 @@ export const ProductDocumentsApiAxiosParamCreator = function (configuration?: Co
189
189
  };
190
190
  },
191
191
  /**
192
- * 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\"
192
+ * 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\"
193
193
  * @summary List product documents
194
194
  * @param {string} productSlug
195
195
  * @param {string} [authorization] Bearer Token
196
196
  * @param {number} [pageSize] Page size
197
197
  * @param {string} [pageToken] Page token
198
- * @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, slug</i>
198
+ * @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, slug</i>
199
199
  * @param {string} [search] Search query
200
200
  * @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>
201
201
  * @param {string} [expand] 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/>
202
- * @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, slug</i>
202
+ * @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, slug</i>
203
203
  * @param {*} [options] Override http request option.
204
204
  * @throws {RequiredError}
205
205
  */
@@ -370,17 +370,17 @@ export const ProductDocumentsApiFp = function(configuration?: Configuration) {
370
370
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
371
371
  },
372
372
  /**
373
- * 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\"
373
+ * 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\"
374
374
  * @summary List product documents
375
375
  * @param {string} productSlug
376
376
  * @param {string} [authorization] Bearer Token
377
377
  * @param {number} [pageSize] Page size
378
378
  * @param {string} [pageToken] Page token
379
- * @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, slug</i>
379
+ * @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, slug</i>
380
380
  * @param {string} [search] Search query
381
381
  * @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>
382
382
  * @param {string} [expand] 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/>
383
- * @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, slug</i>
383
+ * @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, slug</i>
384
384
  * @param {*} [options] Override http request option.
385
385
  * @throws {RequiredError}
386
386
  */
@@ -449,17 +449,17 @@ export const ProductDocumentsApiFactory = function (configuration?: Configuratio
449
449
  return localVarFp.getProductDocument(productSlug, code, authorization, options).then((request) => request(axios, basePath));
450
450
  },
451
451
  /**
452
- * 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\"
452
+ * 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\"
453
453
  * @summary List product documents
454
454
  * @param {string} productSlug
455
455
  * @param {string} [authorization] Bearer Token
456
456
  * @param {number} [pageSize] Page size
457
457
  * @param {string} [pageToken] Page token
458
- * @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, slug</i>
458
+ * @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, slug</i>
459
459
  * @param {string} [search] Search query
460
460
  * @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>
461
461
  * @param {string} [expand] 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/>
462
- * @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, slug</i>
462
+ * @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, slug</i>
463
463
  * @param {*} [options] Override http request option.
464
464
  * @throws {RequiredError}
465
465
  */
@@ -607,7 +607,7 @@ export interface ProductDocumentsApiListProductDocumentsRequest {
607
607
  readonly pageToken?: string
608
608
 
609
609
  /**
610
- * 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>
610
+ * 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>
611
611
  * @type {string}
612
612
  * @memberof ProductDocumentsApiListProductDocuments
613
613
  */
@@ -635,7 +635,7 @@ export interface ProductDocumentsApiListProductDocumentsRequest {
635
635
  readonly expand?: string
636
636
 
637
637
  /**
638
- * 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>
638
+ * 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>
639
639
  * @type {string}
640
640
  * @memberof ProductDocumentsApiListProductDocuments
641
641
  */
@@ -714,7 +714,7 @@ export class ProductDocumentsApi extends BaseAPI {
714
714
  }
715
715
 
716
716
  /**
717
- * 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\"
717
+ * 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\"
718
718
  * @summary List product documents
719
719
  * @param {ProductDocumentsApiListProductDocumentsRequest} requestParameters Request parameters.
720
720
  * @param {*} [options] Override http request option.
@@ -54,17 +54,17 @@ export declare const ProductDocumentsApiAxiosParamCreator: (configuration?: Conf
54
54
  */
55
55
  getProductDocument: (productSlug: string, code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
56
56
  /**
57
- * 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\"
57
+ * 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\"
58
58
  * @summary List product documents
59
59
  * @param {string} productSlug
60
60
  * @param {string} [authorization] Bearer Token
61
61
  * @param {number} [pageSize] Page size
62
62
  * @param {string} [pageToken] Page token
63
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, productSlug, productCode, type, createdAt, slug&lt;/i&gt;
63
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, productSlug, productCode, type, createdAt, slug&lt;/i&gt;
64
64
  * @param {string} [search] Search query
65
65
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, filename&lt;/i&gt;
66
66
  * @param {string} [expand] 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.&lt;br/&gt; &lt;br/&gt;
67
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, productSlug, productCode, type, createdAt, slug&lt;/i&gt;
67
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, productSlug, productCode, type, createdAt, slug&lt;/i&gt;
68
68
  * @param {*} [options] Override http request option.
69
69
  * @throws {RequiredError}
70
70
  */
@@ -117,17 +117,17 @@ export declare const ProductDocumentsApiFp: (configuration?: Configuration) => {
117
117
  */
118
118
  getProductDocument(productSlug: string, code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductDocumentResponseClass>>;
119
119
  /**
120
- * 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\"
120
+ * 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\"
121
121
  * @summary List product documents
122
122
  * @param {string} productSlug
123
123
  * @param {string} [authorization] Bearer Token
124
124
  * @param {number} [pageSize] Page size
125
125
  * @param {string} [pageToken] Page token
126
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, productSlug, productCode, type, createdAt, slug&lt;/i&gt;
126
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, productSlug, productCode, type, createdAt, slug&lt;/i&gt;
127
127
  * @param {string} [search] Search query
128
128
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, filename&lt;/i&gt;
129
129
  * @param {string} [expand] 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.&lt;br/&gt; &lt;br/&gt;
130
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, productSlug, productCode, type, createdAt, slug&lt;/i&gt;
130
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, productSlug, productCode, type, createdAt, slug&lt;/i&gt;
131
131
  * @param {*} [options] Override http request option.
132
132
  * @throws {RequiredError}
133
133
  */
@@ -180,17 +180,17 @@ export declare const ProductDocumentsApiFactory: (configuration?: Configuration,
180
180
  */
181
181
  getProductDocument(productSlug: string, code: string, authorization?: string, options?: any): AxiosPromise<GetProductDocumentResponseClass>;
182
182
  /**
183
- * 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\"
183
+ * 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\"
184
184
  * @summary List product documents
185
185
  * @param {string} productSlug
186
186
  * @param {string} [authorization] Bearer Token
187
187
  * @param {number} [pageSize] Page size
188
188
  * @param {string} [pageToken] Page token
189
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, productSlug, productCode, type, createdAt, slug&lt;/i&gt;
189
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, productSlug, productCode, type, createdAt, slug&lt;/i&gt;
190
190
  * @param {string} [search] Search query
191
191
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, filename&lt;/i&gt;
192
192
  * @param {string} [expand] 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.&lt;br/&gt; &lt;br/&gt;
193
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, productSlug, productCode, type, createdAt, slug&lt;/i&gt;
193
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, productSlug, productCode, type, createdAt, slug&lt;/i&gt;
194
194
  * @param {*} [options] Override http request option.
195
195
  * @throws {RequiredError}
196
196
  */
@@ -318,7 +318,7 @@ export interface ProductDocumentsApiListProductDocumentsRequest {
318
318
  */
319
319
  readonly pageToken?: string;
320
320
  /**
321
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, productSlug, productCode, type, createdAt, slug&lt;/i&gt;
321
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, productSlug, productCode, type, createdAt, slug&lt;/i&gt;
322
322
  * @type {string}
323
323
  * @memberof ProductDocumentsApiListProductDocuments
324
324
  */
@@ -342,7 +342,7 @@ export interface ProductDocumentsApiListProductDocumentsRequest {
342
342
  */
343
343
  readonly expand?: string;
344
344
  /**
345
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, productSlug, productCode, type, createdAt, slug&lt;/i&gt;
345
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, productSlug, productCode, type, createdAt, slug&lt;/i&gt;
346
346
  * @type {string}
347
347
  * @memberof ProductDocumentsApiListProductDocuments
348
348
  */
@@ -408,7 +408,7 @@ export declare class ProductDocumentsApi extends BaseAPI {
408
408
  */
409
409
  getProductDocument(requestParameters: ProductDocumentsApiGetProductDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductDocumentResponseClass, any, {}>>;
410
410
  /**
411
- * 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\"
411
+ * 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\"
412
412
  * @summary List product documents
413
413
  * @param {ProductDocumentsApiListProductDocumentsRequest} requestParameters Request parameters.
414
414
  * @param {*} [options] Override http request option.
@@ -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. 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\"
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. **Required Permissions** \"document-management.documents.view\"
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] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, productSlug, productCode, type, createdAt, slug&lt;/i&gt;
262
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, productSlug, productCode, type, createdAt, slug&lt;/i&gt;
263
263
  * @param {string} [search] Search query
264
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, filename&lt;/i&gt;
265
265
  * @param {string} [expand] 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.&lt;br/&gt; &lt;br/&gt;
266
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, productSlug, productCode, type, createdAt, slug&lt;/i&gt;
266
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, productSlug, productCode, type, createdAt, slug&lt;/i&gt;
267
267
  * @param {*} [options] Override http request option.
268
268
  * @throws {RequiredError}
269
269
  */
@@ -459,17 +459,17 @@ var ProductDocumentsApiFp = function (configuration) {
459
459
  });
460
460
  },
461
461
  /**
462
- * 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\"
462
+ * 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\"
463
463
  * @summary List product documents
464
464
  * @param {string} productSlug
465
465
  * @param {string} [authorization] Bearer Token
466
466
  * @param {number} [pageSize] Page size
467
467
  * @param {string} [pageToken] Page token
468
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, productSlug, productCode, type, createdAt, slug&lt;/i&gt;
468
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, productSlug, productCode, type, createdAt, slug&lt;/i&gt;
469
469
  * @param {string} [search] Search query
470
470
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, filename&lt;/i&gt;
471
471
  * @param {string} [expand] 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.&lt;br/&gt; &lt;br/&gt;
472
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, productSlug, productCode, type, createdAt, slug&lt;/i&gt;
472
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, productSlug, productCode, type, createdAt, slug&lt;/i&gt;
473
473
  * @param {*} [options] Override http request option.
474
474
  * @throws {RequiredError}
475
475
  */
@@ -556,17 +556,17 @@ var ProductDocumentsApiFactory = function (configuration, basePath, axios) {
556
556
  return localVarFp.getProductDocument(productSlug, code, authorization, options).then(function (request) { return request(axios, basePath); });
557
557
  },
558
558
  /**
559
- * 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\"
559
+ * 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\"
560
560
  * @summary List product documents
561
561
  * @param {string} productSlug
562
562
  * @param {string} [authorization] Bearer Token
563
563
  * @param {number} [pageSize] Page size
564
564
  * @param {string} [pageToken] Page token
565
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, productSlug, productCode, type, createdAt, slug&lt;/i&gt;
565
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, productSlug, productCode, type, createdAt, slug&lt;/i&gt;
566
566
  * @param {string} [search] Search query
567
567
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, filename&lt;/i&gt;
568
568
  * @param {string} [expand] 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.&lt;br/&gt; &lt;br/&gt;
569
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, productSlug, productCode, type, createdAt, slug&lt;/i&gt;
569
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, productSlug, productCode, type, createdAt, slug&lt;/i&gt;
570
570
  * @param {*} [options] Override http request option.
571
571
  * @throws {RequiredError}
572
572
  */
@@ -636,7 +636,7 @@ var ProductDocumentsApi = /** @class */ (function (_super) {
636
636
  return (0, exports.ProductDocumentsApiFp)(this.configuration).getProductDocument(requestParameters.productSlug, requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
637
637
  };
638
638
  /**
639
- * 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\"
639
+ * 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\"
640
640
  * @summary List product documents
641
641
  * @param {ProductDocumentsApiListProductDocumentsRequest} requestParameters Request parameters.
642
642
  * @param {*} [options] Override http request option.
@@ -69,6 +69,12 @@ export interface CreateDocumentRequestDto {
69
69
  * @memberof CreateDocumentRequestDto
70
70
  */
71
71
  'entityId'?: number;
72
+ /**
73
+ * Unique identifier of the entity that this object belongs to.
74
+ * @type {string}
75
+ * @memberof CreateDocumentRequestDto
76
+ */
77
+ 'entityCode'?: string;
72
78
  /**
73
79
  * Identifier of the service that requested the creation of this document.
74
80
  * @type {string}
@@ -33,6 +33,12 @@ export interface CreatePresignedPostRequestDto {
33
33
  * @memberof CreatePresignedPostRequestDto
34
34
  */
35
35
  'entityId': number;
36
+ /**
37
+ * Unique identifier of the entity that this object belongs to.
38
+ * @type {string}
39
+ * @memberof CreatePresignedPostRequestDto
40
+ */
41
+ 'entityCode'?: string;
36
42
  /**
37
43
  * Description of the document. Usually a short summary about the context in which the document is being used.
38
44
  * @type {string}
@@ -69,6 +69,12 @@ export interface DocumentClass {
69
69
  * @memberof DocumentClass
70
70
  */
71
71
  'entityId'?: number;
72
+ /**
73
+ * Unique identifier of the entity that this object belongs to.
74
+ * @type {string}
75
+ * @memberof DocumentClass
76
+ */
77
+ 'entityCode'?: string;
72
78
  /**
73
79
  * Identifier of the service that requested the creation of this document.
74
80
  * @type {string}
@@ -74,6 +74,12 @@ export interface CreateDocumentRequestDto {
74
74
  * @memberof CreateDocumentRequestDto
75
75
  */
76
76
  'entityId'?: number;
77
+ /**
78
+ * Unique identifier of the entity that this object belongs to.
79
+ * @type {string}
80
+ * @memberof CreateDocumentRequestDto
81
+ */
82
+ 'entityCode'?: string;
77
83
  /**
78
84
  * Identifier of the service that requested the creation of this document.
79
85
  * @type {string}
@@ -38,6 +38,12 @@ export interface CreatePresignedPostRequestDto {
38
38
  * @memberof CreatePresignedPostRequestDto
39
39
  */
40
40
  'entityId': number;
41
+ /**
42
+ * Unique identifier of the entity that this object belongs to.
43
+ * @type {string}
44
+ * @memberof CreatePresignedPostRequestDto
45
+ */
46
+ 'entityCode'?: string;
41
47
  /**
42
48
  * Description of the document. Usually a short summary about the context in which the document is being used.
43
49
  * @type {string}
@@ -74,6 +74,12 @@ export interface DocumentClass {
74
74
  * @memberof DocumentClass
75
75
  */
76
76
  'entityId'?: number;
77
+ /**
78
+ * Unique identifier of the entity that this object belongs to.
79
+ * @type {string}
80
+ * @memberof DocumentClass
81
+ */
82
+ 'entityCode'?: string;
77
83
  /**
78
84
  * Identifier of the service that requested the creation of this document.
79
85
  * @type {string}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/document-sdk",
3
- "version": "1.43.0",
3
+ "version": "1.44.1-beta.8",
4
4
  "description": "OpenAPI client for @emilgroup/document-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -21,6 +21,7 @@
21
21
  "axios": "^1.12.0"
22
22
  },
23
23
  "devDependencies": {
24
+
24
25
  "typescript": "^4.0"
25
26
  }
26
27
  }