@emilgroup/document-sdk 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@1.
|
|
20
|
+
npm install @emilgroup/document-sdk@1.6.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/document-sdk@1.
|
|
24
|
+
yarn add @emilgroup/document-sdk@1.6.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `DocumentsApi`.
|
|
@@ -86,7 +86,8 @@ export const ProductDocumentsApiAxiosParamCreator = function (configuration?: Co
|
|
|
86
86
|
};
|
|
87
87
|
},
|
|
88
88
|
/**
|
|
89
|
-
*
|
|
89
|
+
* Get a pre-signed download url for the given product document.
|
|
90
|
+
* @summary Get pre-signed url for downloading product document
|
|
90
91
|
* @param {string} productSlug
|
|
91
92
|
* @param {string} code
|
|
92
93
|
* @param {string} [authorization] Bearer Token
|
|
@@ -332,7 +333,8 @@ export const ProductDocumentsApiFp = function(configuration?: Configuration) {
|
|
|
332
333
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
333
334
|
},
|
|
334
335
|
/**
|
|
335
|
-
*
|
|
336
|
+
* Get a pre-signed download url for the given product document.
|
|
337
|
+
* @summary Get pre-signed url for downloading product document
|
|
336
338
|
* @param {string} productSlug
|
|
337
339
|
* @param {string} code
|
|
338
340
|
* @param {string} [authorization] Bearer Token
|
|
@@ -410,7 +412,8 @@ export const ProductDocumentsApiFactory = function (configuration?: Configuratio
|
|
|
410
412
|
return localVarFp.deleteProductDocument(code, productSlug, authorization, options).then((request) => request(axios, basePath));
|
|
411
413
|
},
|
|
412
414
|
/**
|
|
413
|
-
*
|
|
415
|
+
* Get a pre-signed download url for the given product document.
|
|
416
|
+
* @summary Get pre-signed url for downloading product document
|
|
414
417
|
* @param {string} productSlug
|
|
415
418
|
* @param {string} code
|
|
416
419
|
* @param {string} [authorization] Bearer Token
|
|
@@ -659,7 +662,8 @@ export class ProductDocumentsApi extends BaseAPI {
|
|
|
659
662
|
}
|
|
660
663
|
|
|
661
664
|
/**
|
|
662
|
-
*
|
|
665
|
+
* Get a pre-signed download url for the given product document.
|
|
666
|
+
* @summary Get pre-signed url for downloading product document
|
|
663
667
|
* @param {ProductDocumentsApiDownloadProductDocumentRequest} requestParameters Request parameters.
|
|
664
668
|
* @param {*} [options] Override http request option.
|
|
665
669
|
* @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}
|
|
@@ -145,7 +145,8 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
145
145
|
});
|
|
146
146
|
},
|
|
147
147
|
/**
|
|
148
|
-
*
|
|
148
|
+
* Get a pre-signed download url for the given product document.
|
|
149
|
+
* @summary Get pre-signed url for downloading product document
|
|
149
150
|
* @param {string} productSlug
|
|
150
151
|
* @param {string} code
|
|
151
152
|
* @param {string} [authorization] Bearer Token
|
|
@@ -405,7 +406,8 @@ var ProductDocumentsApiFp = function (configuration) {
|
|
|
405
406
|
});
|
|
406
407
|
},
|
|
407
408
|
/**
|
|
408
|
-
*
|
|
409
|
+
* Get a pre-signed download url for the given product document.
|
|
410
|
+
* @summary Get pre-signed url for downloading product document
|
|
409
411
|
* @param {string} productSlug
|
|
410
412
|
* @param {string} code
|
|
411
413
|
* @param {string} [authorization] Bearer Token
|
|
@@ -519,7 +521,8 @@ var ProductDocumentsApiFactory = function (configuration, basePath, axios) {
|
|
|
519
521
|
return localVarFp.deleteProductDocument(code, productSlug, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
520
522
|
},
|
|
521
523
|
/**
|
|
522
|
-
*
|
|
524
|
+
* Get a pre-signed download url for the given product document.
|
|
525
|
+
* @summary Get pre-signed url for downloading product document
|
|
523
526
|
* @param {string} productSlug
|
|
524
527
|
* @param {string} code
|
|
525
528
|
* @param {string} [authorization] Bearer Token
|
|
@@ -597,7 +600,8 @@ var ProductDocumentsApi = /** @class */ (function (_super) {
|
|
|
597
600
|
return (0, exports.ProductDocumentsApiFp)(this.configuration).deleteProductDocument(requestParameters.code, requestParameters.productSlug, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
598
601
|
};
|
|
599
602
|
/**
|
|
600
|
-
*
|
|
603
|
+
* Get a pre-signed download url for the given product document.
|
|
604
|
+
* @summary Get pre-signed url for downloading product document
|
|
601
605
|
* @param {ProductDocumentsApiDownloadProductDocumentRequest} requestParameters Request parameters.
|
|
602
606
|
* @param {*} [options] Override http request option.
|
|
603
607
|
* @throws {RequiredError}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/document-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
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": "^0.27.2"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
+
|
|
24
25
|
"typescript": "^4.0"
|
|
25
26
|
}
|
|
26
27
|
}
|