@emilgroup/document-sdk-node 1.5.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
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.6.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.6.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `DocumentsApi`.
|
|
@@ -90,7 +90,8 @@ export const ProductDocumentsApiAxiosParamCreator = function (configuration?: Co
|
|
|
90
90
|
};
|
|
91
91
|
},
|
|
92
92
|
/**
|
|
93
|
-
*
|
|
93
|
+
* Get a pre-signed download url for the given product document.
|
|
94
|
+
* @summary Get pre-signed url for downloading product document
|
|
94
95
|
* @param {string} productSlug
|
|
95
96
|
* @param {string} code
|
|
96
97
|
* @param {string} [authorization] Bearer Token
|
|
@@ -336,7 +337,8 @@ export const ProductDocumentsApiFp = function(configuration?: Configuration) {
|
|
|
336
337
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
337
338
|
},
|
|
338
339
|
/**
|
|
339
|
-
*
|
|
340
|
+
* Get a pre-signed download url for the given product document.
|
|
341
|
+
* @summary Get pre-signed url for downloading product document
|
|
340
342
|
* @param {string} productSlug
|
|
341
343
|
* @param {string} code
|
|
342
344
|
* @param {string} [authorization] Bearer Token
|
|
@@ -414,7 +416,8 @@ export const ProductDocumentsApiFactory = function (configuration?: Configuratio
|
|
|
414
416
|
return localVarFp.deleteProductDocument(code, productSlug, authorization, options).then((request) => request(axios, basePath));
|
|
415
417
|
},
|
|
416
418
|
/**
|
|
417
|
-
*
|
|
419
|
+
* Get a pre-signed download url for the given product document.
|
|
420
|
+
* @summary Get pre-signed url for downloading product document
|
|
418
421
|
* @param {string} productSlug
|
|
419
422
|
* @param {string} code
|
|
420
423
|
* @param {string} [authorization] Bearer Token
|
|
@@ -663,7 +666,8 @@ export class ProductDocumentsApi extends BaseAPI {
|
|
|
663
666
|
}
|
|
664
667
|
|
|
665
668
|
/**
|
|
666
|
-
*
|
|
669
|
+
* Get a pre-signed download url for the given product document.
|
|
670
|
+
* @summary Get pre-signed url for downloading product document
|
|
667
671
|
* @param {ProductDocumentsApiDownloadProductDocumentRequest} requestParameters Request parameters.
|
|
668
672
|
* @param {*} [options] Override http request option.
|
|
669
673
|
* @throws {RequiredError}
|
|
@@ -33,7 +33,8 @@ export declare const ProductDocumentsApiAxiosParamCreator: (configuration?: Conf
|
|
|
33
33
|
*/
|
|
34
34
|
deleteProductDocument: (code: string, productSlug: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* Get a pre-signed download url for the given product document.
|
|
37
|
+
* @summary Get pre-signed url for downloading product document
|
|
37
38
|
* @param {string} productSlug
|
|
38
39
|
* @param {string} code
|
|
39
40
|
* @param {string} [authorization] Bearer Token
|
|
@@ -93,7 +94,8 @@ export declare const ProductDocumentsApiFp: (configuration?: Configuration) => {
|
|
|
93
94
|
*/
|
|
94
95
|
deleteProductDocument(code: string, productSlug: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
95
96
|
/**
|
|
96
|
-
*
|
|
97
|
+
* Get a pre-signed download url for the given product document.
|
|
98
|
+
* @summary Get pre-signed url for downloading product document
|
|
97
99
|
* @param {string} productSlug
|
|
98
100
|
* @param {string} code
|
|
99
101
|
* @param {string} [authorization] Bearer Token
|
|
@@ -153,7 +155,8 @@ export declare const ProductDocumentsApiFactory: (configuration?: Configuration,
|
|
|
153
155
|
*/
|
|
154
156
|
deleteProductDocument(code: string, productSlug: string, authorization?: string, options?: any): AxiosPromise<object>;
|
|
155
157
|
/**
|
|
156
|
-
*
|
|
158
|
+
* Get a pre-signed download url for the given product document.
|
|
159
|
+
* @summary Get pre-signed url for downloading product document
|
|
157
160
|
* @param {string} productSlug
|
|
158
161
|
* @param {string} code
|
|
159
162
|
* @param {string} [authorization] Bearer Token
|
|
@@ -369,7 +372,8 @@ export declare class ProductDocumentsApi extends BaseAPI {
|
|
|
369
372
|
*/
|
|
370
373
|
deleteProductDocument(requestParameters: ProductDocumentsApiDeleteProductDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
371
374
|
/**
|
|
372
|
-
*
|
|
375
|
+
* Get a pre-signed download url for the given product document.
|
|
376
|
+
* @summary Get pre-signed url for downloading product document
|
|
373
377
|
* @param {ProductDocumentsApiDownloadProductDocumentRequest} requestParameters Request parameters.
|
|
374
378
|
* @param {*} [options] Override http request option.
|
|
375
379
|
* @throws {RequiredError}
|
|
@@ -149,7 +149,8 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
149
149
|
});
|
|
150
150
|
},
|
|
151
151
|
/**
|
|
152
|
-
*
|
|
152
|
+
* Get a pre-signed download url for the given product document.
|
|
153
|
+
* @summary Get pre-signed url for downloading product document
|
|
153
154
|
* @param {string} productSlug
|
|
154
155
|
* @param {string} code
|
|
155
156
|
* @param {string} [authorization] Bearer Token
|
|
@@ -409,7 +410,8 @@ var ProductDocumentsApiFp = function (configuration) {
|
|
|
409
410
|
});
|
|
410
411
|
},
|
|
411
412
|
/**
|
|
412
|
-
*
|
|
413
|
+
* Get a pre-signed download url for the given product document.
|
|
414
|
+
* @summary Get pre-signed url for downloading product document
|
|
413
415
|
* @param {string} productSlug
|
|
414
416
|
* @param {string} code
|
|
415
417
|
* @param {string} [authorization] Bearer Token
|
|
@@ -523,7 +525,8 @@ var ProductDocumentsApiFactory = function (configuration, basePath, axios) {
|
|
|
523
525
|
return localVarFp.deleteProductDocument(code, productSlug, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
524
526
|
},
|
|
525
527
|
/**
|
|
526
|
-
*
|
|
528
|
+
* Get a pre-signed download url for the given product document.
|
|
529
|
+
* @summary Get pre-signed url for downloading product document
|
|
527
530
|
* @param {string} productSlug
|
|
528
531
|
* @param {string} code
|
|
529
532
|
* @param {string} [authorization] Bearer Token
|
|
@@ -601,7 +604,8 @@ var ProductDocumentsApi = /** @class */ (function (_super) {
|
|
|
601
604
|
return (0, exports.ProductDocumentsApiFp)(this.configuration).deleteProductDocument(requestParameters.code, requestParameters.productSlug, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
602
605
|
};
|
|
603
606
|
/**
|
|
604
|
-
*
|
|
607
|
+
* Get a pre-signed download url for the given product document.
|
|
608
|
+
* @summary Get pre-signed url for downloading product document
|
|
605
609
|
* @param {ProductDocumentsApiDownloadProductDocumentRequest} requestParameters Request parameters.
|
|
606
610
|
* @param {*} [options] Override http request option.
|
|
607
611
|
* @throws {RequiredError}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/document-sdk-node",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/document-sdk-node",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"url": "^0.11.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
|
|
26
|
+
"@types/node": "^12.11.5",
|
|
27
27
|
"typescript": "^4.0"
|
|
28
28
|
}
|
|
29
29
|
}
|