@emilgroup/document-sdk-node 1.49.1-beta.27 → 1.49.1-beta.28
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 +2 -2
- package/api/document-templates-api.ts +20 -10
- package/api/documents-api.ts +44 -22
- package/api/docx-templates-api.ts +24 -12
- package/api/layouts-api.ts +20 -10
- package/api/product-documents-api.ts +24 -12
- package/api/search-keywords-api.ts +4 -2
- package/api/searchable-document-owners-api.ts +4 -2
- package/api/searchable-documents-api.ts +4 -2
- package/common.ts +3 -2
- package/dist/api/document-templates-api.d.ts +5 -5
- package/dist/api/document-templates-api.js +29 -18
- package/dist/api/documents-api.d.ts +11 -11
- package/dist/api/documents-api.js +68 -41
- package/dist/api/docx-templates-api.d.ts +6 -6
- package/dist/api/docx-templates-api.js +39 -23
- package/dist/api/health-api.d.ts +1 -1
- package/dist/api/layouts-api.d.ts +5 -5
- package/dist/api/layouts-api.js +29 -18
- package/dist/api/product-documents-api.d.ts +6 -6
- package/dist/api/product-documents-api.js +33 -21
- package/dist/api/search-keywords-api.d.ts +1 -1
- package/dist/api/search-keywords-api.js +4 -3
- package/dist/api/searchable-document-owners-api.d.ts +1 -1
- package/dist/api/searchable-document-owners-api.js +4 -3
- package/dist/api/searchable-documents-api.d.ts +1 -1
- package/dist/api/searchable-documents-api.js +4 -3
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -0
- package/package.json +2 -2
|
@@ -113,7 +113,7 @@ var SearchableDocumentOwnersApiAxiosParamCreator = function (configuration) {
|
|
|
113
113
|
listSearchableDocumentOwners: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
114
114
|
if (options === void 0) { options = {}; }
|
|
115
115
|
return __awaiter(_this, void 0, void 0, function () {
|
|
116
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
116
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
117
117
|
return __generator(this, function (_a) {
|
|
118
118
|
switch (_a.label) {
|
|
119
119
|
case 0:
|
|
@@ -154,8 +154,9 @@ var SearchableDocumentOwnersApiAxiosParamCreator = function (configuration) {
|
|
|
154
154
|
if (filters !== undefined) {
|
|
155
155
|
localVarQueryParameter['filters'] = filters;
|
|
156
156
|
}
|
|
157
|
-
|
|
158
|
-
|
|
157
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
158
|
+
if (authorizationValue) {
|
|
159
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
159
160
|
}
|
|
160
161
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
161
162
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -110,5 +110,5 @@ export declare class SearchableDocumentsApi extends BaseAPI {
|
|
|
110
110
|
* @throws {RequiredError}
|
|
111
111
|
* @memberof SearchableDocumentsApi
|
|
112
112
|
*/
|
|
113
|
-
listSearchableDocuments(requestParameters: SearchableDocumentsApiListSearchableDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListSearchableDocumentsResponseClass, any, {}>>;
|
|
113
|
+
listSearchableDocuments(requestParameters: SearchableDocumentsApiListSearchableDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListSearchableDocumentsResponseClass, any, {}, any>>;
|
|
114
114
|
}
|
|
@@ -109,7 +109,7 @@ var SearchableDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
109
109
|
listSearchableDocuments: function (searchText, ownerIds, authorization, product, options) {
|
|
110
110
|
if (options === void 0) { options = {}; }
|
|
111
111
|
return __awaiter(_this, void 0, void 0, function () {
|
|
112
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
112
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
113
113
|
return __generator(this, function (_a) {
|
|
114
114
|
switch (_a.label) {
|
|
115
115
|
case 0:
|
|
@@ -142,8 +142,9 @@ var SearchableDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
142
142
|
if (product !== undefined) {
|
|
143
143
|
localVarQueryParameter['product'] = product;
|
|
144
144
|
}
|
|
145
|
-
|
|
146
|
-
|
|
145
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
146
|
+
if (authorizationValue) {
|
|
147
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
147
148
|
}
|
|
148
149
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
149
150
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
package/dist/common.d.ts
CHANGED
|
@@ -63,7 +63,7 @@ export declare const toPathString: (url: URL) => string;
|
|
|
63
63
|
*
|
|
64
64
|
* @export
|
|
65
65
|
*/
|
|
66
|
-
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any, {}>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
66
|
+
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any, {}, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
67
67
|
/**
|
|
68
68
|
* EMIL DocumentService
|
|
69
69
|
* The EMIL DocumentService API description
|
package/dist/common.js
CHANGED
|
@@ -234,6 +234,7 @@ exports.toPathString = toPathString;
|
|
|
234
234
|
* @export
|
|
235
235
|
*/
|
|
236
236
|
var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
237
|
+
// Typed by hand: since axios 1.20, request() returns an internal axios type that SDK declarations cannot name.
|
|
237
238
|
return function (axios, basePath) {
|
|
238
239
|
if (axios === void 0) { axios = globalAxios; }
|
|
239
240
|
if (basePath === void 0) { basePath = BASE_PATH; }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/document-sdk-node",
|
|
3
|
-
"version": "1.49.1-beta.
|
|
3
|
+
"version": "1.49.1-beta.28",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/document-sdk-node",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"prepare": "npm run build"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"axios": "1.
|
|
21
|
+
"axios": "1.20.0",
|
|
22
22
|
"form-data": "^4.0.0",
|
|
23
23
|
"url": "^0.11.0"
|
|
24
24
|
},
|