pet-backend-sdk 0.28.0 → 0.33.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/axios/api.d.ts +297 -96
- package/axios/api.js +629 -0
- package/axios/api.js.map +1 -1
- package/package.json +1 -1
package/axios/api.js
CHANGED
|
@@ -187,6 +187,93 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
187
187
|
options: localVarRequestOptions,
|
|
188
188
|
};
|
|
189
189
|
},
|
|
190
|
+
/**
|
|
191
|
+
*
|
|
192
|
+
* @param {*} [options] Override http request option.
|
|
193
|
+
* @throws {RequiredError}
|
|
194
|
+
*/
|
|
195
|
+
examinationDocumentsDownloadMultipleOptions: function (options) {
|
|
196
|
+
if (options === void 0) { options = {}; }
|
|
197
|
+
var localVarPath = "/examination/documents/download/multiple";
|
|
198
|
+
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
199
|
+
var baseOptions;
|
|
200
|
+
if (configuration) {
|
|
201
|
+
baseOptions = configuration.baseOptions;
|
|
202
|
+
}
|
|
203
|
+
var localVarRequestOptions = __assign(__assign({ method: 'OPTIONS' }, baseOptions), options);
|
|
204
|
+
var localVarHeaderParameter = {};
|
|
205
|
+
var localVarQueryParameter = {};
|
|
206
|
+
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
207
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
208
|
+
delete localVarUrlObj.search;
|
|
209
|
+
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
210
|
+
return {
|
|
211
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
212
|
+
options: localVarRequestOptions,
|
|
213
|
+
};
|
|
214
|
+
},
|
|
215
|
+
/**
|
|
216
|
+
*
|
|
217
|
+
* @param {string} key The key of the document
|
|
218
|
+
* @param {*} [options] Override http request option.
|
|
219
|
+
* @throws {RequiredError}
|
|
220
|
+
*/
|
|
221
|
+
examinationDocumentsKeyDownloadOptions: function (key, options) {
|
|
222
|
+
if (options === void 0) { options = {}; }
|
|
223
|
+
// verify required parameter 'key' is not null or undefined
|
|
224
|
+
if (key === null || key === undefined) {
|
|
225
|
+
throw new base_1.RequiredError('key', 'Required parameter key was null or undefined when calling examinationDocumentsKeyDownloadOptions.');
|
|
226
|
+
}
|
|
227
|
+
var localVarPath = "/examination/documents/{key}/download"
|
|
228
|
+
.replace("{" + "key" + "}", encodeURIComponent(String(key)));
|
|
229
|
+
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
230
|
+
var baseOptions;
|
|
231
|
+
if (configuration) {
|
|
232
|
+
baseOptions = configuration.baseOptions;
|
|
233
|
+
}
|
|
234
|
+
var localVarRequestOptions = __assign(__assign({ method: 'OPTIONS' }, baseOptions), options);
|
|
235
|
+
var localVarHeaderParameter = {};
|
|
236
|
+
var localVarQueryParameter = {};
|
|
237
|
+
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
238
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
239
|
+
delete localVarUrlObj.search;
|
|
240
|
+
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
241
|
+
return {
|
|
242
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
243
|
+
options: localVarRequestOptions,
|
|
244
|
+
};
|
|
245
|
+
},
|
|
246
|
+
/**
|
|
247
|
+
*
|
|
248
|
+
* @param {string} id The id of the examination
|
|
249
|
+
* @param {*} [options] Override http request option.
|
|
250
|
+
* @throws {RequiredError}
|
|
251
|
+
*/
|
|
252
|
+
examinationIdDocumentsOptions: function (id, options) {
|
|
253
|
+
if (options === void 0) { options = {}; }
|
|
254
|
+
// verify required parameter 'id' is not null or undefined
|
|
255
|
+
if (id === null || id === undefined) {
|
|
256
|
+
throw new base_1.RequiredError('id', 'Required parameter id was null or undefined when calling examinationIdDocumentsOptions.');
|
|
257
|
+
}
|
|
258
|
+
var localVarPath = "/examination/{id}/documents"
|
|
259
|
+
.replace("{" + "id" + "}", encodeURIComponent(String(id)));
|
|
260
|
+
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
261
|
+
var baseOptions;
|
|
262
|
+
if (configuration) {
|
|
263
|
+
baseOptions = configuration.baseOptions;
|
|
264
|
+
}
|
|
265
|
+
var localVarRequestOptions = __assign(__assign({ method: 'OPTIONS' }, baseOptions), options);
|
|
266
|
+
var localVarHeaderParameter = {};
|
|
267
|
+
var localVarQueryParameter = {};
|
|
268
|
+
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
269
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
270
|
+
delete localVarUrlObj.search;
|
|
271
|
+
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
272
|
+
return {
|
|
273
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
274
|
+
options: localVarRequestOptions,
|
|
275
|
+
};
|
|
276
|
+
},
|
|
190
277
|
/**
|
|
191
278
|
*
|
|
192
279
|
* @param {string} id The id of the examination
|
|
@@ -477,6 +564,50 @@ exports.DefaultApiFp = function (configuration) {
|
|
|
477
564
|
return axios.request(axiosRequestArgs);
|
|
478
565
|
};
|
|
479
566
|
},
|
|
567
|
+
/**
|
|
568
|
+
*
|
|
569
|
+
* @param {*} [options] Override http request option.
|
|
570
|
+
* @throws {RequiredError}
|
|
571
|
+
*/
|
|
572
|
+
examinationDocumentsDownloadMultipleOptions: function (options) {
|
|
573
|
+
var localVarAxiosArgs = exports.DefaultApiAxiosParamCreator(configuration).examinationDocumentsDownloadMultipleOptions(options);
|
|
574
|
+
return function (axios, basePath) {
|
|
575
|
+
if (axios === void 0) { axios = axios_1.default; }
|
|
576
|
+
if (basePath === void 0) { basePath = base_1.BASE_PATH; }
|
|
577
|
+
var axiosRequestArgs = __assign(__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
578
|
+
return axios.request(axiosRequestArgs);
|
|
579
|
+
};
|
|
580
|
+
},
|
|
581
|
+
/**
|
|
582
|
+
*
|
|
583
|
+
* @param {string} key The key of the document
|
|
584
|
+
* @param {*} [options] Override http request option.
|
|
585
|
+
* @throws {RequiredError}
|
|
586
|
+
*/
|
|
587
|
+
examinationDocumentsKeyDownloadOptions: function (key, options) {
|
|
588
|
+
var localVarAxiosArgs = exports.DefaultApiAxiosParamCreator(configuration).examinationDocumentsKeyDownloadOptions(key, options);
|
|
589
|
+
return function (axios, basePath) {
|
|
590
|
+
if (axios === void 0) { axios = axios_1.default; }
|
|
591
|
+
if (basePath === void 0) { basePath = base_1.BASE_PATH; }
|
|
592
|
+
var axiosRequestArgs = __assign(__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
593
|
+
return axios.request(axiosRequestArgs);
|
|
594
|
+
};
|
|
595
|
+
},
|
|
596
|
+
/**
|
|
597
|
+
*
|
|
598
|
+
* @param {string} id The id of the examination
|
|
599
|
+
* @param {*} [options] Override http request option.
|
|
600
|
+
* @throws {RequiredError}
|
|
601
|
+
*/
|
|
602
|
+
examinationIdDocumentsOptions: function (id, options) {
|
|
603
|
+
var localVarAxiosArgs = exports.DefaultApiAxiosParamCreator(configuration).examinationIdDocumentsOptions(id, options);
|
|
604
|
+
return function (axios, basePath) {
|
|
605
|
+
if (axios === void 0) { axios = axios_1.default; }
|
|
606
|
+
if (basePath === void 0) { basePath = base_1.BASE_PATH; }
|
|
607
|
+
var axiosRequestArgs = __assign(__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
608
|
+
return axios.request(axiosRequestArgs);
|
|
609
|
+
};
|
|
610
|
+
},
|
|
480
611
|
/**
|
|
481
612
|
*
|
|
482
613
|
* @param {string} id The id of the examination
|
|
@@ -635,6 +766,32 @@ exports.DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
635
766
|
dicomUploadOptions: function (options) {
|
|
636
767
|
return exports.DefaultApiFp(configuration).dicomUploadOptions(options)(axios, basePath);
|
|
637
768
|
},
|
|
769
|
+
/**
|
|
770
|
+
*
|
|
771
|
+
* @param {*} [options] Override http request option.
|
|
772
|
+
* @throws {RequiredError}
|
|
773
|
+
*/
|
|
774
|
+
examinationDocumentsDownloadMultipleOptions: function (options) {
|
|
775
|
+
return exports.DefaultApiFp(configuration).examinationDocumentsDownloadMultipleOptions(options)(axios, basePath);
|
|
776
|
+
},
|
|
777
|
+
/**
|
|
778
|
+
*
|
|
779
|
+
* @param {string} key The key of the document
|
|
780
|
+
* @param {*} [options] Override http request option.
|
|
781
|
+
* @throws {RequiredError}
|
|
782
|
+
*/
|
|
783
|
+
examinationDocumentsKeyDownloadOptions: function (key, options) {
|
|
784
|
+
return exports.DefaultApiFp(configuration).examinationDocumentsKeyDownloadOptions(key, options)(axios, basePath);
|
|
785
|
+
},
|
|
786
|
+
/**
|
|
787
|
+
*
|
|
788
|
+
* @param {string} id The id of the examination
|
|
789
|
+
* @param {*} [options] Override http request option.
|
|
790
|
+
* @throws {RequiredError}
|
|
791
|
+
*/
|
|
792
|
+
examinationIdDocumentsOptions: function (id, options) {
|
|
793
|
+
return exports.DefaultApiFp(configuration).examinationIdDocumentsOptions(id, options)(axios, basePath);
|
|
794
|
+
},
|
|
638
795
|
/**
|
|
639
796
|
*
|
|
640
797
|
* @param {string} id The id of the examination
|
|
@@ -754,6 +911,35 @@ var DefaultApi = /** @class */ (function (_super) {
|
|
|
754
911
|
DefaultApi.prototype.dicomUploadOptions = function (options) {
|
|
755
912
|
return exports.DefaultApiFp(this.configuration).dicomUploadOptions(options)(this.axios, this.basePath);
|
|
756
913
|
};
|
|
914
|
+
/**
|
|
915
|
+
*
|
|
916
|
+
* @param {*} [options] Override http request option.
|
|
917
|
+
* @throws {RequiredError}
|
|
918
|
+
* @memberof DefaultApi
|
|
919
|
+
*/
|
|
920
|
+
DefaultApi.prototype.examinationDocumentsDownloadMultipleOptions = function (options) {
|
|
921
|
+
return exports.DefaultApiFp(this.configuration).examinationDocumentsDownloadMultipleOptions(options)(this.axios, this.basePath);
|
|
922
|
+
};
|
|
923
|
+
/**
|
|
924
|
+
*
|
|
925
|
+
* @param {string} key The key of the document
|
|
926
|
+
* @param {*} [options] Override http request option.
|
|
927
|
+
* @throws {RequiredError}
|
|
928
|
+
* @memberof DefaultApi
|
|
929
|
+
*/
|
|
930
|
+
DefaultApi.prototype.examinationDocumentsKeyDownloadOptions = function (key, options) {
|
|
931
|
+
return exports.DefaultApiFp(this.configuration).examinationDocumentsKeyDownloadOptions(key, options)(this.axios, this.basePath);
|
|
932
|
+
};
|
|
933
|
+
/**
|
|
934
|
+
*
|
|
935
|
+
* @param {string} id The id of the examination
|
|
936
|
+
* @param {*} [options] Override http request option.
|
|
937
|
+
* @throws {RequiredError}
|
|
938
|
+
* @memberof DefaultApi
|
|
939
|
+
*/
|
|
940
|
+
DefaultApi.prototype.examinationIdDocumentsOptions = function (id, options) {
|
|
941
|
+
return exports.DefaultApiFp(this.configuration).examinationIdDocumentsOptions(id, options)(this.axios, this.basePath);
|
|
942
|
+
};
|
|
757
943
|
/**
|
|
758
944
|
*
|
|
759
945
|
* @param {string} id The id of the examination
|
|
@@ -1031,6 +1217,61 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
1031
1217
|
options: localVarRequestOptions,
|
|
1032
1218
|
};
|
|
1033
1219
|
},
|
|
1220
|
+
/**
|
|
1221
|
+
*
|
|
1222
|
+
* @summary Deletes document
|
|
1223
|
+
* @param {string} id The id of the examination
|
|
1224
|
+
* @param {string} key The key of the document
|
|
1225
|
+
* @param {*} [options] Override http request option.
|
|
1226
|
+
* @throws {RequiredError}
|
|
1227
|
+
*/
|
|
1228
|
+
deleteExaminationDocument: function (id, key, options) {
|
|
1229
|
+
if (options === void 0) { options = {}; }
|
|
1230
|
+
// verify required parameter 'id' is not null or undefined
|
|
1231
|
+
if (id === null || id === undefined) {
|
|
1232
|
+
throw new base_1.RequiredError('id', 'Required parameter id was null or undefined when calling deleteExaminationDocument.');
|
|
1233
|
+
}
|
|
1234
|
+
// verify required parameter 'key' is not null or undefined
|
|
1235
|
+
if (key === null || key === undefined) {
|
|
1236
|
+
throw new base_1.RequiredError('key', 'Required parameter key was null or undefined when calling deleteExaminationDocument.');
|
|
1237
|
+
}
|
|
1238
|
+
var localVarPath = "/examination/{id}/documents"
|
|
1239
|
+
.replace("{" + "id" + "}", encodeURIComponent(String(id)));
|
|
1240
|
+
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
1241
|
+
var baseOptions;
|
|
1242
|
+
if (configuration) {
|
|
1243
|
+
baseOptions = configuration.baseOptions;
|
|
1244
|
+
}
|
|
1245
|
+
var localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
1246
|
+
var localVarHeaderParameter = {};
|
|
1247
|
+
var localVarQueryParameter = {};
|
|
1248
|
+
// authentication BearerAuth required
|
|
1249
|
+
// http bearer authentication required
|
|
1250
|
+
if (configuration && configuration.accessToken) {
|
|
1251
|
+
var accessToken = typeof configuration.accessToken === 'function'
|
|
1252
|
+
? configuration.accessToken()
|
|
1253
|
+
: configuration.accessToken;
|
|
1254
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
1255
|
+
}
|
|
1256
|
+
// authentication custom-authorizer required
|
|
1257
|
+
if (configuration && configuration.apiKey) {
|
|
1258
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
1259
|
+
? configuration.apiKey("Authorization")
|
|
1260
|
+
: configuration.apiKey;
|
|
1261
|
+
localVarHeaderParameter["Authorization"] = localVarApiKeyValue;
|
|
1262
|
+
}
|
|
1263
|
+
if (key !== undefined) {
|
|
1264
|
+
localVarQueryParameter['key'] = key;
|
|
1265
|
+
}
|
|
1266
|
+
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
1267
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
1268
|
+
delete localVarUrlObj.search;
|
|
1269
|
+
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
1270
|
+
return {
|
|
1271
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
1272
|
+
options: localVarRequestOptions,
|
|
1273
|
+
};
|
|
1274
|
+
},
|
|
1034
1275
|
/**
|
|
1035
1276
|
*
|
|
1036
1277
|
* @summary Deletes patient
|
|
@@ -1125,6 +1366,102 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
1125
1366
|
options: localVarRequestOptions,
|
|
1126
1367
|
};
|
|
1127
1368
|
},
|
|
1369
|
+
/**
|
|
1370
|
+
*
|
|
1371
|
+
* @summary Download the document
|
|
1372
|
+
* @param {string} key The key of the document
|
|
1373
|
+
* @param {*} [options] Override http request option.
|
|
1374
|
+
* @throws {RequiredError}
|
|
1375
|
+
*/
|
|
1376
|
+
downloadExaminationDocument: function (key, options) {
|
|
1377
|
+
if (options === void 0) { options = {}; }
|
|
1378
|
+
// verify required parameter 'key' is not null or undefined
|
|
1379
|
+
if (key === null || key === undefined) {
|
|
1380
|
+
throw new base_1.RequiredError('key', 'Required parameter key was null or undefined when calling downloadExaminationDocument.');
|
|
1381
|
+
}
|
|
1382
|
+
var localVarPath = "/examination/documents/{key}/download"
|
|
1383
|
+
.replace("{" + "key" + "}", encodeURIComponent(String(key)));
|
|
1384
|
+
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
1385
|
+
var baseOptions;
|
|
1386
|
+
if (configuration) {
|
|
1387
|
+
baseOptions = configuration.baseOptions;
|
|
1388
|
+
}
|
|
1389
|
+
var localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
1390
|
+
var localVarHeaderParameter = {};
|
|
1391
|
+
var localVarQueryParameter = {};
|
|
1392
|
+
// authentication BearerAuth required
|
|
1393
|
+
// http bearer authentication required
|
|
1394
|
+
if (configuration && configuration.accessToken) {
|
|
1395
|
+
var accessToken = typeof configuration.accessToken === 'function'
|
|
1396
|
+
? configuration.accessToken()
|
|
1397
|
+
: configuration.accessToken;
|
|
1398
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
1399
|
+
}
|
|
1400
|
+
// authentication custom-authorizer required
|
|
1401
|
+
if (configuration && configuration.apiKey) {
|
|
1402
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
1403
|
+
? configuration.apiKey("Authorization")
|
|
1404
|
+
: configuration.apiKey;
|
|
1405
|
+
localVarHeaderParameter["Authorization"] = localVarApiKeyValue;
|
|
1406
|
+
}
|
|
1407
|
+
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
1408
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
1409
|
+
delete localVarUrlObj.search;
|
|
1410
|
+
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
1411
|
+
return {
|
|
1412
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
1413
|
+
options: localVarRequestOptions,
|
|
1414
|
+
};
|
|
1415
|
+
},
|
|
1416
|
+
/**
|
|
1417
|
+
*
|
|
1418
|
+
* @summary Download zip with multiple files
|
|
1419
|
+
* @param {DownloadMultipleFilesRequest} downloadMultipleFilesRequest
|
|
1420
|
+
* @param {*} [options] Override http request option.
|
|
1421
|
+
* @throws {RequiredError}
|
|
1422
|
+
*/
|
|
1423
|
+
downloadExaminationFiles: function (downloadMultipleFilesRequest, options) {
|
|
1424
|
+
if (options === void 0) { options = {}; }
|
|
1425
|
+
// verify required parameter 'downloadMultipleFilesRequest' is not null or undefined
|
|
1426
|
+
if (downloadMultipleFilesRequest === null || downloadMultipleFilesRequest === undefined) {
|
|
1427
|
+
throw new base_1.RequiredError('downloadMultipleFilesRequest', 'Required parameter downloadMultipleFilesRequest was null or undefined when calling downloadExaminationFiles.');
|
|
1428
|
+
}
|
|
1429
|
+
var localVarPath = "/examination/documents/download/multiple";
|
|
1430
|
+
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
1431
|
+
var baseOptions;
|
|
1432
|
+
if (configuration) {
|
|
1433
|
+
baseOptions = configuration.baseOptions;
|
|
1434
|
+
}
|
|
1435
|
+
var localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
1436
|
+
var localVarHeaderParameter = {};
|
|
1437
|
+
var localVarQueryParameter = {};
|
|
1438
|
+
// authentication BearerAuth required
|
|
1439
|
+
// http bearer authentication required
|
|
1440
|
+
if (configuration && configuration.accessToken) {
|
|
1441
|
+
var accessToken = typeof configuration.accessToken === 'function'
|
|
1442
|
+
? configuration.accessToken()
|
|
1443
|
+
: configuration.accessToken;
|
|
1444
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
1445
|
+
}
|
|
1446
|
+
// authentication custom-authorizer required
|
|
1447
|
+
if (configuration && configuration.apiKey) {
|
|
1448
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
1449
|
+
? configuration.apiKey("Authorization")
|
|
1450
|
+
: configuration.apiKey;
|
|
1451
|
+
localVarHeaderParameter["Authorization"] = localVarApiKeyValue;
|
|
1452
|
+
}
|
|
1453
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1454
|
+
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
1455
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
1456
|
+
delete localVarUrlObj.search;
|
|
1457
|
+
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
1458
|
+
var needsSerialization = (typeof downloadMultipleFilesRequest !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
1459
|
+
localVarRequestOptions.data = needsSerialization ? JSON.stringify(downloadMultipleFilesRequest !== undefined ? downloadMultipleFilesRequest : {}) : (downloadMultipleFilesRequest || "");
|
|
1460
|
+
return {
|
|
1461
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
1462
|
+
options: localVarRequestOptions,
|
|
1463
|
+
};
|
|
1464
|
+
},
|
|
1128
1465
|
/**
|
|
1129
1466
|
*
|
|
1130
1467
|
* @summary Download zip with multiple files
|
|
@@ -1493,6 +1830,53 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
1493
1830
|
options: localVarRequestOptions,
|
|
1494
1831
|
};
|
|
1495
1832
|
},
|
|
1833
|
+
/**
|
|
1834
|
+
*
|
|
1835
|
+
* @summary Get data about documents
|
|
1836
|
+
* @param {string} id The id of the examination
|
|
1837
|
+
* @param {*} [options] Override http request option.
|
|
1838
|
+
* @throws {RequiredError}
|
|
1839
|
+
*/
|
|
1840
|
+
getExaminationDocuments: function (id, options) {
|
|
1841
|
+
if (options === void 0) { options = {}; }
|
|
1842
|
+
// verify required parameter 'id' is not null or undefined
|
|
1843
|
+
if (id === null || id === undefined) {
|
|
1844
|
+
throw new base_1.RequiredError('id', 'Required parameter id was null or undefined when calling getExaminationDocuments.');
|
|
1845
|
+
}
|
|
1846
|
+
var localVarPath = "/examination/{id}/documents"
|
|
1847
|
+
.replace("{" + "id" + "}", encodeURIComponent(String(id)));
|
|
1848
|
+
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
1849
|
+
var baseOptions;
|
|
1850
|
+
if (configuration) {
|
|
1851
|
+
baseOptions = configuration.baseOptions;
|
|
1852
|
+
}
|
|
1853
|
+
var localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
1854
|
+
var localVarHeaderParameter = {};
|
|
1855
|
+
var localVarQueryParameter = {};
|
|
1856
|
+
// authentication BearerAuth required
|
|
1857
|
+
// http bearer authentication required
|
|
1858
|
+
if (configuration && configuration.accessToken) {
|
|
1859
|
+
var accessToken = typeof configuration.accessToken === 'function'
|
|
1860
|
+
? configuration.accessToken()
|
|
1861
|
+
: configuration.accessToken;
|
|
1862
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
1863
|
+
}
|
|
1864
|
+
// authentication custom-authorizer required
|
|
1865
|
+
if (configuration && configuration.apiKey) {
|
|
1866
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
1867
|
+
? configuration.apiKey("Authorization")
|
|
1868
|
+
: configuration.apiKey;
|
|
1869
|
+
localVarHeaderParameter["Authorization"] = localVarApiKeyValue;
|
|
1870
|
+
}
|
|
1871
|
+
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
1872
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
1873
|
+
delete localVarUrlObj.search;
|
|
1874
|
+
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
1875
|
+
return {
|
|
1876
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
1877
|
+
options: localVarRequestOptions,
|
|
1878
|
+
};
|
|
1879
|
+
},
|
|
1496
1880
|
/**
|
|
1497
1881
|
*
|
|
1498
1882
|
* @summary Get data about patient
|
|
@@ -1793,6 +2177,60 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
1793
2177
|
options: localVarRequestOptions,
|
|
1794
2178
|
};
|
|
1795
2179
|
},
|
|
2180
|
+
/**
|
|
2181
|
+
* Upload medical examination files
|
|
2182
|
+
* @summary Upload documents
|
|
2183
|
+
* @param {string} id The id of the examination
|
|
2184
|
+
* @param {Array<any>} [files]
|
|
2185
|
+
* @param {*} [options] Override http request option.
|
|
2186
|
+
* @throws {RequiredError}
|
|
2187
|
+
*/
|
|
2188
|
+
uploadExaminationDocuments: function (id, files, options) {
|
|
2189
|
+
if (options === void 0) { options = {}; }
|
|
2190
|
+
// verify required parameter 'id' is not null or undefined
|
|
2191
|
+
if (id === null || id === undefined) {
|
|
2192
|
+
throw new base_1.RequiredError('id', 'Required parameter id was null or undefined when calling uploadExaminationDocuments.');
|
|
2193
|
+
}
|
|
2194
|
+
var localVarPath = "/examination/{id}/documents"
|
|
2195
|
+
.replace("{" + "id" + "}", encodeURIComponent(String(id)));
|
|
2196
|
+
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
2197
|
+
var baseOptions;
|
|
2198
|
+
if (configuration) {
|
|
2199
|
+
baseOptions = configuration.baseOptions;
|
|
2200
|
+
}
|
|
2201
|
+
var localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
2202
|
+
var localVarHeaderParameter = {};
|
|
2203
|
+
var localVarQueryParameter = {};
|
|
2204
|
+
var localVarFormParams = new FormData();
|
|
2205
|
+
// authentication BearerAuth required
|
|
2206
|
+
// http bearer authentication required
|
|
2207
|
+
if (configuration && configuration.accessToken) {
|
|
2208
|
+
var accessToken = typeof configuration.accessToken === 'function'
|
|
2209
|
+
? configuration.accessToken()
|
|
2210
|
+
: configuration.accessToken;
|
|
2211
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
2212
|
+
}
|
|
2213
|
+
// authentication custom-authorizer required
|
|
2214
|
+
if (configuration && configuration.apiKey) {
|
|
2215
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
2216
|
+
? configuration.apiKey("Authorization")
|
|
2217
|
+
: configuration.apiKey;
|
|
2218
|
+
localVarHeaderParameter["Authorization"] = localVarApiKeyValue;
|
|
2219
|
+
}
|
|
2220
|
+
if (files) {
|
|
2221
|
+
localVarFormParams.append('files', files.join(base_1.COLLECTION_FORMATS.csv));
|
|
2222
|
+
}
|
|
2223
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
2224
|
+
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
2225
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
2226
|
+
delete localVarUrlObj.search;
|
|
2227
|
+
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
2228
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
2229
|
+
return {
|
|
2230
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
2231
|
+
options: localVarRequestOptions,
|
|
2232
|
+
};
|
|
2233
|
+
},
|
|
1796
2234
|
};
|
|
1797
2235
|
};
|
|
1798
2236
|
/**
|
|
@@ -1866,6 +2304,23 @@ exports.MsPetApiFp = function (configuration) {
|
|
|
1866
2304
|
return axios.request(axiosRequestArgs);
|
|
1867
2305
|
};
|
|
1868
2306
|
},
|
|
2307
|
+
/**
|
|
2308
|
+
*
|
|
2309
|
+
* @summary Deletes document
|
|
2310
|
+
* @param {string} id The id of the examination
|
|
2311
|
+
* @param {string} key The key of the document
|
|
2312
|
+
* @param {*} [options] Override http request option.
|
|
2313
|
+
* @throws {RequiredError}
|
|
2314
|
+
*/
|
|
2315
|
+
deleteExaminationDocument: function (id, key, options) {
|
|
2316
|
+
var localVarAxiosArgs = exports.MsPetApiAxiosParamCreator(configuration).deleteExaminationDocument(id, key, options);
|
|
2317
|
+
return function (axios, basePath) {
|
|
2318
|
+
if (axios === void 0) { axios = axios_1.default; }
|
|
2319
|
+
if (basePath === void 0) { basePath = base_1.BASE_PATH; }
|
|
2320
|
+
var axiosRequestArgs = __assign(__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
2321
|
+
return axios.request(axiosRequestArgs);
|
|
2322
|
+
};
|
|
2323
|
+
},
|
|
1869
2324
|
/**
|
|
1870
2325
|
*
|
|
1871
2326
|
* @summary Deletes patient
|
|
@@ -1898,6 +2353,38 @@ exports.MsPetApiFp = function (configuration) {
|
|
|
1898
2353
|
return axios.request(axiosRequestArgs);
|
|
1899
2354
|
};
|
|
1900
2355
|
},
|
|
2356
|
+
/**
|
|
2357
|
+
*
|
|
2358
|
+
* @summary Download the document
|
|
2359
|
+
* @param {string} key The key of the document
|
|
2360
|
+
* @param {*} [options] Override http request option.
|
|
2361
|
+
* @throws {RequiredError}
|
|
2362
|
+
*/
|
|
2363
|
+
downloadExaminationDocument: function (key, options) {
|
|
2364
|
+
var localVarAxiosArgs = exports.MsPetApiAxiosParamCreator(configuration).downloadExaminationDocument(key, options);
|
|
2365
|
+
return function (axios, basePath) {
|
|
2366
|
+
if (axios === void 0) { axios = axios_1.default; }
|
|
2367
|
+
if (basePath === void 0) { basePath = base_1.BASE_PATH; }
|
|
2368
|
+
var axiosRequestArgs = __assign(__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
2369
|
+
return axios.request(axiosRequestArgs);
|
|
2370
|
+
};
|
|
2371
|
+
},
|
|
2372
|
+
/**
|
|
2373
|
+
*
|
|
2374
|
+
* @summary Download zip with multiple files
|
|
2375
|
+
* @param {DownloadMultipleFilesRequest} downloadMultipleFilesRequest
|
|
2376
|
+
* @param {*} [options] Override http request option.
|
|
2377
|
+
* @throws {RequiredError}
|
|
2378
|
+
*/
|
|
2379
|
+
downloadExaminationFiles: function (downloadMultipleFilesRequest, options) {
|
|
2380
|
+
var localVarAxiosArgs = exports.MsPetApiAxiosParamCreator(configuration).downloadExaminationFiles(downloadMultipleFilesRequest, options);
|
|
2381
|
+
return function (axios, basePath) {
|
|
2382
|
+
if (axios === void 0) { axios = axios_1.default; }
|
|
2383
|
+
if (basePath === void 0) { basePath = base_1.BASE_PATH; }
|
|
2384
|
+
var axiosRequestArgs = __assign(__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
2385
|
+
return axios.request(axiosRequestArgs);
|
|
2386
|
+
};
|
|
2387
|
+
},
|
|
1901
2388
|
/**
|
|
1902
2389
|
*
|
|
1903
2390
|
* @summary Download zip with multiple files
|
|
@@ -2024,6 +2511,22 @@ exports.MsPetApiFp = function (configuration) {
|
|
|
2024
2511
|
return axios.request(axiosRequestArgs);
|
|
2025
2512
|
};
|
|
2026
2513
|
},
|
|
2514
|
+
/**
|
|
2515
|
+
*
|
|
2516
|
+
* @summary Get data about documents
|
|
2517
|
+
* @param {string} id The id of the examination
|
|
2518
|
+
* @param {*} [options] Override http request option.
|
|
2519
|
+
* @throws {RequiredError}
|
|
2520
|
+
*/
|
|
2521
|
+
getExaminationDocuments: function (id, options) {
|
|
2522
|
+
var localVarAxiosArgs = exports.MsPetApiAxiosParamCreator(configuration).getExaminationDocuments(id, options);
|
|
2523
|
+
return function (axios, basePath) {
|
|
2524
|
+
if (axios === void 0) { axios = axios_1.default; }
|
|
2525
|
+
if (basePath === void 0) { basePath = base_1.BASE_PATH; }
|
|
2526
|
+
var axiosRequestArgs = __assign(__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
2527
|
+
return axios.request(axiosRequestArgs);
|
|
2528
|
+
};
|
|
2529
|
+
},
|
|
2027
2530
|
/**
|
|
2028
2531
|
*
|
|
2029
2532
|
* @summary Get data about patient
|
|
@@ -2123,6 +2626,23 @@ exports.MsPetApiFp = function (configuration) {
|
|
|
2123
2626
|
return axios.request(axiosRequestArgs);
|
|
2124
2627
|
};
|
|
2125
2628
|
},
|
|
2629
|
+
/**
|
|
2630
|
+
* Upload medical examination files
|
|
2631
|
+
* @summary Upload documents
|
|
2632
|
+
* @param {string} id The id of the examination
|
|
2633
|
+
* @param {Array<any>} [files]
|
|
2634
|
+
* @param {*} [options] Override http request option.
|
|
2635
|
+
* @throws {RequiredError}
|
|
2636
|
+
*/
|
|
2637
|
+
uploadExaminationDocuments: function (id, files, options) {
|
|
2638
|
+
var localVarAxiosArgs = exports.MsPetApiAxiosParamCreator(configuration).uploadExaminationDocuments(id, files, options);
|
|
2639
|
+
return function (axios, basePath) {
|
|
2640
|
+
if (axios === void 0) { axios = axios_1.default; }
|
|
2641
|
+
if (basePath === void 0) { basePath = base_1.BASE_PATH; }
|
|
2642
|
+
var axiosRequestArgs = __assign(__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
2643
|
+
return axios.request(axiosRequestArgs);
|
|
2644
|
+
};
|
|
2645
|
+
},
|
|
2126
2646
|
};
|
|
2127
2647
|
};
|
|
2128
2648
|
/**
|
|
@@ -2172,6 +2692,17 @@ exports.MsPetApiFactory = function (configuration, basePath, axios) {
|
|
|
2172
2692
|
deleteExamination: function (id, options) {
|
|
2173
2693
|
return exports.MsPetApiFp(configuration).deleteExamination(id, options)(axios, basePath);
|
|
2174
2694
|
},
|
|
2695
|
+
/**
|
|
2696
|
+
*
|
|
2697
|
+
* @summary Deletes document
|
|
2698
|
+
* @param {string} id The id of the examination
|
|
2699
|
+
* @param {string} key The key of the document
|
|
2700
|
+
* @param {*} [options] Override http request option.
|
|
2701
|
+
* @throws {RequiredError}
|
|
2702
|
+
*/
|
|
2703
|
+
deleteExaminationDocument: function (id, key, options) {
|
|
2704
|
+
return exports.MsPetApiFp(configuration).deleteExaminationDocument(id, key, options)(axios, basePath);
|
|
2705
|
+
},
|
|
2175
2706
|
/**
|
|
2176
2707
|
*
|
|
2177
2708
|
* @summary Deletes patient
|
|
@@ -2192,6 +2723,26 @@ exports.MsPetApiFactory = function (configuration, basePath, axios) {
|
|
|
2192
2723
|
downloadDocument: function (key, options) {
|
|
2193
2724
|
return exports.MsPetApiFp(configuration).downloadDocument(key, options)(axios, basePath);
|
|
2194
2725
|
},
|
|
2726
|
+
/**
|
|
2727
|
+
*
|
|
2728
|
+
* @summary Download the document
|
|
2729
|
+
* @param {string} key The key of the document
|
|
2730
|
+
* @param {*} [options] Override http request option.
|
|
2731
|
+
* @throws {RequiredError}
|
|
2732
|
+
*/
|
|
2733
|
+
downloadExaminationDocument: function (key, options) {
|
|
2734
|
+
return exports.MsPetApiFp(configuration).downloadExaminationDocument(key, options)(axios, basePath);
|
|
2735
|
+
},
|
|
2736
|
+
/**
|
|
2737
|
+
*
|
|
2738
|
+
* @summary Download zip with multiple files
|
|
2739
|
+
* @param {DownloadMultipleFilesRequest} downloadMultipleFilesRequest
|
|
2740
|
+
* @param {*} [options] Override http request option.
|
|
2741
|
+
* @throws {RequiredError}
|
|
2742
|
+
*/
|
|
2743
|
+
downloadExaminationFiles: function (downloadMultipleFilesRequest, options) {
|
|
2744
|
+
return exports.MsPetApiFp(configuration).downloadExaminationFiles(downloadMultipleFilesRequest, options)(axios, basePath);
|
|
2745
|
+
},
|
|
2195
2746
|
/**
|
|
2196
2747
|
*
|
|
2197
2748
|
* @summary Download zip with multiple files
|
|
@@ -2270,6 +2821,16 @@ exports.MsPetApiFactory = function (configuration, basePath, axios) {
|
|
|
2270
2821
|
getExamination: function (id, options) {
|
|
2271
2822
|
return exports.MsPetApiFp(configuration).getExamination(id, options)(axios, basePath);
|
|
2272
2823
|
},
|
|
2824
|
+
/**
|
|
2825
|
+
*
|
|
2826
|
+
* @summary Get data about documents
|
|
2827
|
+
* @param {string} id The id of the examination
|
|
2828
|
+
* @param {*} [options] Override http request option.
|
|
2829
|
+
* @throws {RequiredError}
|
|
2830
|
+
*/
|
|
2831
|
+
getExaminationDocuments: function (id, options) {
|
|
2832
|
+
return exports.MsPetApiFp(configuration).getExaminationDocuments(id, options)(axios, basePath);
|
|
2833
|
+
},
|
|
2273
2834
|
/**
|
|
2274
2835
|
*
|
|
2275
2836
|
* @summary Get data about patient
|
|
@@ -2333,6 +2894,17 @@ exports.MsPetApiFactory = function (configuration, basePath, axios) {
|
|
|
2333
2894
|
uploadDocuments: function (id, files, options) {
|
|
2334
2895
|
return exports.MsPetApiFp(configuration).uploadDocuments(id, files, options)(axios, basePath);
|
|
2335
2896
|
},
|
|
2897
|
+
/**
|
|
2898
|
+
* Upload medical examination files
|
|
2899
|
+
* @summary Upload documents
|
|
2900
|
+
* @param {string} id The id of the examination
|
|
2901
|
+
* @param {Array<any>} [files]
|
|
2902
|
+
* @param {*} [options] Override http request option.
|
|
2903
|
+
* @throws {RequiredError}
|
|
2904
|
+
*/
|
|
2905
|
+
uploadExaminationDocuments: function (id, files, options) {
|
|
2906
|
+
return exports.MsPetApiFp(configuration).uploadExaminationDocuments(id, files, options)(axios, basePath);
|
|
2907
|
+
},
|
|
2336
2908
|
};
|
|
2337
2909
|
};
|
|
2338
2910
|
/**
|
|
@@ -2391,6 +2963,18 @@ var MsPetApi = /** @class */ (function (_super) {
|
|
|
2391
2963
|
MsPetApi.prototype.deleteExamination = function (id, options) {
|
|
2392
2964
|
return exports.MsPetApiFp(this.configuration).deleteExamination(id, options)(this.axios, this.basePath);
|
|
2393
2965
|
};
|
|
2966
|
+
/**
|
|
2967
|
+
*
|
|
2968
|
+
* @summary Deletes document
|
|
2969
|
+
* @param {string} id The id of the examination
|
|
2970
|
+
* @param {string} key The key of the document
|
|
2971
|
+
* @param {*} [options] Override http request option.
|
|
2972
|
+
* @throws {RequiredError}
|
|
2973
|
+
* @memberof MsPetApi
|
|
2974
|
+
*/
|
|
2975
|
+
MsPetApi.prototype.deleteExaminationDocument = function (id, key, options) {
|
|
2976
|
+
return exports.MsPetApiFp(this.configuration).deleteExaminationDocument(id, key, options)(this.axios, this.basePath);
|
|
2977
|
+
};
|
|
2394
2978
|
/**
|
|
2395
2979
|
*
|
|
2396
2980
|
* @summary Deletes patient
|
|
@@ -2413,6 +2997,28 @@ var MsPetApi = /** @class */ (function (_super) {
|
|
|
2413
2997
|
MsPetApi.prototype.downloadDocument = function (key, options) {
|
|
2414
2998
|
return exports.MsPetApiFp(this.configuration).downloadDocument(key, options)(this.axios, this.basePath);
|
|
2415
2999
|
};
|
|
3000
|
+
/**
|
|
3001
|
+
*
|
|
3002
|
+
* @summary Download the document
|
|
3003
|
+
* @param {string} key The key of the document
|
|
3004
|
+
* @param {*} [options] Override http request option.
|
|
3005
|
+
* @throws {RequiredError}
|
|
3006
|
+
* @memberof MsPetApi
|
|
3007
|
+
*/
|
|
3008
|
+
MsPetApi.prototype.downloadExaminationDocument = function (key, options) {
|
|
3009
|
+
return exports.MsPetApiFp(this.configuration).downloadExaminationDocument(key, options)(this.axios, this.basePath);
|
|
3010
|
+
};
|
|
3011
|
+
/**
|
|
3012
|
+
*
|
|
3013
|
+
* @summary Download zip with multiple files
|
|
3014
|
+
* @param {DownloadMultipleFilesRequest} downloadMultipleFilesRequest
|
|
3015
|
+
* @param {*} [options] Override http request option.
|
|
3016
|
+
* @throws {RequiredError}
|
|
3017
|
+
* @memberof MsPetApi
|
|
3018
|
+
*/
|
|
3019
|
+
MsPetApi.prototype.downloadExaminationFiles = function (downloadMultipleFilesRequest, options) {
|
|
3020
|
+
return exports.MsPetApiFp(this.configuration).downloadExaminationFiles(downloadMultipleFilesRequest, options)(this.axios, this.basePath);
|
|
3021
|
+
};
|
|
2416
3022
|
/**
|
|
2417
3023
|
*
|
|
2418
3024
|
* @summary Download zip with multiple files
|
|
@@ -2499,6 +3105,17 @@ var MsPetApi = /** @class */ (function (_super) {
|
|
|
2499
3105
|
MsPetApi.prototype.getExamination = function (id, options) {
|
|
2500
3106
|
return exports.MsPetApiFp(this.configuration).getExamination(id, options)(this.axios, this.basePath);
|
|
2501
3107
|
};
|
|
3108
|
+
/**
|
|
3109
|
+
*
|
|
3110
|
+
* @summary Get data about documents
|
|
3111
|
+
* @param {string} id The id of the examination
|
|
3112
|
+
* @param {*} [options] Override http request option.
|
|
3113
|
+
* @throws {RequiredError}
|
|
3114
|
+
* @memberof MsPetApi
|
|
3115
|
+
*/
|
|
3116
|
+
MsPetApi.prototype.getExaminationDocuments = function (id, options) {
|
|
3117
|
+
return exports.MsPetApiFp(this.configuration).getExaminationDocuments(id, options)(this.axios, this.basePath);
|
|
3118
|
+
};
|
|
2502
3119
|
/**
|
|
2503
3120
|
*
|
|
2504
3121
|
* @summary Get data about patient
|
|
@@ -2568,6 +3185,18 @@ var MsPetApi = /** @class */ (function (_super) {
|
|
|
2568
3185
|
MsPetApi.prototype.uploadDocuments = function (id, files, options) {
|
|
2569
3186
|
return exports.MsPetApiFp(this.configuration).uploadDocuments(id, files, options)(this.axios, this.basePath);
|
|
2570
3187
|
};
|
|
3188
|
+
/**
|
|
3189
|
+
* Upload medical examination files
|
|
3190
|
+
* @summary Upload documents
|
|
3191
|
+
* @param {string} id The id of the examination
|
|
3192
|
+
* @param {Array<any>} [files]
|
|
3193
|
+
* @param {*} [options] Override http request option.
|
|
3194
|
+
* @throws {RequiredError}
|
|
3195
|
+
* @memberof MsPetApi
|
|
3196
|
+
*/
|
|
3197
|
+
MsPetApi.prototype.uploadExaminationDocuments = function (id, files, options) {
|
|
3198
|
+
return exports.MsPetApiFp(this.configuration).uploadExaminationDocuments(id, files, options)(this.axios, this.basePath);
|
|
3199
|
+
};
|
|
2571
3200
|
return MsPetApi;
|
|
2572
3201
|
}(base_1.BaseAPI));
|
|
2573
3202
|
exports.MsPetApi = MsPetApi;
|