@emilgroup/document-sdk 1.40.0 → 1.40.1-beta.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 +2 -2
- package/base.ts +1 -1
- package/dist/api/default-api.js +18 -5
- package/dist/api/document-templates-api.js +46 -17
- package/dist/api/documents-api.d.ts +6 -6
- package/dist/api/documents-api.js +67 -26
- package/dist/api/docx-templates-api.js +53 -20
- package/dist/api/layouts-api.js +46 -17
- package/dist/api/product-documents-api.d.ts +3 -3
- package/dist/api/product-documents-api.js +46 -17
- package/dist/api/search-keywords-api.js +18 -5
- package/dist/api/searchable-document-owners-api.js +18 -5
- package/dist/api/searchable-documents-api.d.ts +3 -3
- package/dist/api/searchable-documents-api.js +18 -5
- package/dist/base.js +5 -5
- package/dist/common.d.ts +1 -1
- package/dist/common.js +2 -2
- package/package.json +3 -3
- package/tsconfig.json +1 -0
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.40.0 --save
|
|
20
|
+
npm install @emilgroup/document-sdk@1.40.1-beta.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/document-sdk@1.40.0
|
|
24
|
+
yarn add @emilgroup/document-sdk@1.40.1-beta.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `DocumentsApi`.
|
package/base.ts
CHANGED
|
@@ -270,7 +270,7 @@ export class BaseAPI {
|
|
|
270
270
|
* @extends {Error}
|
|
271
271
|
*/
|
|
272
272
|
export class RequiredError extends Error {
|
|
273
|
-
name: "RequiredError" = "RequiredError";
|
|
273
|
+
override name: "RequiredError" = "RequiredError";
|
|
274
274
|
constructor(public field: string, msg?: string) {
|
|
275
275
|
super(msg);
|
|
276
276
|
}
|
package/dist/api/default-api.js
CHANGED
|
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
50
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
51
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
52
|
-
return g =
|
|
51
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
52
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
53
53
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
54
|
function step(op) {
|
|
55
55
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -74,6 +74,15 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
74
74
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
78
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
79
|
+
if (ar || !(i in from)) {
|
|
80
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
81
|
+
ar[i] = from[i];
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
|
+
};
|
|
77
86
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
78
87
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
88
|
};
|
|
@@ -98,10 +107,14 @@ var DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
98
107
|
* @param {*} [options] Override http request option.
|
|
99
108
|
* @throws {RequiredError}
|
|
100
109
|
*/
|
|
101
|
-
check: function (
|
|
102
|
-
|
|
103
|
-
|
|
110
|
+
check: function () {
|
|
111
|
+
var args_1 = [];
|
|
112
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
113
|
+
args_1[_i] = arguments[_i];
|
|
114
|
+
}
|
|
115
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
104
116
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
117
|
+
if (options === void 0) { options = {}; }
|
|
105
118
|
return __generator(this, function (_a) {
|
|
106
119
|
localVarPath = "/documentservice/health";
|
|
107
120
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
50
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
51
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
52
|
-
return g =
|
|
51
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
52
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
53
53
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
54
|
function step(op) {
|
|
55
55
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -74,6 +74,15 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
74
74
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
78
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
79
|
+
if (ar || !(i in from)) {
|
|
80
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
81
|
+
ar[i] = from[i];
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
|
+
};
|
|
77
86
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
78
87
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
88
|
};
|
|
@@ -100,10 +109,14 @@ var DocumentTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
100
109
|
* @param {*} [options] Override http request option.
|
|
101
110
|
* @throws {RequiredError}
|
|
102
111
|
*/
|
|
103
|
-
createDocTemplate: function (
|
|
104
|
-
|
|
105
|
-
|
|
112
|
+
createDocTemplate: function (createDocTemplateRequestDto_1, authorization_1) {
|
|
113
|
+
var args_1 = [];
|
|
114
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
115
|
+
args_1[_i - 2] = arguments[_i];
|
|
116
|
+
}
|
|
117
|
+
return __awaiter(_this, __spreadArray([createDocTemplateRequestDto_1, authorization_1], args_1, true), void 0, function (createDocTemplateRequestDto, authorization, options) {
|
|
106
118
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
119
|
+
if (options === void 0) { options = {}; }
|
|
107
120
|
return __generator(this, function (_a) {
|
|
108
121
|
switch (_a.label) {
|
|
109
122
|
case 0:
|
|
@@ -149,10 +162,14 @@ var DocumentTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
149
162
|
* @param {*} [options] Override http request option.
|
|
150
163
|
* @throws {RequiredError}
|
|
151
164
|
*/
|
|
152
|
-
deleteDocTemplate: function (
|
|
153
|
-
|
|
154
|
-
|
|
165
|
+
deleteDocTemplate: function (id_1, authorization_1) {
|
|
166
|
+
var args_1 = [];
|
|
167
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
168
|
+
args_1[_i - 2] = arguments[_i];
|
|
169
|
+
}
|
|
170
|
+
return __awaiter(_this, __spreadArray([id_1, authorization_1], args_1, true), void 0, function (id, authorization, options) {
|
|
155
171
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
172
|
+
if (options === void 0) { options = {}; }
|
|
156
173
|
return __generator(this, function (_a) {
|
|
157
174
|
switch (_a.label) {
|
|
158
175
|
case 0:
|
|
@@ -198,10 +215,14 @@ var DocumentTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
198
215
|
* @param {*} [options] Override http request option.
|
|
199
216
|
* @throws {RequiredError}
|
|
200
217
|
*/
|
|
201
|
-
getDocTemplate: function (
|
|
202
|
-
|
|
203
|
-
|
|
218
|
+
getDocTemplate: function (id_1, authorization_1, expand_1) {
|
|
219
|
+
var args_1 = [];
|
|
220
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
221
|
+
args_1[_i - 3] = arguments[_i];
|
|
222
|
+
}
|
|
223
|
+
return __awaiter(_this, __spreadArray([id_1, authorization_1, expand_1], args_1, true), void 0, function (id, authorization, expand, options) {
|
|
204
224
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
225
|
+
if (options === void 0) { options = {}; }
|
|
205
226
|
return __generator(this, function (_a) {
|
|
206
227
|
switch (_a.label) {
|
|
207
228
|
case 0:
|
|
@@ -254,10 +275,14 @@ var DocumentTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
254
275
|
* @param {*} [options] Override http request option.
|
|
255
276
|
* @throws {RequiredError}
|
|
256
277
|
*/
|
|
257
|
-
listDocTemplates: function (
|
|
258
|
-
|
|
259
|
-
|
|
278
|
+
listDocTemplates: function (authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1) {
|
|
279
|
+
var args_1 = [];
|
|
280
|
+
for (var _i = 7; _i < arguments.length; _i++) {
|
|
281
|
+
args_1[_i - 7] = arguments[_i];
|
|
282
|
+
}
|
|
283
|
+
return __awaiter(_this, __spreadArray([authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1], args_1, true), void 0, function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
260
284
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
285
|
+
if (options === void 0) { options = {}; }
|
|
261
286
|
return __generator(this, function (_a) {
|
|
262
287
|
switch (_a.label) {
|
|
263
288
|
case 0:
|
|
@@ -318,10 +343,14 @@ var DocumentTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
318
343
|
* @param {*} [options] Override http request option.
|
|
319
344
|
* @throws {RequiredError}
|
|
320
345
|
*/
|
|
321
|
-
updateDocTemplate: function (
|
|
322
|
-
|
|
323
|
-
|
|
346
|
+
updateDocTemplate: function (id_1, updateDocTemplateRequestDto_1, authorization_1) {
|
|
347
|
+
var args_1 = [];
|
|
348
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
349
|
+
args_1[_i - 3] = arguments[_i];
|
|
350
|
+
}
|
|
351
|
+
return __awaiter(_this, __spreadArray([id_1, updateDocTemplateRequestDto_1, authorization_1], args_1, true), void 0, function (id, updateDocTemplateRequestDto, authorization, options) {
|
|
324
352
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
353
|
+
if (options === void 0) { options = {}; }
|
|
325
354
|
return __generator(this, function (_a) {
|
|
326
355
|
switch (_a.label) {
|
|
327
356
|
case 0:
|
|
@@ -63,7 +63,7 @@ export declare const DocumentsApiAxiosParamCreator: (configuration?: Configurati
|
|
|
63
63
|
* @param {*} [options] Override http request option.
|
|
64
64
|
* @throws {RequiredError}
|
|
65
65
|
*/
|
|
66
|
-
getDocumentDownloadUrl: (code: string, authorization?: string, contentDisposition?:
|
|
66
|
+
getDocumentDownloadUrl: (code: string, authorization?: string, contentDisposition?: "attachment" | "inline", options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
67
67
|
/**
|
|
68
68
|
* This will return a presigned URL for a random S3 key
|
|
69
69
|
* @summary Fetches a presigned URL for a S3 key
|
|
@@ -73,7 +73,7 @@ export declare const DocumentsApiAxiosParamCreator: (configuration?: Configurati
|
|
|
73
73
|
* @param {*} [options] Override http request option.
|
|
74
74
|
* @throws {RequiredError}
|
|
75
75
|
*/
|
|
76
|
-
getSignedS3keyUrl: (s3Key: string, authorization?: string, contentDisposition?:
|
|
76
|
+
getSignedS3keyUrl: (s3Key: string, authorization?: string, contentDisposition?: "attachment" | "inline", options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
77
77
|
/**
|
|
78
78
|
* Returns a list of documents you have previously created. The 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\"
|
|
79
79
|
* @summary List documents
|
|
@@ -150,7 +150,7 @@ export declare const DocumentsApiFp: (configuration?: Configuration) => {
|
|
|
150
150
|
* @param {*} [options] Override http request option.
|
|
151
151
|
* @throws {RequiredError}
|
|
152
152
|
*/
|
|
153
|
-
getDocumentDownloadUrl(code: string, authorization?: string, contentDisposition?:
|
|
153
|
+
getDocumentDownloadUrl(code: string, authorization?: string, contentDisposition?: "attachment" | "inline", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDocumentDownloadUrlResponseClass>>;
|
|
154
154
|
/**
|
|
155
155
|
* This will return a presigned URL for a random S3 key
|
|
156
156
|
* @summary Fetches a presigned URL for a S3 key
|
|
@@ -160,7 +160,7 @@ export declare const DocumentsApiFp: (configuration?: Configuration) => {
|
|
|
160
160
|
* @param {*} [options] Override http request option.
|
|
161
161
|
* @throws {RequiredError}
|
|
162
162
|
*/
|
|
163
|
-
getSignedS3keyUrl(s3Key: string, authorization?: string, contentDisposition?:
|
|
163
|
+
getSignedS3keyUrl(s3Key: string, authorization?: string, contentDisposition?: "attachment" | "inline", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSignedS3KeyUrlResponseClass>>;
|
|
164
164
|
/**
|
|
165
165
|
* Returns a list of documents you have previously created. The 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\"
|
|
166
166
|
* @summary List documents
|
|
@@ -237,7 +237,7 @@ export declare const DocumentsApiFactory: (configuration?: Configuration, basePa
|
|
|
237
237
|
* @param {*} [options] Override http request option.
|
|
238
238
|
* @throws {RequiredError}
|
|
239
239
|
*/
|
|
240
|
-
getDocumentDownloadUrl(code: string, authorization?: string, contentDisposition?:
|
|
240
|
+
getDocumentDownloadUrl(code: string, authorization?: string, contentDisposition?: "attachment" | "inline", options?: any): AxiosPromise<GetDocumentDownloadUrlResponseClass>;
|
|
241
241
|
/**
|
|
242
242
|
* This will return a presigned URL for a random S3 key
|
|
243
243
|
* @summary Fetches a presigned URL for a S3 key
|
|
@@ -247,7 +247,7 @@ export declare const DocumentsApiFactory: (configuration?: Configuration, basePa
|
|
|
247
247
|
* @param {*} [options] Override http request option.
|
|
248
248
|
* @throws {RequiredError}
|
|
249
249
|
*/
|
|
250
|
-
getSignedS3keyUrl(s3Key: string, authorization?: string, contentDisposition?:
|
|
250
|
+
getSignedS3keyUrl(s3Key: string, authorization?: string, contentDisposition?: "attachment" | "inline", options?: any): AxiosPromise<GetSignedS3KeyUrlResponseClass>;
|
|
251
251
|
/**
|
|
252
252
|
* Returns a list of documents you have previously created. The 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\"
|
|
253
253
|
* @summary List documents
|
|
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
50
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
51
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
52
|
-
return g =
|
|
51
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
52
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
53
53
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
54
|
function step(op) {
|
|
55
55
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -74,6 +74,15 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
74
74
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
78
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
79
|
+
if (ar || !(i in from)) {
|
|
80
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
81
|
+
ar[i] = from[i];
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
|
+
};
|
|
77
86
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
78
87
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
88
|
};
|
|
@@ -100,10 +109,14 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
100
109
|
* @param {*} [options] Override http request option.
|
|
101
110
|
* @throws {RequiredError}
|
|
102
111
|
*/
|
|
103
|
-
createDocument: function (
|
|
104
|
-
|
|
105
|
-
|
|
112
|
+
createDocument: function (createDocumentRequestDto_1, authorization_1) {
|
|
113
|
+
var args_1 = [];
|
|
114
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
115
|
+
args_1[_i - 2] = arguments[_i];
|
|
116
|
+
}
|
|
117
|
+
return __awaiter(_this, __spreadArray([createDocumentRequestDto_1, authorization_1], args_1, true), void 0, function (createDocumentRequestDto, authorization, options) {
|
|
106
118
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
119
|
+
if (options === void 0) { options = {}; }
|
|
107
120
|
return __generator(this, function (_a) {
|
|
108
121
|
switch (_a.label) {
|
|
109
122
|
case 0:
|
|
@@ -149,10 +162,14 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
149
162
|
* @param {*} [options] Override http request option.
|
|
150
163
|
* @throws {RequiredError}
|
|
151
164
|
*/
|
|
152
|
-
createPresignedPost: function (
|
|
153
|
-
|
|
154
|
-
|
|
165
|
+
createPresignedPost: function (createPresignedPostRequestDto_1, authorization_1) {
|
|
166
|
+
var args_1 = [];
|
|
167
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
168
|
+
args_1[_i - 2] = arguments[_i];
|
|
169
|
+
}
|
|
170
|
+
return __awaiter(_this, __spreadArray([createPresignedPostRequestDto_1, authorization_1], args_1, true), void 0, function (createPresignedPostRequestDto, authorization, options) {
|
|
155
171
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
172
|
+
if (options === void 0) { options = {}; }
|
|
156
173
|
return __generator(this, function (_a) {
|
|
157
174
|
switch (_a.label) {
|
|
158
175
|
case 0:
|
|
@@ -198,10 +215,14 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
198
215
|
* @param {*} [options] Override http request option.
|
|
199
216
|
* @throws {RequiredError}
|
|
200
217
|
*/
|
|
201
|
-
deleteDocument: function (
|
|
202
|
-
|
|
203
|
-
|
|
218
|
+
deleteDocument: function (code_1, authorization_1) {
|
|
219
|
+
var args_1 = [];
|
|
220
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
221
|
+
args_1[_i - 2] = arguments[_i];
|
|
222
|
+
}
|
|
223
|
+
return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
|
|
204
224
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
225
|
+
if (options === void 0) { options = {}; }
|
|
205
226
|
return __generator(this, function (_a) {
|
|
206
227
|
switch (_a.label) {
|
|
207
228
|
case 0:
|
|
@@ -247,10 +268,14 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
247
268
|
* @param {*} [options] Override http request option.
|
|
248
269
|
* @throws {RequiredError}
|
|
249
270
|
*/
|
|
250
|
-
getDocumentDownloadUrl: function (
|
|
251
|
-
|
|
252
|
-
|
|
271
|
+
getDocumentDownloadUrl: function (code_1, authorization_1, contentDisposition_1) {
|
|
272
|
+
var args_1 = [];
|
|
273
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
274
|
+
args_1[_i - 3] = arguments[_i];
|
|
275
|
+
}
|
|
276
|
+
return __awaiter(_this, __spreadArray([code_1, authorization_1, contentDisposition_1], args_1, true), void 0, function (code, authorization, contentDisposition, options) {
|
|
253
277
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
278
|
+
if (options === void 0) { options = {}; }
|
|
254
279
|
return __generator(this, function (_a) {
|
|
255
280
|
switch (_a.label) {
|
|
256
281
|
case 0:
|
|
@@ -299,10 +324,14 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
299
324
|
* @param {*} [options] Override http request option.
|
|
300
325
|
* @throws {RequiredError}
|
|
301
326
|
*/
|
|
302
|
-
getSignedS3keyUrl: function (
|
|
303
|
-
|
|
304
|
-
|
|
327
|
+
getSignedS3keyUrl: function (s3Key_1, authorization_1, contentDisposition_1) {
|
|
328
|
+
var args_1 = [];
|
|
329
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
330
|
+
args_1[_i - 3] = arguments[_i];
|
|
331
|
+
}
|
|
332
|
+
return __awaiter(_this, __spreadArray([s3Key_1, authorization_1, contentDisposition_1], args_1, true), void 0, function (s3Key, authorization, contentDisposition, options) {
|
|
305
333
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
334
|
+
if (options === void 0) { options = {}; }
|
|
306
335
|
return __generator(this, function (_a) {
|
|
307
336
|
switch (_a.label) {
|
|
308
337
|
case 0:
|
|
@@ -358,10 +387,14 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
358
387
|
* @param {*} [options] Override http request option.
|
|
359
388
|
* @throws {RequiredError}
|
|
360
389
|
*/
|
|
361
|
-
listDocuments: function (
|
|
362
|
-
|
|
363
|
-
|
|
390
|
+
listDocuments: function (authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1) {
|
|
391
|
+
var args_1 = [];
|
|
392
|
+
for (var _i = 8; _i < arguments.length; _i++) {
|
|
393
|
+
args_1[_i - 8] = arguments[_i];
|
|
394
|
+
}
|
|
395
|
+
return __awaiter(_this, __spreadArray([authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1], args_1, true), void 0, function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
364
396
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
397
|
+
if (options === void 0) { options = {}; }
|
|
365
398
|
return __generator(this, function (_a) {
|
|
366
399
|
switch (_a.label) {
|
|
367
400
|
case 0:
|
|
@@ -424,10 +457,14 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
424
457
|
* @param {*} [options] Override http request option.
|
|
425
458
|
* @throws {RequiredError}
|
|
426
459
|
*/
|
|
427
|
-
saveExternalDocument: function (
|
|
428
|
-
|
|
429
|
-
|
|
460
|
+
saveExternalDocument: function (saveExternalDocumentRequestDto_1, authorization_1) {
|
|
461
|
+
var args_1 = [];
|
|
462
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
463
|
+
args_1[_i - 2] = arguments[_i];
|
|
464
|
+
}
|
|
465
|
+
return __awaiter(_this, __spreadArray([saveExternalDocumentRequestDto_1, authorization_1], args_1, true), void 0, function (saveExternalDocumentRequestDto, authorization, options) {
|
|
430
466
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
467
|
+
if (options === void 0) { options = {}; }
|
|
431
468
|
return __generator(this, function (_a) {
|
|
432
469
|
switch (_a.label) {
|
|
433
470
|
case 0:
|
|
@@ -474,10 +511,14 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
474
511
|
* @param {*} [options] Override http request option.
|
|
475
512
|
* @throws {RequiredError}
|
|
476
513
|
*/
|
|
477
|
-
updateDocument: function (
|
|
478
|
-
|
|
479
|
-
|
|
514
|
+
updateDocument: function (code_1, updateDocumentRequestDto_1, authorization_1) {
|
|
515
|
+
var args_1 = [];
|
|
516
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
517
|
+
args_1[_i - 3] = arguments[_i];
|
|
518
|
+
}
|
|
519
|
+
return __awaiter(_this, __spreadArray([code_1, updateDocumentRequestDto_1, authorization_1], args_1, true), void 0, function (code, updateDocumentRequestDto, authorization, options) {
|
|
480
520
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
521
|
+
if (options === void 0) { options = {}; }
|
|
481
522
|
return __generator(this, function (_a) {
|
|
482
523
|
switch (_a.label) {
|
|
483
524
|
case 0:
|
|
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
50
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
51
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
52
|
-
return g =
|
|
51
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
52
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
53
53
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
54
|
function step(op) {
|
|
55
55
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -74,6 +74,15 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
74
74
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
78
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
79
|
+
if (ar || !(i in from)) {
|
|
80
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
81
|
+
ar[i] = from[i];
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
|
+
};
|
|
77
86
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
78
87
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
88
|
};
|
|
@@ -100,10 +109,14 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
100
109
|
* @param {*} [options] Override http request option.
|
|
101
110
|
* @throws {RequiredError}
|
|
102
111
|
*/
|
|
103
|
-
deleteDocxTemplate: function (
|
|
104
|
-
|
|
105
|
-
|
|
112
|
+
deleteDocxTemplate: function (code_1, authorization_1) {
|
|
113
|
+
var args_1 = [];
|
|
114
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
115
|
+
args_1[_i - 2] = arguments[_i];
|
|
116
|
+
}
|
|
117
|
+
return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
|
|
106
118
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
119
|
+
if (options === void 0) { options = {}; }
|
|
107
120
|
return __generator(this, function (_a) {
|
|
108
121
|
switch (_a.label) {
|
|
109
122
|
case 0:
|
|
@@ -148,10 +161,14 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
148
161
|
* @param {*} [options] Override http request option.
|
|
149
162
|
* @throws {RequiredError}
|
|
150
163
|
*/
|
|
151
|
-
downloadDocxTemplate: function (
|
|
152
|
-
|
|
153
|
-
|
|
164
|
+
downloadDocxTemplate: function (code_1, authorization_1) {
|
|
165
|
+
var args_1 = [];
|
|
166
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
167
|
+
args_1[_i - 2] = arguments[_i];
|
|
168
|
+
}
|
|
169
|
+
return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
|
|
154
170
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
171
|
+
if (options === void 0) { options = {}; }
|
|
155
172
|
return __generator(this, function (_a) {
|
|
156
173
|
switch (_a.label) {
|
|
157
174
|
case 0:
|
|
@@ -196,10 +213,14 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
196
213
|
* @param {*} [options] Override http request option.
|
|
197
214
|
* @throws {RequiredError}
|
|
198
215
|
*/
|
|
199
|
-
getDocxTemplate: function (
|
|
200
|
-
|
|
201
|
-
|
|
216
|
+
getDocxTemplate: function (code_1, authorization_1) {
|
|
217
|
+
var args_1 = [];
|
|
218
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
219
|
+
args_1[_i - 2] = arguments[_i];
|
|
220
|
+
}
|
|
221
|
+
return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
|
|
202
222
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
223
|
+
if (options === void 0) { options = {}; }
|
|
203
224
|
return __generator(this, function (_a) {
|
|
204
225
|
switch (_a.label) {
|
|
205
226
|
case 0:
|
|
@@ -250,10 +271,14 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
250
271
|
* @param {*} [options] Override http request option.
|
|
251
272
|
* @throws {RequiredError}
|
|
252
273
|
*/
|
|
253
|
-
listDocxTemplates: function (
|
|
254
|
-
|
|
255
|
-
|
|
274
|
+
listDocxTemplates: function (authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1) {
|
|
275
|
+
var args_1 = [];
|
|
276
|
+
for (var _i = 8; _i < arguments.length; _i++) {
|
|
277
|
+
args_1[_i - 8] = arguments[_i];
|
|
278
|
+
}
|
|
279
|
+
return __awaiter(_this, __spreadArray([authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1], args_1, true), void 0, function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
256
280
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
281
|
+
if (options === void 0) { options = {}; }
|
|
257
282
|
return __generator(this, function (_a) {
|
|
258
283
|
switch (_a.label) {
|
|
259
284
|
case 0:
|
|
@@ -317,10 +342,14 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
317
342
|
* @param {*} [options] Override http request option.
|
|
318
343
|
* @throws {RequiredError}
|
|
319
344
|
*/
|
|
320
|
-
updateDocxTemplate: function (
|
|
321
|
-
|
|
322
|
-
|
|
345
|
+
updateDocxTemplate: function (code_1, sharedUpdateDocxTemplateRequestDto_1, authorization_1) {
|
|
346
|
+
var args_1 = [];
|
|
347
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
348
|
+
args_1[_i - 3] = arguments[_i];
|
|
349
|
+
}
|
|
350
|
+
return __awaiter(_this, __spreadArray([code_1, sharedUpdateDocxTemplateRequestDto_1, authorization_1], args_1, true), void 0, function (code, sharedUpdateDocxTemplateRequestDto, authorization, options) {
|
|
323
351
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
352
|
+
if (options === void 0) { options = {}; }
|
|
324
353
|
return __generator(this, function (_a) {
|
|
325
354
|
switch (_a.label) {
|
|
326
355
|
case 0:
|
|
@@ -369,10 +398,14 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
369
398
|
* @param {*} [options] Override http request option.
|
|
370
399
|
* @throws {RequiredError}
|
|
371
400
|
*/
|
|
372
|
-
uploadDocxTemplate: function (
|
|
373
|
-
|
|
374
|
-
|
|
401
|
+
uploadDocxTemplate: function (uploadDocxTemplateRequestDto_1, authorization_1) {
|
|
402
|
+
var args_1 = [];
|
|
403
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
404
|
+
args_1[_i - 2] = arguments[_i];
|
|
405
|
+
}
|
|
406
|
+
return __awaiter(_this, __spreadArray([uploadDocxTemplateRequestDto_1, authorization_1], args_1, true), void 0, function (uploadDocxTemplateRequestDto, authorization, options) {
|
|
375
407
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
408
|
+
if (options === void 0) { options = {}; }
|
|
376
409
|
return __generator(this, function (_a) {
|
|
377
410
|
switch (_a.label) {
|
|
378
411
|
case 0:
|
package/dist/api/layouts-api.js
CHANGED
|
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
50
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
51
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
52
|
-
return g =
|
|
51
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
52
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
53
53
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
54
|
function step(op) {
|
|
55
55
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -74,6 +74,15 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
74
74
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
78
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
79
|
+
if (ar || !(i in from)) {
|
|
80
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
81
|
+
ar[i] = from[i];
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
|
+
};
|
|
77
86
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
78
87
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
88
|
};
|
|
@@ -100,10 +109,14 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
100
109
|
* @param {*} [options] Override http request option.
|
|
101
110
|
* @throws {RequiredError}
|
|
102
111
|
*/
|
|
103
|
-
createLayout: function (
|
|
104
|
-
|
|
105
|
-
|
|
112
|
+
createLayout: function (createLayoutRequestDto_1, authorization_1) {
|
|
113
|
+
var args_1 = [];
|
|
114
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
115
|
+
args_1[_i - 2] = arguments[_i];
|
|
116
|
+
}
|
|
117
|
+
return __awaiter(_this, __spreadArray([createLayoutRequestDto_1, authorization_1], args_1, true), void 0, function (createLayoutRequestDto, authorization, options) {
|
|
106
118
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
119
|
+
if (options === void 0) { options = {}; }
|
|
107
120
|
return __generator(this, function (_a) {
|
|
108
121
|
switch (_a.label) {
|
|
109
122
|
case 0:
|
|
@@ -149,10 +162,14 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
149
162
|
* @param {*} [options] Override http request option.
|
|
150
163
|
* @throws {RequiredError}
|
|
151
164
|
*/
|
|
152
|
-
deleteLayout: function (
|
|
153
|
-
|
|
154
|
-
|
|
165
|
+
deleteLayout: function (id_1, authorization_1) {
|
|
166
|
+
var args_1 = [];
|
|
167
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
168
|
+
args_1[_i - 2] = arguments[_i];
|
|
169
|
+
}
|
|
170
|
+
return __awaiter(_this, __spreadArray([id_1, authorization_1], args_1, true), void 0, function (id, authorization, options) {
|
|
155
171
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
172
|
+
if (options === void 0) { options = {}; }
|
|
156
173
|
return __generator(this, function (_a) {
|
|
157
174
|
switch (_a.label) {
|
|
158
175
|
case 0:
|
|
@@ -198,10 +215,14 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
198
215
|
* @param {*} [options] Override http request option.
|
|
199
216
|
* @throws {RequiredError}
|
|
200
217
|
*/
|
|
201
|
-
getLayout: function (
|
|
202
|
-
|
|
203
|
-
|
|
218
|
+
getLayout: function (id_1, id2_1, authorization_1) {
|
|
219
|
+
var args_1 = [];
|
|
220
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
221
|
+
args_1[_i - 3] = arguments[_i];
|
|
222
|
+
}
|
|
223
|
+
return __awaiter(_this, __spreadArray([id_1, id2_1, authorization_1], args_1, true), void 0, function (id, id2, authorization, options) {
|
|
204
224
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
225
|
+
if (options === void 0) { options = {}; }
|
|
205
226
|
return __generator(this, function (_a) {
|
|
206
227
|
switch (_a.label) {
|
|
207
228
|
case 0:
|
|
@@ -257,10 +278,14 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
257
278
|
* @param {*} [options] Override http request option.
|
|
258
279
|
* @throws {RequiredError}
|
|
259
280
|
*/
|
|
260
|
-
listLayouts: function (
|
|
261
|
-
|
|
262
|
-
|
|
281
|
+
listLayouts: function (authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1) {
|
|
282
|
+
var args_1 = [];
|
|
283
|
+
for (var _i = 8; _i < arguments.length; _i++) {
|
|
284
|
+
args_1[_i - 8] = arguments[_i];
|
|
285
|
+
}
|
|
286
|
+
return __awaiter(_this, __spreadArray([authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1], args_1, true), void 0, function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
263
287
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
288
|
+
if (options === void 0) { options = {}; }
|
|
264
289
|
return __generator(this, function (_a) {
|
|
265
290
|
switch (_a.label) {
|
|
266
291
|
case 0:
|
|
@@ -324,10 +349,14 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
324
349
|
* @param {*} [options] Override http request option.
|
|
325
350
|
* @throws {RequiredError}
|
|
326
351
|
*/
|
|
327
|
-
updateLayout: function (
|
|
328
|
-
|
|
329
|
-
|
|
352
|
+
updateLayout: function (id_1, updateLayoutRequestDto_1, authorization_1) {
|
|
353
|
+
var args_1 = [];
|
|
354
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
355
|
+
args_1[_i - 3] = arguments[_i];
|
|
356
|
+
}
|
|
357
|
+
return __awaiter(_this, __spreadArray([id_1, updateLayoutRequestDto_1, authorization_1], args_1, true), void 0, function (id, updateLayoutRequestDto, authorization, options) {
|
|
330
358
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
359
|
+
if (options === void 0) { options = {}; }
|
|
331
360
|
return __generator(this, function (_a) {
|
|
332
361
|
switch (_a.label) {
|
|
333
362
|
case 0:
|
|
@@ -42,7 +42,7 @@ export declare const ProductDocumentsApiAxiosParamCreator: (configuration?: Conf
|
|
|
42
42
|
* @param {*} [options] Override http request option.
|
|
43
43
|
* @throws {RequiredError}
|
|
44
44
|
*/
|
|
45
|
-
downloadProductDocument: (productSlug: string, code: string, authorization?: string, contentDisposition?:
|
|
45
|
+
downloadProductDocument: (productSlug: string, code: string, authorization?: string, contentDisposition?: "attachment" | "inline", options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
46
46
|
/**
|
|
47
47
|
* Get a product document. **Required Permissions** \"document-management.documents.view\"
|
|
48
48
|
* @summary Retrieve the product document
|
|
@@ -105,7 +105,7 @@ export declare const ProductDocumentsApiFp: (configuration?: Configuration) => {
|
|
|
105
105
|
* @param {*} [options] Override http request option.
|
|
106
106
|
* @throws {RequiredError}
|
|
107
107
|
*/
|
|
108
|
-
downloadProductDocument(productSlug: string, code: string, authorization?: string, contentDisposition?:
|
|
108
|
+
downloadProductDocument(productSlug: string, code: string, authorization?: string, contentDisposition?: "attachment" | "inline", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductDocumentDownloadUrlResponseClass>>;
|
|
109
109
|
/**
|
|
110
110
|
* Get a product document. **Required Permissions** \"document-management.documents.view\"
|
|
111
111
|
* @summary Retrieve the product document
|
|
@@ -168,7 +168,7 @@ export declare const ProductDocumentsApiFactory: (configuration?: Configuration,
|
|
|
168
168
|
* @param {*} [options] Override http request option.
|
|
169
169
|
* @throws {RequiredError}
|
|
170
170
|
*/
|
|
171
|
-
downloadProductDocument(productSlug: string, code: string, authorization?: string, contentDisposition?:
|
|
171
|
+
downloadProductDocument(productSlug: string, code: string, authorization?: string, contentDisposition?: "attachment" | "inline", options?: any): AxiosPromise<GetProductDocumentDownloadUrlResponseClass>;
|
|
172
172
|
/**
|
|
173
173
|
* Get a product document. **Required Permissions** \"document-management.documents.view\"
|
|
174
174
|
* @summary Retrieve the product document
|
|
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
50
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
51
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
52
|
-
return g =
|
|
51
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
52
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
53
53
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
54
|
function step(op) {
|
|
55
55
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -74,6 +74,15 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
74
74
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
78
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
79
|
+
if (ar || !(i in from)) {
|
|
80
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
81
|
+
ar[i] = from[i];
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
|
+
};
|
|
77
86
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
78
87
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
88
|
};
|
|
@@ -101,10 +110,14 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
101
110
|
* @param {*} [options] Override http request option.
|
|
102
111
|
* @throws {RequiredError}
|
|
103
112
|
*/
|
|
104
|
-
deleteProductDocument: function (
|
|
105
|
-
|
|
106
|
-
|
|
113
|
+
deleteProductDocument: function (code_1, productSlug_1, authorization_1) {
|
|
114
|
+
var args_1 = [];
|
|
115
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
116
|
+
args_1[_i - 3] = arguments[_i];
|
|
117
|
+
}
|
|
118
|
+
return __awaiter(_this, __spreadArray([code_1, productSlug_1, authorization_1], args_1, true), void 0, function (code, productSlug, authorization, options) {
|
|
107
119
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
120
|
+
if (options === void 0) { options = {}; }
|
|
108
121
|
return __generator(this, function (_a) {
|
|
109
122
|
switch (_a.label) {
|
|
110
123
|
case 0:
|
|
@@ -154,10 +167,14 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
154
167
|
* @param {*} [options] Override http request option.
|
|
155
168
|
* @throws {RequiredError}
|
|
156
169
|
*/
|
|
157
|
-
downloadProductDocument: function (
|
|
158
|
-
|
|
159
|
-
|
|
170
|
+
downloadProductDocument: function (productSlug_1, code_1, authorization_1, contentDisposition_1) {
|
|
171
|
+
var args_1 = [];
|
|
172
|
+
for (var _i = 4; _i < arguments.length; _i++) {
|
|
173
|
+
args_1[_i - 4] = arguments[_i];
|
|
174
|
+
}
|
|
175
|
+
return __awaiter(_this, __spreadArray([productSlug_1, code_1, authorization_1, contentDisposition_1], args_1, true), void 0, function (productSlug, code, authorization, contentDisposition, options) {
|
|
160
176
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
177
|
+
if (options === void 0) { options = {}; }
|
|
161
178
|
return __generator(this, function (_a) {
|
|
162
179
|
switch (_a.label) {
|
|
163
180
|
case 0:
|
|
@@ -209,10 +226,14 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
209
226
|
* @param {*} [options] Override http request option.
|
|
210
227
|
* @throws {RequiredError}
|
|
211
228
|
*/
|
|
212
|
-
getProductDocument: function (
|
|
213
|
-
|
|
214
|
-
|
|
229
|
+
getProductDocument: function (productSlug_1, code_1, authorization_1) {
|
|
230
|
+
var args_1 = [];
|
|
231
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
232
|
+
args_1[_i - 3] = arguments[_i];
|
|
233
|
+
}
|
|
234
|
+
return __awaiter(_this, __spreadArray([productSlug_1, code_1, authorization_1], args_1, true), void 0, function (productSlug, code, authorization, options) {
|
|
215
235
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
236
|
+
if (options === void 0) { options = {}; }
|
|
216
237
|
return __generator(this, function (_a) {
|
|
217
238
|
switch (_a.label) {
|
|
218
239
|
case 0:
|
|
@@ -267,10 +288,14 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
267
288
|
* @param {*} [options] Override http request option.
|
|
268
289
|
* @throws {RequiredError}
|
|
269
290
|
*/
|
|
270
|
-
listProductDocuments: function (
|
|
271
|
-
|
|
272
|
-
|
|
291
|
+
listProductDocuments: function (productSlug_1, authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1) {
|
|
292
|
+
var args_1 = [];
|
|
293
|
+
for (var _i = 9; _i < arguments.length; _i++) {
|
|
294
|
+
args_1[_i - 9] = arguments[_i];
|
|
295
|
+
}
|
|
296
|
+
return __awaiter(_this, __spreadArray([productSlug_1, authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1], args_1, true), void 0, function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
273
297
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
298
|
+
if (options === void 0) { options = {}; }
|
|
274
299
|
return __generator(this, function (_a) {
|
|
275
300
|
switch (_a.label) {
|
|
276
301
|
case 0:
|
|
@@ -337,10 +362,14 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
337
362
|
* @param {*} [options] Override http request option.
|
|
338
363
|
* @throws {RequiredError}
|
|
339
364
|
*/
|
|
340
|
-
uploadProductDocument: function (
|
|
341
|
-
|
|
342
|
-
|
|
365
|
+
uploadProductDocument: function (productSlug_1, uploadProductDocumentRequestDto_1, authorization_1) {
|
|
366
|
+
var args_1 = [];
|
|
367
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
368
|
+
args_1[_i - 3] = arguments[_i];
|
|
369
|
+
}
|
|
370
|
+
return __awaiter(_this, __spreadArray([productSlug_1, uploadProductDocumentRequestDto_1, authorization_1], args_1, true), void 0, function (productSlug, uploadProductDocumentRequestDto, authorization, options) {
|
|
343
371
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
372
|
+
if (options === void 0) { options = {}; }
|
|
344
373
|
return __generator(this, function (_a) {
|
|
345
374
|
switch (_a.label) {
|
|
346
375
|
case 0:
|
|
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
50
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
51
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
52
|
-
return g =
|
|
51
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
52
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
53
53
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
54
|
function step(op) {
|
|
55
55
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -74,6 +74,15 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
74
74
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
78
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
79
|
+
if (ar || !(i in from)) {
|
|
80
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
81
|
+
ar[i] = from[i];
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
|
+
};
|
|
77
86
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
78
87
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
88
|
};
|
|
@@ -100,10 +109,14 @@ var SearchKeywordsApiAxiosParamCreator = function (configuration) {
|
|
|
100
109
|
* @param {*} [options] Override http request option.
|
|
101
110
|
* @throws {RequiredError}
|
|
102
111
|
*/
|
|
103
|
-
listSearchKeywords: function (
|
|
104
|
-
|
|
105
|
-
|
|
112
|
+
listSearchKeywords: function (searchText_1, authorization_1) {
|
|
113
|
+
var args_1 = [];
|
|
114
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
115
|
+
args_1[_i - 2] = arguments[_i];
|
|
116
|
+
}
|
|
117
|
+
return __awaiter(_this, __spreadArray([searchText_1, authorization_1], args_1, true), void 0, function (searchText, authorization, options) {
|
|
106
118
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
119
|
+
if (options === void 0) { options = {}; }
|
|
107
120
|
return __generator(this, function (_a) {
|
|
108
121
|
switch (_a.label) {
|
|
109
122
|
case 0:
|
|
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
50
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
51
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
52
|
-
return g =
|
|
51
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
52
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
53
53
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
54
|
function step(op) {
|
|
55
55
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -74,6 +74,15 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
74
74
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
78
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
79
|
+
if (ar || !(i in from)) {
|
|
80
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
81
|
+
ar[i] = from[i];
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
|
+
};
|
|
77
86
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
78
87
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
88
|
};
|
|
@@ -106,10 +115,14 @@ var SearchableDocumentOwnersApiAxiosParamCreator = function (configuration) {
|
|
|
106
115
|
* @param {*} [options] Override http request option.
|
|
107
116
|
* @throws {RequiredError}
|
|
108
117
|
*/
|
|
109
|
-
listSearchableDocumentOwners: function (
|
|
110
|
-
|
|
111
|
-
|
|
118
|
+
listSearchableDocumentOwners: function (authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1) {
|
|
119
|
+
var args_1 = [];
|
|
120
|
+
for (var _i = 8; _i < arguments.length; _i++) {
|
|
121
|
+
args_1[_i - 8] = arguments[_i];
|
|
122
|
+
}
|
|
123
|
+
return __awaiter(_this, __spreadArray([authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1], args_1, true), void 0, function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
112
124
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
125
|
+
if (options === void 0) { options = {}; }
|
|
113
126
|
return __generator(this, function (_a) {
|
|
114
127
|
switch (_a.label) {
|
|
115
128
|
case 0:
|
|
@@ -28,7 +28,7 @@ export declare const SearchableDocumentsApiAxiosParamCreator: (configuration?: C
|
|
|
28
28
|
* @param {*} [options] Override http request option.
|
|
29
29
|
* @throws {RequiredError}
|
|
30
30
|
*/
|
|
31
|
-
listSearchableDocuments: (searchText: string, ownerIds: string, authorization?: string, product?:
|
|
31
|
+
listSearchableDocuments: (searchText: string, ownerIds: string, authorization?: string, product?: "car" | "homeowner" | "household" | "privateLiability", options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32
32
|
};
|
|
33
33
|
/**
|
|
34
34
|
* SearchableDocumentsApi - functional programming interface
|
|
@@ -45,7 +45,7 @@ export declare const SearchableDocumentsApiFp: (configuration?: Configuration) =
|
|
|
45
45
|
* @param {*} [options] Override http request option.
|
|
46
46
|
* @throws {RequiredError}
|
|
47
47
|
*/
|
|
48
|
-
listSearchableDocuments(searchText: string, ownerIds: string, authorization?: string, product?:
|
|
48
|
+
listSearchableDocuments(searchText: string, ownerIds: string, authorization?: string, product?: "car" | "homeowner" | "household" | "privateLiability", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSearchableDocumentsResponseClass>>;
|
|
49
49
|
};
|
|
50
50
|
/**
|
|
51
51
|
* SearchableDocumentsApi - factory interface
|
|
@@ -62,7 +62,7 @@ export declare const SearchableDocumentsApiFactory: (configuration?: Configurati
|
|
|
62
62
|
* @param {*} [options] Override http request option.
|
|
63
63
|
* @throws {RequiredError}
|
|
64
64
|
*/
|
|
65
|
-
listSearchableDocuments(searchText: string, ownerIds: string, authorization?: string, product?:
|
|
65
|
+
listSearchableDocuments(searchText: string, ownerIds: string, authorization?: string, product?: "car" | "homeowner" | "household" | "privateLiability", options?: any): AxiosPromise<ListSearchableDocumentsResponseClass>;
|
|
66
66
|
};
|
|
67
67
|
/**
|
|
68
68
|
* Request parameters for listSearchableDocuments operation in SearchableDocumentsApi.
|
|
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
50
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
51
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
52
|
-
return g =
|
|
51
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
52
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
53
53
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
54
|
function step(op) {
|
|
55
55
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -74,6 +74,15 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
74
74
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
78
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
79
|
+
if (ar || !(i in from)) {
|
|
80
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
81
|
+
ar[i] = from[i];
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
|
+
};
|
|
77
86
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
78
87
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
88
|
};
|
|
@@ -102,10 +111,14 @@ var SearchableDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
102
111
|
* @param {*} [options] Override http request option.
|
|
103
112
|
* @throws {RequiredError}
|
|
104
113
|
*/
|
|
105
|
-
listSearchableDocuments: function (
|
|
106
|
-
|
|
107
|
-
|
|
114
|
+
listSearchableDocuments: function (searchText_1, ownerIds_1, authorization_1, product_1) {
|
|
115
|
+
var args_1 = [];
|
|
116
|
+
for (var _i = 4; _i < arguments.length; _i++) {
|
|
117
|
+
args_1[_i - 4] = arguments[_i];
|
|
118
|
+
}
|
|
119
|
+
return __awaiter(_this, __spreadArray([searchText_1, ownerIds_1, authorization_1, product_1], args_1, true), void 0, function (searchText, ownerIds, authorization, product, options) {
|
|
108
120
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
121
|
+
if (options === void 0) { options = {}; }
|
|
109
122
|
return __generator(this, function (_a) {
|
|
110
123
|
switch (_a.label) {
|
|
111
124
|
case 0:
|
package/dist/base.js
CHANGED
|
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
50
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
51
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
52
|
-
return g =
|
|
51
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
52
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
53
53
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
54
|
function step(op) {
|
|
55
55
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -78,7 +78,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
78
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
79
|
};
|
|
80
80
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
-
exports.RequiredError = exports.BaseAPI = exports.
|
|
81
|
+
exports.RequiredError = exports.BaseAPI = exports.Environment = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
|
|
82
|
+
exports.resetRetry = resetRetry;
|
|
82
83
|
var configuration_1 = require("./configuration");
|
|
83
84
|
var common_1 = require("./common");
|
|
84
85
|
// Some imports not used depending on template conditions
|
|
@@ -102,13 +103,12 @@ var Environment;
|
|
|
102
103
|
Environment["Staging"] = "https://apiv2-staging.emil.de";
|
|
103
104
|
Environment["Development"] = "https://apiv2-dev.emil.de";
|
|
104
105
|
Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
|
|
105
|
-
})(Environment
|
|
106
|
+
})(Environment || (exports.Environment = Environment = {}));
|
|
106
107
|
var _retry_count = 0;
|
|
107
108
|
var _retry = null;
|
|
108
109
|
function resetRetry() {
|
|
109
110
|
_retry_count = 0;
|
|
110
111
|
}
|
|
111
|
-
exports.resetRetry = resetRetry;
|
|
112
112
|
var NETWORK_ERROR_MESSAGE = "Network Error";
|
|
113
113
|
var TOKEN_DATA = 'APP_TOKEN';
|
|
114
114
|
/**
|
package/dist/common.d.ts
CHANGED
|
@@ -62,7 +62,7 @@ export declare const toPathString: (url: URL) => string;
|
|
|
62
62
|
*
|
|
63
63
|
* @export
|
|
64
64
|
*/
|
|
65
|
-
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T
|
|
65
|
+
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
66
66
|
/**
|
|
67
67
|
* EMIL DocumentService
|
|
68
68
|
* The EMIL DocumentService API description
|
package/dist/common.js
CHANGED
|
@@ -33,8 +33,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
33
33
|
});
|
|
34
34
|
};
|
|
35
35
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
36
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
37
|
-
return g =
|
|
36
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
37
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
38
38
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
39
39
|
function step(op) {
|
|
40
40
|
if (f) throw new TypeError("Generator is already executing.");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/document-sdk",
|
|
3
|
-
"version": "1.40.0",
|
|
3
|
+
"version": "1.40.1-beta.0",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/document-sdk",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"prepare": "npm run build"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"axios": "^
|
|
21
|
+
"axios": "^1.9.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"typescript": "^
|
|
24
|
+
"typescript": "^5.8"
|
|
25
25
|
}
|
|
26
26
|
}
|