pet-backend-sdk 0.12.0 → 0.16.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 +327 -44
- package/axios/api.js +464 -76
- package/axios/api.js.map +1 -1
- package/package.json +1 -1
package/axios/api.js
CHANGED
|
@@ -77,17 +77,17 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
77
77
|
return {
|
|
78
78
|
/**
|
|
79
79
|
*
|
|
80
|
-
* @param {string} id The id of the
|
|
80
|
+
* @param {string} id The id of the patient
|
|
81
81
|
* @param {*} [options] Override http request option.
|
|
82
82
|
* @throws {RequiredError}
|
|
83
83
|
*/
|
|
84
|
-
|
|
84
|
+
dicomIdAllStudiesOptions: function (id, options) {
|
|
85
85
|
if (options === void 0) { options = {}; }
|
|
86
86
|
// verify required parameter 'id' is not null or undefined
|
|
87
87
|
if (id === null || id === undefined) {
|
|
88
|
-
throw new base_1.RequiredError('id', 'Required parameter id was null or undefined when calling
|
|
88
|
+
throw new base_1.RequiredError('id', 'Required parameter id was null or undefined when calling dicomIdAllStudiesOptions.');
|
|
89
89
|
}
|
|
90
|
-
var localVarPath = "/
|
|
90
|
+
var localVarPath = "/dicom/{id}/all-studies"
|
|
91
91
|
.replace("{" + "id" + "}", encodeURIComponent(String(id)));
|
|
92
92
|
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
93
93
|
var baseOptions;
|
|
@@ -108,17 +108,17 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
108
108
|
},
|
|
109
109
|
/**
|
|
110
110
|
*
|
|
111
|
-
* @param {string} id The id of the
|
|
111
|
+
* @param {string} id The id of the study
|
|
112
112
|
* @param {*} [options] Override http request option.
|
|
113
113
|
* @throws {RequiredError}
|
|
114
114
|
*/
|
|
115
|
-
|
|
115
|
+
dicomIdDownloadOptions: function (id, options) {
|
|
116
116
|
if (options === void 0) { options = {}; }
|
|
117
117
|
// verify required parameter 'id' is not null or undefined
|
|
118
118
|
if (id === null || id === undefined) {
|
|
119
|
-
throw new base_1.RequiredError('id', 'Required parameter id was null or undefined when calling
|
|
119
|
+
throw new base_1.RequiredError('id', 'Required parameter id was null or undefined when calling dicomIdDownloadOptions.');
|
|
120
120
|
}
|
|
121
|
-
var localVarPath = "/
|
|
121
|
+
var localVarPath = "/dicom/{id}/download"
|
|
122
122
|
.replace("{" + "id" + "}", encodeURIComponent(String(id)));
|
|
123
123
|
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
124
124
|
var baseOptions;
|
|
@@ -249,6 +249,68 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
249
249
|
options: localVarRequestOptions,
|
|
250
250
|
};
|
|
251
251
|
},
|
|
252
|
+
/**
|
|
253
|
+
*
|
|
254
|
+
* @param {string} key The key of the document
|
|
255
|
+
* @param {*} [options] Override http request option.
|
|
256
|
+
* @throws {RequiredError}
|
|
257
|
+
*/
|
|
258
|
+
patientDocumentsKeyDownloadOptions: function (key, options) {
|
|
259
|
+
if (options === void 0) { options = {}; }
|
|
260
|
+
// verify required parameter 'key' is not null or undefined
|
|
261
|
+
if (key === null || key === undefined) {
|
|
262
|
+
throw new base_1.RequiredError('key', 'Required parameter key was null or undefined when calling patientDocumentsKeyDownloadOptions.');
|
|
263
|
+
}
|
|
264
|
+
var localVarPath = "/patient/documents/{key}/download"
|
|
265
|
+
.replace("{" + "key" + "}", encodeURIComponent(String(key)));
|
|
266
|
+
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
267
|
+
var baseOptions;
|
|
268
|
+
if (configuration) {
|
|
269
|
+
baseOptions = configuration.baseOptions;
|
|
270
|
+
}
|
|
271
|
+
var localVarRequestOptions = __assign(__assign({ method: 'OPTIONS' }, baseOptions), options);
|
|
272
|
+
var localVarHeaderParameter = {};
|
|
273
|
+
var localVarQueryParameter = {};
|
|
274
|
+
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
275
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
276
|
+
delete localVarUrlObj.search;
|
|
277
|
+
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
278
|
+
return {
|
|
279
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
280
|
+
options: localVarRequestOptions,
|
|
281
|
+
};
|
|
282
|
+
},
|
|
283
|
+
/**
|
|
284
|
+
*
|
|
285
|
+
* @param {string} id The id of the patient
|
|
286
|
+
* @param {*} [options] Override http request option.
|
|
287
|
+
* @throws {RequiredError}
|
|
288
|
+
*/
|
|
289
|
+
patientIdDocumentsOptions: function (id, options) {
|
|
290
|
+
if (options === void 0) { options = {}; }
|
|
291
|
+
// verify required parameter 'id' is not null or undefined
|
|
292
|
+
if (id === null || id === undefined) {
|
|
293
|
+
throw new base_1.RequiredError('id', 'Required parameter id was null or undefined when calling patientIdDocumentsOptions.');
|
|
294
|
+
}
|
|
295
|
+
var localVarPath = "/patient/{id}/documents"
|
|
296
|
+
.replace("{" + "id" + "}", encodeURIComponent(String(id)));
|
|
297
|
+
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
298
|
+
var baseOptions;
|
|
299
|
+
if (configuration) {
|
|
300
|
+
baseOptions = configuration.baseOptions;
|
|
301
|
+
}
|
|
302
|
+
var localVarRequestOptions = __assign(__assign({ method: 'OPTIONS' }, baseOptions), options);
|
|
303
|
+
var localVarHeaderParameter = {};
|
|
304
|
+
var localVarQueryParameter = {};
|
|
305
|
+
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
306
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
307
|
+
delete localVarUrlObj.search;
|
|
308
|
+
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
309
|
+
return {
|
|
310
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
311
|
+
options: localVarRequestOptions,
|
|
312
|
+
};
|
|
313
|
+
},
|
|
252
314
|
/**
|
|
253
315
|
*
|
|
254
316
|
* @param {string} id The id of the patient
|
|
@@ -315,12 +377,12 @@ exports.DefaultApiFp = function (configuration) {
|
|
|
315
377
|
return {
|
|
316
378
|
/**
|
|
317
379
|
*
|
|
318
|
-
* @param {string} id The id of the
|
|
380
|
+
* @param {string} id The id of the patient
|
|
319
381
|
* @param {*} [options] Override http request option.
|
|
320
382
|
* @throws {RequiredError}
|
|
321
383
|
*/
|
|
322
|
-
|
|
323
|
-
var localVarAxiosArgs = exports.DefaultApiAxiosParamCreator(configuration).
|
|
384
|
+
dicomIdAllStudiesOptions: function (id, options) {
|
|
385
|
+
var localVarAxiosArgs = exports.DefaultApiAxiosParamCreator(configuration).dicomIdAllStudiesOptions(id, options);
|
|
324
386
|
return function (axios, basePath) {
|
|
325
387
|
if (axios === void 0) { axios = axios_1.default; }
|
|
326
388
|
if (basePath === void 0) { basePath = base_1.BASE_PATH; }
|
|
@@ -330,12 +392,12 @@ exports.DefaultApiFp = function (configuration) {
|
|
|
330
392
|
},
|
|
331
393
|
/**
|
|
332
394
|
*
|
|
333
|
-
* @param {string} id The id of the
|
|
395
|
+
* @param {string} id The id of the study
|
|
334
396
|
* @param {*} [options] Override http request option.
|
|
335
397
|
* @throws {RequiredError}
|
|
336
398
|
*/
|
|
337
|
-
|
|
338
|
-
var localVarAxiosArgs = exports.DefaultApiAxiosParamCreator(configuration).
|
|
399
|
+
dicomIdDownloadOptions: function (id, options) {
|
|
400
|
+
var localVarAxiosArgs = exports.DefaultApiAxiosParamCreator(configuration).dicomIdDownloadOptions(id, options);
|
|
339
401
|
return function (axios, basePath) {
|
|
340
402
|
if (axios === void 0) { axios = axios_1.default; }
|
|
341
403
|
if (basePath === void 0) { basePath = base_1.BASE_PATH; }
|
|
@@ -401,6 +463,36 @@ exports.DefaultApiFp = function (configuration) {
|
|
|
401
463
|
return axios.request(axiosRequestArgs);
|
|
402
464
|
};
|
|
403
465
|
},
|
|
466
|
+
/**
|
|
467
|
+
*
|
|
468
|
+
* @param {string} key The key of the document
|
|
469
|
+
* @param {*} [options] Override http request option.
|
|
470
|
+
* @throws {RequiredError}
|
|
471
|
+
*/
|
|
472
|
+
patientDocumentsKeyDownloadOptions: function (key, options) {
|
|
473
|
+
var localVarAxiosArgs = exports.DefaultApiAxiosParamCreator(configuration).patientDocumentsKeyDownloadOptions(key, options);
|
|
474
|
+
return function (axios, basePath) {
|
|
475
|
+
if (axios === void 0) { axios = axios_1.default; }
|
|
476
|
+
if (basePath === void 0) { basePath = base_1.BASE_PATH; }
|
|
477
|
+
var axiosRequestArgs = __assign(__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
478
|
+
return axios.request(axiosRequestArgs);
|
|
479
|
+
};
|
|
480
|
+
},
|
|
481
|
+
/**
|
|
482
|
+
*
|
|
483
|
+
* @param {string} id The id of the patient
|
|
484
|
+
* @param {*} [options] Override http request option.
|
|
485
|
+
* @throws {RequiredError}
|
|
486
|
+
*/
|
|
487
|
+
patientIdDocumentsOptions: function (id, options) {
|
|
488
|
+
var localVarAxiosArgs = exports.DefaultApiAxiosParamCreator(configuration).patientIdDocumentsOptions(id, options);
|
|
489
|
+
return function (axios, basePath) {
|
|
490
|
+
if (axios === void 0) { axios = axios_1.default; }
|
|
491
|
+
if (basePath === void 0) { basePath = base_1.BASE_PATH; }
|
|
492
|
+
var axiosRequestArgs = __assign(__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
493
|
+
return axios.request(axiosRequestArgs);
|
|
494
|
+
};
|
|
495
|
+
},
|
|
404
496
|
/**
|
|
405
497
|
*
|
|
406
498
|
* @param {string} id The id of the patient
|
|
@@ -440,21 +532,21 @@ exports.DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
440
532
|
return {
|
|
441
533
|
/**
|
|
442
534
|
*
|
|
443
|
-
* @param {string} id The id of the
|
|
535
|
+
* @param {string} id The id of the patient
|
|
444
536
|
* @param {*} [options] Override http request option.
|
|
445
537
|
* @throws {RequiredError}
|
|
446
538
|
*/
|
|
447
|
-
|
|
448
|
-
return exports.DefaultApiFp(configuration).
|
|
539
|
+
dicomIdAllStudiesOptions: function (id, options) {
|
|
540
|
+
return exports.DefaultApiFp(configuration).dicomIdAllStudiesOptions(id, options)(axios, basePath);
|
|
449
541
|
},
|
|
450
542
|
/**
|
|
451
543
|
*
|
|
452
|
-
* @param {string} id The id of the
|
|
544
|
+
* @param {string} id The id of the study
|
|
453
545
|
* @param {*} [options] Override http request option.
|
|
454
546
|
* @throws {RequiredError}
|
|
455
547
|
*/
|
|
456
|
-
|
|
457
|
-
return exports.DefaultApiFp(configuration).
|
|
548
|
+
dicomIdDownloadOptions: function (id, options) {
|
|
549
|
+
return exports.DefaultApiFp(configuration).dicomIdDownloadOptions(id, options)(axios, basePath);
|
|
458
550
|
},
|
|
459
551
|
/**
|
|
460
552
|
*
|
|
@@ -490,6 +582,24 @@ exports.DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
490
582
|
examinationSendEmailOptions: function (options) {
|
|
491
583
|
return exports.DefaultApiFp(configuration).examinationSendEmailOptions(options)(axios, basePath);
|
|
492
584
|
},
|
|
585
|
+
/**
|
|
586
|
+
*
|
|
587
|
+
* @param {string} key The key of the document
|
|
588
|
+
* @param {*} [options] Override http request option.
|
|
589
|
+
* @throws {RequiredError}
|
|
590
|
+
*/
|
|
591
|
+
patientDocumentsKeyDownloadOptions: function (key, options) {
|
|
592
|
+
return exports.DefaultApiFp(configuration).patientDocumentsKeyDownloadOptions(key, options)(axios, basePath);
|
|
593
|
+
},
|
|
594
|
+
/**
|
|
595
|
+
*
|
|
596
|
+
* @param {string} id The id of the patient
|
|
597
|
+
* @param {*} [options] Override http request option.
|
|
598
|
+
* @throws {RequiredError}
|
|
599
|
+
*/
|
|
600
|
+
patientIdDocumentsOptions: function (id, options) {
|
|
601
|
+
return exports.DefaultApiFp(configuration).patientIdDocumentsOptions(id, options)(axios, basePath);
|
|
602
|
+
},
|
|
493
603
|
/**
|
|
494
604
|
*
|
|
495
605
|
* @param {string} id The id of the patient
|
|
@@ -522,23 +632,23 @@ var DefaultApi = /** @class */ (function (_super) {
|
|
|
522
632
|
}
|
|
523
633
|
/**
|
|
524
634
|
*
|
|
525
|
-
* @param {string} id The id of the
|
|
635
|
+
* @param {string} id The id of the patient
|
|
526
636
|
* @param {*} [options] Override http request option.
|
|
527
637
|
* @throws {RequiredError}
|
|
528
638
|
* @memberof DefaultApi
|
|
529
639
|
*/
|
|
530
|
-
DefaultApi.prototype.
|
|
531
|
-
return exports.DefaultApiFp(this.configuration).
|
|
640
|
+
DefaultApi.prototype.dicomIdAllStudiesOptions = function (id, options) {
|
|
641
|
+
return exports.DefaultApiFp(this.configuration).dicomIdAllStudiesOptions(id, options)(this.axios, this.basePath);
|
|
532
642
|
};
|
|
533
643
|
/**
|
|
534
644
|
*
|
|
535
|
-
* @param {string} id The id of the
|
|
645
|
+
* @param {string} id The id of the study
|
|
536
646
|
* @param {*} [options] Override http request option.
|
|
537
647
|
* @throws {RequiredError}
|
|
538
648
|
* @memberof DefaultApi
|
|
539
649
|
*/
|
|
540
|
-
DefaultApi.prototype.
|
|
541
|
-
return exports.DefaultApiFp(this.configuration).
|
|
650
|
+
DefaultApi.prototype.dicomIdDownloadOptions = function (id, options) {
|
|
651
|
+
return exports.DefaultApiFp(this.configuration).dicomIdDownloadOptions(id, options)(this.axios, this.basePath);
|
|
542
652
|
};
|
|
543
653
|
/**
|
|
544
654
|
*
|
|
@@ -578,6 +688,26 @@ var DefaultApi = /** @class */ (function (_super) {
|
|
|
578
688
|
DefaultApi.prototype.examinationSendEmailOptions = function (options) {
|
|
579
689
|
return exports.DefaultApiFp(this.configuration).examinationSendEmailOptions(options)(this.axios, this.basePath);
|
|
580
690
|
};
|
|
691
|
+
/**
|
|
692
|
+
*
|
|
693
|
+
* @param {string} key The key of the document
|
|
694
|
+
* @param {*} [options] Override http request option.
|
|
695
|
+
* @throws {RequiredError}
|
|
696
|
+
* @memberof DefaultApi
|
|
697
|
+
*/
|
|
698
|
+
DefaultApi.prototype.patientDocumentsKeyDownloadOptions = function (key, options) {
|
|
699
|
+
return exports.DefaultApiFp(this.configuration).patientDocumentsKeyDownloadOptions(key, options)(this.axios, this.basePath);
|
|
700
|
+
};
|
|
701
|
+
/**
|
|
702
|
+
*
|
|
703
|
+
* @param {string} id The id of the patient
|
|
704
|
+
* @param {*} [options] Override http request option.
|
|
705
|
+
* @throws {RequiredError}
|
|
706
|
+
* @memberof DefaultApi
|
|
707
|
+
*/
|
|
708
|
+
DefaultApi.prototype.patientIdDocumentsOptions = function (id, options) {
|
|
709
|
+
return exports.DefaultApiFp(this.configuration).patientIdDocumentsOptions(id, options)(this.axios, this.basePath);
|
|
710
|
+
};
|
|
581
711
|
/**
|
|
582
712
|
*
|
|
583
713
|
* @param {string} id The id of the patient
|
|
@@ -632,6 +762,13 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
632
762
|
: configuration.accessToken;
|
|
633
763
|
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
634
764
|
}
|
|
765
|
+
// authentication custom-authorizer required
|
|
766
|
+
if (configuration && configuration.apiKey) {
|
|
767
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
768
|
+
? configuration.apiKey("Authorization")
|
|
769
|
+
: configuration.apiKey;
|
|
770
|
+
localVarHeaderParameter["Authorization"] = localVarApiKeyValue;
|
|
771
|
+
}
|
|
635
772
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
636
773
|
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
637
774
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
@@ -670,6 +807,13 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
670
807
|
: configuration.accessToken;
|
|
671
808
|
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
672
809
|
}
|
|
810
|
+
// authentication custom-authorizer required
|
|
811
|
+
if (configuration && configuration.apiKey) {
|
|
812
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
813
|
+
? configuration.apiKey("Authorization")
|
|
814
|
+
: configuration.apiKey;
|
|
815
|
+
localVarHeaderParameter["Authorization"] = localVarApiKeyValue;
|
|
816
|
+
}
|
|
673
817
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
674
818
|
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
675
819
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
@@ -685,7 +829,7 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
685
829
|
/**
|
|
686
830
|
*
|
|
687
831
|
* @summary Deletes document
|
|
688
|
-
* @param {string} id The id of the
|
|
832
|
+
* @param {string} id The id of the patient
|
|
689
833
|
* @param {string} key The key of the document
|
|
690
834
|
* @param {*} [options] Override http request option.
|
|
691
835
|
* @throws {RequiredError}
|
|
@@ -700,7 +844,7 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
700
844
|
if (key === null || key === undefined) {
|
|
701
845
|
throw new base_1.RequiredError('key', 'Required parameter key was null or undefined when calling deleteDocument.');
|
|
702
846
|
}
|
|
703
|
-
var localVarPath = "/
|
|
847
|
+
var localVarPath = "/patient/{id}/documents"
|
|
704
848
|
.replace("{" + "id" + "}", encodeURIComponent(String(id)));
|
|
705
849
|
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
706
850
|
var baseOptions;
|
|
@@ -718,6 +862,13 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
718
862
|
: configuration.accessToken;
|
|
719
863
|
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
720
864
|
}
|
|
865
|
+
// authentication custom-authorizer required
|
|
866
|
+
if (configuration && configuration.apiKey) {
|
|
867
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
868
|
+
? configuration.apiKey("Authorization")
|
|
869
|
+
: configuration.apiKey;
|
|
870
|
+
localVarHeaderParameter["Authorization"] = localVarApiKeyValue;
|
|
871
|
+
}
|
|
721
872
|
if (key !== undefined) {
|
|
722
873
|
localVarQueryParameter['key'] = key;
|
|
723
874
|
}
|
|
@@ -761,6 +912,13 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
761
912
|
: configuration.accessToken;
|
|
762
913
|
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
763
914
|
}
|
|
915
|
+
// authentication custom-authorizer required
|
|
916
|
+
if (configuration && configuration.apiKey) {
|
|
917
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
918
|
+
? configuration.apiKey("Authorization")
|
|
919
|
+
: configuration.apiKey;
|
|
920
|
+
localVarHeaderParameter["Authorization"] = localVarApiKeyValue;
|
|
921
|
+
}
|
|
764
922
|
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
765
923
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
766
924
|
delete localVarUrlObj.search;
|
|
@@ -801,6 +959,13 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
801
959
|
: configuration.accessToken;
|
|
802
960
|
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
803
961
|
}
|
|
962
|
+
// authentication custom-authorizer required
|
|
963
|
+
if (configuration && configuration.apiKey) {
|
|
964
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
965
|
+
? configuration.apiKey("Authorization")
|
|
966
|
+
: configuration.apiKey;
|
|
967
|
+
localVarHeaderParameter["Authorization"] = localVarApiKeyValue;
|
|
968
|
+
}
|
|
804
969
|
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
805
970
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
806
971
|
delete localVarUrlObj.search;
|
|
@@ -813,22 +978,64 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
813
978
|
/**
|
|
814
979
|
*
|
|
815
980
|
* @summary Download the document
|
|
816
|
-
* @param {string} id The id of the medical examination
|
|
817
981
|
* @param {string} key The key of the document
|
|
818
982
|
* @param {*} [options] Override http request option.
|
|
819
983
|
* @throws {RequiredError}
|
|
820
984
|
*/
|
|
821
|
-
downloadDocument: function (
|
|
985
|
+
downloadDocument: function (key, options) {
|
|
822
986
|
if (options === void 0) { options = {}; }
|
|
823
|
-
// verify required parameter 'id' is not null or undefined
|
|
824
|
-
if (id === null || id === undefined) {
|
|
825
|
-
throw new base_1.RequiredError('id', 'Required parameter id was null or undefined when calling downloadDocument.');
|
|
826
|
-
}
|
|
827
987
|
// verify required parameter 'key' is not null or undefined
|
|
828
988
|
if (key === null || key === undefined) {
|
|
829
989
|
throw new base_1.RequiredError('key', 'Required parameter key was null or undefined when calling downloadDocument.');
|
|
830
990
|
}
|
|
831
|
-
var localVarPath = "/
|
|
991
|
+
var localVarPath = "/patient/documents/{key}/download"
|
|
992
|
+
.replace("{" + "key" + "}", encodeURIComponent(String(key)));
|
|
993
|
+
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
994
|
+
var baseOptions;
|
|
995
|
+
if (configuration) {
|
|
996
|
+
baseOptions = configuration.baseOptions;
|
|
997
|
+
}
|
|
998
|
+
var localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
999
|
+
var localVarHeaderParameter = {};
|
|
1000
|
+
var localVarQueryParameter = {};
|
|
1001
|
+
// authentication BearerAuth required
|
|
1002
|
+
// http bearer authentication required
|
|
1003
|
+
if (configuration && configuration.accessToken) {
|
|
1004
|
+
var accessToken = typeof configuration.accessToken === 'function'
|
|
1005
|
+
? configuration.accessToken()
|
|
1006
|
+
: configuration.accessToken;
|
|
1007
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
1008
|
+
}
|
|
1009
|
+
// authentication custom-authorizer required
|
|
1010
|
+
if (configuration && configuration.apiKey) {
|
|
1011
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
1012
|
+
? configuration.apiKey("Authorization")
|
|
1013
|
+
: configuration.apiKey;
|
|
1014
|
+
localVarHeaderParameter["Authorization"] = localVarApiKeyValue;
|
|
1015
|
+
}
|
|
1016
|
+
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
1017
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
1018
|
+
delete localVarUrlObj.search;
|
|
1019
|
+
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
1020
|
+
return {
|
|
1021
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
1022
|
+
options: localVarRequestOptions,
|
|
1023
|
+
};
|
|
1024
|
+
},
|
|
1025
|
+
/**
|
|
1026
|
+
*
|
|
1027
|
+
* @summary Download study dicom
|
|
1028
|
+
* @param {string} id The id of the study
|
|
1029
|
+
* @param {*} [options] Override http request option.
|
|
1030
|
+
* @throws {RequiredError}
|
|
1031
|
+
*/
|
|
1032
|
+
downloadStudy: function (id, options) {
|
|
1033
|
+
if (options === void 0) { options = {}; }
|
|
1034
|
+
// verify required parameter 'id' is not null or undefined
|
|
1035
|
+
if (id === null || id === undefined) {
|
|
1036
|
+
throw new base_1.RequiredError('id', 'Required parameter id was null or undefined when calling downloadStudy.');
|
|
1037
|
+
}
|
|
1038
|
+
var localVarPath = "/dicom/{id}/download"
|
|
832
1039
|
.replace("{" + "id" + "}", encodeURIComponent(String(id)));
|
|
833
1040
|
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
834
1041
|
var baseOptions;
|
|
@@ -846,8 +1053,12 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
846
1053
|
: configuration.accessToken;
|
|
847
1054
|
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
848
1055
|
}
|
|
849
|
-
|
|
850
|
-
|
|
1056
|
+
// authentication custom-authorizer required
|
|
1057
|
+
if (configuration && configuration.apiKey) {
|
|
1058
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
1059
|
+
? configuration.apiKey("Authorization")
|
|
1060
|
+
: configuration.apiKey;
|
|
1061
|
+
localVarHeaderParameter["Authorization"] = localVarApiKeyValue;
|
|
851
1062
|
}
|
|
852
1063
|
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
853
1064
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
@@ -883,6 +1094,13 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
883
1094
|
: configuration.accessToken;
|
|
884
1095
|
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
885
1096
|
}
|
|
1097
|
+
// authentication custom-authorizer required
|
|
1098
|
+
if (configuration && configuration.apiKey) {
|
|
1099
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
1100
|
+
? configuration.apiKey("Authorization")
|
|
1101
|
+
: configuration.apiKey;
|
|
1102
|
+
localVarHeaderParameter["Authorization"] = localVarApiKeyValue;
|
|
1103
|
+
}
|
|
886
1104
|
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
887
1105
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
888
1106
|
delete localVarUrlObj.search;
|
|
@@ -917,6 +1135,13 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
917
1135
|
: configuration.accessToken;
|
|
918
1136
|
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
919
1137
|
}
|
|
1138
|
+
// authentication custom-authorizer required
|
|
1139
|
+
if (configuration && configuration.apiKey) {
|
|
1140
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
1141
|
+
? configuration.apiKey("Authorization")
|
|
1142
|
+
: configuration.apiKey;
|
|
1143
|
+
localVarHeaderParameter["Authorization"] = localVarApiKeyValue;
|
|
1144
|
+
}
|
|
920
1145
|
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
921
1146
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
922
1147
|
delete localVarUrlObj.search;
|
|
@@ -928,23 +1153,65 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
928
1153
|
},
|
|
929
1154
|
/**
|
|
930
1155
|
*
|
|
931
|
-
* @summary Get
|
|
932
|
-
* @param {string}
|
|
933
|
-
* @param {string} id The id of the medical examination
|
|
1156
|
+
* @summary Get all studies for one patient
|
|
1157
|
+
* @param {string} id The id of the patient
|
|
934
1158
|
* @param {*} [options] Override http request option.
|
|
935
1159
|
* @throws {RequiredError}
|
|
936
1160
|
*/
|
|
937
|
-
|
|
1161
|
+
getAllStudies: function (id, options) {
|
|
938
1162
|
if (options === void 0) { options = {}; }
|
|
939
|
-
// verify required parameter '
|
|
940
|
-
if (
|
|
941
|
-
throw new base_1.RequiredError('
|
|
1163
|
+
// verify required parameter 'id' is not null or undefined
|
|
1164
|
+
if (id === null || id === undefined) {
|
|
1165
|
+
throw new base_1.RequiredError('id', 'Required parameter id was null or undefined when calling getAllStudies.');
|
|
1166
|
+
}
|
|
1167
|
+
var localVarPath = "/dicom/{id}/all-studies"
|
|
1168
|
+
.replace("{" + "id" + "}", encodeURIComponent(String(id)));
|
|
1169
|
+
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
1170
|
+
var baseOptions;
|
|
1171
|
+
if (configuration) {
|
|
1172
|
+
baseOptions = configuration.baseOptions;
|
|
1173
|
+
}
|
|
1174
|
+
var localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
1175
|
+
var localVarHeaderParameter = {};
|
|
1176
|
+
var localVarQueryParameter = {};
|
|
1177
|
+
// authentication BearerAuth required
|
|
1178
|
+
// http bearer authentication required
|
|
1179
|
+
if (configuration && configuration.accessToken) {
|
|
1180
|
+
var accessToken = typeof configuration.accessToken === 'function'
|
|
1181
|
+
? configuration.accessToken()
|
|
1182
|
+
: configuration.accessToken;
|
|
1183
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
1184
|
+
}
|
|
1185
|
+
// authentication custom-authorizer required
|
|
1186
|
+
if (configuration && configuration.apiKey) {
|
|
1187
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
1188
|
+
? configuration.apiKey("Authorization")
|
|
1189
|
+
: configuration.apiKey;
|
|
1190
|
+
localVarHeaderParameter["Authorization"] = localVarApiKeyValue;
|
|
942
1191
|
}
|
|
1192
|
+
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
1193
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
1194
|
+
delete localVarUrlObj.search;
|
|
1195
|
+
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
1196
|
+
return {
|
|
1197
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
1198
|
+
options: localVarRequestOptions,
|
|
1199
|
+
};
|
|
1200
|
+
},
|
|
1201
|
+
/**
|
|
1202
|
+
*
|
|
1203
|
+
* @summary Get data about documents
|
|
1204
|
+
* @param {string} id The id of the patient
|
|
1205
|
+
* @param {*} [options] Override http request option.
|
|
1206
|
+
* @throws {RequiredError}
|
|
1207
|
+
*/
|
|
1208
|
+
getDocuments: function (id, options) {
|
|
1209
|
+
if (options === void 0) { options = {}; }
|
|
943
1210
|
// verify required parameter 'id' is not null or undefined
|
|
944
1211
|
if (id === null || id === undefined) {
|
|
945
1212
|
throw new base_1.RequiredError('id', 'Required parameter id was null or undefined when calling getDocuments.');
|
|
946
1213
|
}
|
|
947
|
-
var localVarPath = "/
|
|
1214
|
+
var localVarPath = "/patient/{id}/documents"
|
|
948
1215
|
.replace("{" + "id" + "}", encodeURIComponent(String(id)));
|
|
949
1216
|
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
950
1217
|
var baseOptions;
|
|
@@ -962,8 +1229,12 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
962
1229
|
: configuration.accessToken;
|
|
963
1230
|
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
964
1231
|
}
|
|
965
|
-
|
|
966
|
-
|
|
1232
|
+
// authentication custom-authorizer required
|
|
1233
|
+
if (configuration && configuration.apiKey) {
|
|
1234
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
1235
|
+
? configuration.apiKey("Authorization")
|
|
1236
|
+
: configuration.apiKey;
|
|
1237
|
+
localVarHeaderParameter["Authorization"] = localVarApiKeyValue;
|
|
967
1238
|
}
|
|
968
1239
|
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
969
1240
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
@@ -1005,6 +1276,13 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
1005
1276
|
: configuration.accessToken;
|
|
1006
1277
|
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
1007
1278
|
}
|
|
1279
|
+
// authentication custom-authorizer required
|
|
1280
|
+
if (configuration && configuration.apiKey) {
|
|
1281
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
1282
|
+
? configuration.apiKey("Authorization")
|
|
1283
|
+
: configuration.apiKey;
|
|
1284
|
+
localVarHeaderParameter["Authorization"] = localVarApiKeyValue;
|
|
1285
|
+
}
|
|
1008
1286
|
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
1009
1287
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
1010
1288
|
delete localVarUrlObj.search;
|
|
@@ -1045,6 +1323,13 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
1045
1323
|
: configuration.accessToken;
|
|
1046
1324
|
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
1047
1325
|
}
|
|
1326
|
+
// authentication custom-authorizer required
|
|
1327
|
+
if (configuration && configuration.apiKey) {
|
|
1328
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
1329
|
+
? configuration.apiKey("Authorization")
|
|
1330
|
+
: configuration.apiKey;
|
|
1331
|
+
localVarHeaderParameter["Authorization"] = localVarApiKeyValue;
|
|
1332
|
+
}
|
|
1048
1333
|
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
1049
1334
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
1050
1335
|
delete localVarUrlObj.search;
|
|
@@ -1085,6 +1370,13 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
1085
1370
|
: configuration.accessToken;
|
|
1086
1371
|
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
1087
1372
|
}
|
|
1373
|
+
// authentication custom-authorizer required
|
|
1374
|
+
if (configuration && configuration.apiKey) {
|
|
1375
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
1376
|
+
? configuration.apiKey("Authorization")
|
|
1377
|
+
: configuration.apiKey;
|
|
1378
|
+
localVarHeaderParameter["Authorization"] = localVarApiKeyValue;
|
|
1379
|
+
}
|
|
1088
1380
|
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
1089
1381
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
1090
1382
|
delete localVarUrlObj.search;
|
|
@@ -1124,6 +1416,13 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
1124
1416
|
: configuration.accessToken;
|
|
1125
1417
|
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
1126
1418
|
}
|
|
1419
|
+
// authentication custom-authorizer required
|
|
1420
|
+
if (configuration && configuration.apiKey) {
|
|
1421
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
1422
|
+
? configuration.apiKey("Authorization")
|
|
1423
|
+
: configuration.apiKey;
|
|
1424
|
+
localVarHeaderParameter["Authorization"] = localVarApiKeyValue;
|
|
1425
|
+
}
|
|
1127
1426
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1128
1427
|
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
1129
1428
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
@@ -1168,6 +1467,13 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
1168
1467
|
: configuration.accessToken;
|
|
1169
1468
|
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
1170
1469
|
}
|
|
1470
|
+
// authentication custom-authorizer required
|
|
1471
|
+
if (configuration && configuration.apiKey) {
|
|
1472
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
1473
|
+
? configuration.apiKey("Authorization")
|
|
1474
|
+
: configuration.apiKey;
|
|
1475
|
+
localVarHeaderParameter["Authorization"] = localVarApiKeyValue;
|
|
1476
|
+
}
|
|
1171
1477
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1172
1478
|
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
1173
1479
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
@@ -1212,6 +1518,13 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
1212
1518
|
: configuration.accessToken;
|
|
1213
1519
|
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
1214
1520
|
}
|
|
1521
|
+
// authentication custom-authorizer required
|
|
1522
|
+
if (configuration && configuration.apiKey) {
|
|
1523
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
1524
|
+
? configuration.apiKey("Authorization")
|
|
1525
|
+
: configuration.apiKey;
|
|
1526
|
+
localVarHeaderParameter["Authorization"] = localVarApiKeyValue;
|
|
1527
|
+
}
|
|
1215
1528
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1216
1529
|
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
1217
1530
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
@@ -1227,7 +1540,7 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
1227
1540
|
/**
|
|
1228
1541
|
* Upload medical examination files
|
|
1229
1542
|
* @summary Upload documents
|
|
1230
|
-
* @param {string} id The id of the
|
|
1543
|
+
* @param {string} id The id of the patient
|
|
1231
1544
|
* @param {Array<any>} [files]
|
|
1232
1545
|
* @param {*} [options] Override http request option.
|
|
1233
1546
|
* @throws {RequiredError}
|
|
@@ -1238,7 +1551,7 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
1238
1551
|
if (id === null || id === undefined) {
|
|
1239
1552
|
throw new base_1.RequiredError('id', 'Required parameter id was null or undefined when calling uploadDocuments.');
|
|
1240
1553
|
}
|
|
1241
|
-
var localVarPath = "/
|
|
1554
|
+
var localVarPath = "/patient/{id}/documents"
|
|
1242
1555
|
.replace("{" + "id" + "}", encodeURIComponent(String(id)));
|
|
1243
1556
|
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
1244
1557
|
var baseOptions;
|
|
@@ -1257,6 +1570,13 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
1257
1570
|
: configuration.accessToken;
|
|
1258
1571
|
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
1259
1572
|
}
|
|
1573
|
+
// authentication custom-authorizer required
|
|
1574
|
+
if (configuration && configuration.apiKey) {
|
|
1575
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
1576
|
+
? configuration.apiKey("Authorization")
|
|
1577
|
+
: configuration.apiKey;
|
|
1578
|
+
localVarHeaderParameter["Authorization"] = localVarApiKeyValue;
|
|
1579
|
+
}
|
|
1260
1580
|
if (files) {
|
|
1261
1581
|
localVarFormParams.append('files', files.join(base_1.COLLECTION_FORMATS.csv));
|
|
1262
1582
|
}
|
|
@@ -1314,7 +1634,7 @@ exports.MsPetApiFp = function (configuration) {
|
|
|
1314
1634
|
/**
|
|
1315
1635
|
*
|
|
1316
1636
|
* @summary Deletes document
|
|
1317
|
-
* @param {string} id The id of the
|
|
1637
|
+
* @param {string} id The id of the patient
|
|
1318
1638
|
* @param {string} key The key of the document
|
|
1319
1639
|
* @param {*} [options] Override http request option.
|
|
1320
1640
|
* @throws {RequiredError}
|
|
@@ -1363,13 +1683,28 @@ exports.MsPetApiFp = function (configuration) {
|
|
|
1363
1683
|
/**
|
|
1364
1684
|
*
|
|
1365
1685
|
* @summary Download the document
|
|
1366
|
-
* @param {string} id The id of the medical examination
|
|
1367
1686
|
* @param {string} key The key of the document
|
|
1368
1687
|
* @param {*} [options] Override http request option.
|
|
1369
1688
|
* @throws {RequiredError}
|
|
1370
1689
|
*/
|
|
1371
|
-
downloadDocument: function (
|
|
1372
|
-
var localVarAxiosArgs = exports.MsPetApiAxiosParamCreator(configuration).downloadDocument(
|
|
1690
|
+
downloadDocument: function (key, options) {
|
|
1691
|
+
var localVarAxiosArgs = exports.MsPetApiAxiosParamCreator(configuration).downloadDocument(key, options);
|
|
1692
|
+
return function (axios, basePath) {
|
|
1693
|
+
if (axios === void 0) { axios = axios_1.default; }
|
|
1694
|
+
if (basePath === void 0) { basePath = base_1.BASE_PATH; }
|
|
1695
|
+
var axiosRequestArgs = __assign(__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
1696
|
+
return axios.request(axiosRequestArgs);
|
|
1697
|
+
};
|
|
1698
|
+
},
|
|
1699
|
+
/**
|
|
1700
|
+
*
|
|
1701
|
+
* @summary Download study dicom
|
|
1702
|
+
* @param {string} id The id of the study
|
|
1703
|
+
* @param {*} [options] Override http request option.
|
|
1704
|
+
* @throws {RequiredError}
|
|
1705
|
+
*/
|
|
1706
|
+
downloadStudy: function (id, options) {
|
|
1707
|
+
var localVarAxiosArgs = exports.MsPetApiAxiosParamCreator(configuration).downloadStudy(id, options);
|
|
1373
1708
|
return function (axios, basePath) {
|
|
1374
1709
|
if (axios === void 0) { axios = axios_1.default; }
|
|
1375
1710
|
if (basePath === void 0) { basePath = base_1.BASE_PATH; }
|
|
@@ -1407,16 +1742,31 @@ exports.MsPetApiFp = function (configuration) {
|
|
|
1407
1742
|
return axios.request(axiosRequestArgs);
|
|
1408
1743
|
};
|
|
1409
1744
|
},
|
|
1745
|
+
/**
|
|
1746
|
+
*
|
|
1747
|
+
* @summary Get all studies for one patient
|
|
1748
|
+
* @param {string} id The id of the patient
|
|
1749
|
+
* @param {*} [options] Override http request option.
|
|
1750
|
+
* @throws {RequiredError}
|
|
1751
|
+
*/
|
|
1752
|
+
getAllStudies: function (id, options) {
|
|
1753
|
+
var localVarAxiosArgs = exports.MsPetApiAxiosParamCreator(configuration).getAllStudies(id, options);
|
|
1754
|
+
return function (axios, basePath) {
|
|
1755
|
+
if (axios === void 0) { axios = axios_1.default; }
|
|
1756
|
+
if (basePath === void 0) { basePath = base_1.BASE_PATH; }
|
|
1757
|
+
var axiosRequestArgs = __assign(__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
1758
|
+
return axios.request(axiosRequestArgs);
|
|
1759
|
+
};
|
|
1760
|
+
},
|
|
1410
1761
|
/**
|
|
1411
1762
|
*
|
|
1412
1763
|
* @summary Get data about documents
|
|
1413
|
-
* @param {string}
|
|
1414
|
-
* @param {string} id The id of the medical examination
|
|
1764
|
+
* @param {string} id The id of the patient
|
|
1415
1765
|
* @param {*} [options] Override http request option.
|
|
1416
1766
|
* @throws {RequiredError}
|
|
1417
1767
|
*/
|
|
1418
|
-
getDocuments: function (
|
|
1419
|
-
var localVarAxiosArgs = exports.MsPetApiAxiosParamCreator(configuration).getDocuments(
|
|
1768
|
+
getDocuments: function (id, options) {
|
|
1769
|
+
var localVarAxiosArgs = exports.MsPetApiAxiosParamCreator(configuration).getDocuments(id, options);
|
|
1420
1770
|
return function (axios, basePath) {
|
|
1421
1771
|
if (axios === void 0) { axios = axios_1.default; }
|
|
1422
1772
|
if (basePath === void 0) { basePath = base_1.BASE_PATH; }
|
|
@@ -1525,7 +1875,7 @@ exports.MsPetApiFp = function (configuration) {
|
|
|
1525
1875
|
/**
|
|
1526
1876
|
* Upload medical examination files
|
|
1527
1877
|
* @summary Upload documents
|
|
1528
|
-
* @param {string} id The id of the
|
|
1878
|
+
* @param {string} id The id of the patient
|
|
1529
1879
|
* @param {Array<any>} [files]
|
|
1530
1880
|
* @param {*} [options] Override http request option.
|
|
1531
1881
|
* @throws {RequiredError}
|
|
@@ -1570,7 +1920,7 @@ exports.MsPetApiFactory = function (configuration, basePath, axios) {
|
|
|
1570
1920
|
/**
|
|
1571
1921
|
*
|
|
1572
1922
|
* @summary Deletes document
|
|
1573
|
-
* @param {string} id The id of the
|
|
1923
|
+
* @param {string} id The id of the patient
|
|
1574
1924
|
* @param {string} key The key of the document
|
|
1575
1925
|
* @param {*} [options] Override http request option.
|
|
1576
1926
|
* @throws {RequiredError}
|
|
@@ -1601,13 +1951,22 @@ exports.MsPetApiFactory = function (configuration, basePath, axios) {
|
|
|
1601
1951
|
/**
|
|
1602
1952
|
*
|
|
1603
1953
|
* @summary Download the document
|
|
1604
|
-
* @param {string} id The id of the medical examination
|
|
1605
1954
|
* @param {string} key The key of the document
|
|
1606
1955
|
* @param {*} [options] Override http request option.
|
|
1607
1956
|
* @throws {RequiredError}
|
|
1608
1957
|
*/
|
|
1609
|
-
downloadDocument: function (
|
|
1610
|
-
return exports.MsPetApiFp(configuration).downloadDocument(
|
|
1958
|
+
downloadDocument: function (key, options) {
|
|
1959
|
+
return exports.MsPetApiFp(configuration).downloadDocument(key, options)(axios, basePath);
|
|
1960
|
+
},
|
|
1961
|
+
/**
|
|
1962
|
+
*
|
|
1963
|
+
* @summary Download study dicom
|
|
1964
|
+
* @param {string} id The id of the study
|
|
1965
|
+
* @param {*} [options] Override http request option.
|
|
1966
|
+
* @throws {RequiredError}
|
|
1967
|
+
*/
|
|
1968
|
+
downloadStudy: function (id, options) {
|
|
1969
|
+
return exports.MsPetApiFp(configuration).downloadStudy(id, options)(axios, basePath);
|
|
1611
1970
|
},
|
|
1612
1971
|
/**
|
|
1613
1972
|
*
|
|
@@ -1627,16 +1986,25 @@ exports.MsPetApiFactory = function (configuration, basePath, axios) {
|
|
|
1627
1986
|
getAllPatients: function (options) {
|
|
1628
1987
|
return exports.MsPetApiFp(configuration).getAllPatients(options)(axios, basePath);
|
|
1629
1988
|
},
|
|
1989
|
+
/**
|
|
1990
|
+
*
|
|
1991
|
+
* @summary Get all studies for one patient
|
|
1992
|
+
* @param {string} id The id of the patient
|
|
1993
|
+
* @param {*} [options] Override http request option.
|
|
1994
|
+
* @throws {RequiredError}
|
|
1995
|
+
*/
|
|
1996
|
+
getAllStudies: function (id, options) {
|
|
1997
|
+
return exports.MsPetApiFp(configuration).getAllStudies(id, options)(axios, basePath);
|
|
1998
|
+
},
|
|
1630
1999
|
/**
|
|
1631
2000
|
*
|
|
1632
2001
|
* @summary Get data about documents
|
|
1633
|
-
* @param {string}
|
|
1634
|
-
* @param {string} id The id of the medical examination
|
|
2002
|
+
* @param {string} id The id of the patient
|
|
1635
2003
|
* @param {*} [options] Override http request option.
|
|
1636
2004
|
* @throws {RequiredError}
|
|
1637
2005
|
*/
|
|
1638
|
-
getDocuments: function (
|
|
1639
|
-
return exports.MsPetApiFp(configuration).getDocuments(
|
|
2006
|
+
getDocuments: function (id, options) {
|
|
2007
|
+
return exports.MsPetApiFp(configuration).getDocuments(id, options)(axios, basePath);
|
|
1640
2008
|
},
|
|
1641
2009
|
/**
|
|
1642
2010
|
*
|
|
@@ -1703,7 +2071,7 @@ exports.MsPetApiFactory = function (configuration, basePath, axios) {
|
|
|
1703
2071
|
/**
|
|
1704
2072
|
* Upload medical examination files
|
|
1705
2073
|
* @summary Upload documents
|
|
1706
|
-
* @param {string} id The id of the
|
|
2074
|
+
* @param {string} id The id of the patient
|
|
1707
2075
|
* @param {Array<any>} [files]
|
|
1708
2076
|
* @param {*} [options] Override http request option.
|
|
1709
2077
|
* @throws {RequiredError}
|
|
@@ -1749,7 +2117,7 @@ var MsPetApi = /** @class */ (function (_super) {
|
|
|
1749
2117
|
/**
|
|
1750
2118
|
*
|
|
1751
2119
|
* @summary Deletes document
|
|
1752
|
-
* @param {string} id The id of the
|
|
2120
|
+
* @param {string} id The id of the patient
|
|
1753
2121
|
* @param {string} key The key of the document
|
|
1754
2122
|
* @param {*} [options] Override http request option.
|
|
1755
2123
|
* @throws {RequiredError}
|
|
@@ -1783,14 +2151,24 @@ var MsPetApi = /** @class */ (function (_super) {
|
|
|
1783
2151
|
/**
|
|
1784
2152
|
*
|
|
1785
2153
|
* @summary Download the document
|
|
1786
|
-
* @param {string} id The id of the medical examination
|
|
1787
2154
|
* @param {string} key The key of the document
|
|
1788
2155
|
* @param {*} [options] Override http request option.
|
|
1789
2156
|
* @throws {RequiredError}
|
|
1790
2157
|
* @memberof MsPetApi
|
|
1791
2158
|
*/
|
|
1792
|
-
MsPetApi.prototype.downloadDocument = function (
|
|
1793
|
-
return exports.MsPetApiFp(this.configuration).downloadDocument(
|
|
2159
|
+
MsPetApi.prototype.downloadDocument = function (key, options) {
|
|
2160
|
+
return exports.MsPetApiFp(this.configuration).downloadDocument(key, options)(this.axios, this.basePath);
|
|
2161
|
+
};
|
|
2162
|
+
/**
|
|
2163
|
+
*
|
|
2164
|
+
* @summary Download study dicom
|
|
2165
|
+
* @param {string} id The id of the study
|
|
2166
|
+
* @param {*} [options] Override http request option.
|
|
2167
|
+
* @throws {RequiredError}
|
|
2168
|
+
* @memberof MsPetApi
|
|
2169
|
+
*/
|
|
2170
|
+
MsPetApi.prototype.downloadStudy = function (id, options) {
|
|
2171
|
+
return exports.MsPetApiFp(this.configuration).downloadStudy(id, options)(this.axios, this.basePath);
|
|
1794
2172
|
};
|
|
1795
2173
|
/**
|
|
1796
2174
|
*
|
|
@@ -1812,17 +2190,27 @@ var MsPetApi = /** @class */ (function (_super) {
|
|
|
1812
2190
|
MsPetApi.prototype.getAllPatients = function (options) {
|
|
1813
2191
|
return exports.MsPetApiFp(this.configuration).getAllPatients(options)(this.axios, this.basePath);
|
|
1814
2192
|
};
|
|
2193
|
+
/**
|
|
2194
|
+
*
|
|
2195
|
+
* @summary Get all studies for one patient
|
|
2196
|
+
* @param {string} id The id of the patient
|
|
2197
|
+
* @param {*} [options] Override http request option.
|
|
2198
|
+
* @throws {RequiredError}
|
|
2199
|
+
* @memberof MsPetApi
|
|
2200
|
+
*/
|
|
2201
|
+
MsPetApi.prototype.getAllStudies = function (id, options) {
|
|
2202
|
+
return exports.MsPetApiFp(this.configuration).getAllStudies(id, options)(this.axios, this.basePath);
|
|
2203
|
+
};
|
|
1815
2204
|
/**
|
|
1816
2205
|
*
|
|
1817
2206
|
* @summary Get data about documents
|
|
1818
|
-
* @param {string}
|
|
1819
|
-
* @param {string} id The id of the medical examination
|
|
2207
|
+
* @param {string} id The id of the patient
|
|
1820
2208
|
* @param {*} [options] Override http request option.
|
|
1821
2209
|
* @throws {RequiredError}
|
|
1822
2210
|
* @memberof MsPetApi
|
|
1823
2211
|
*/
|
|
1824
|
-
MsPetApi.prototype.getDocuments = function (
|
|
1825
|
-
return exports.MsPetApiFp(this.configuration).getDocuments(
|
|
2212
|
+
MsPetApi.prototype.getDocuments = function (id, options) {
|
|
2213
|
+
return exports.MsPetApiFp(this.configuration).getDocuments(id, options)(this.axios, this.basePath);
|
|
1826
2214
|
};
|
|
1827
2215
|
/**
|
|
1828
2216
|
*
|
|
@@ -1895,7 +2283,7 @@ var MsPetApi = /** @class */ (function (_super) {
|
|
|
1895
2283
|
/**
|
|
1896
2284
|
* Upload medical examination files
|
|
1897
2285
|
* @summary Upload documents
|
|
1898
|
-
* @param {string} id The id of the
|
|
2286
|
+
* @param {string} id The id of the patient
|
|
1899
2287
|
* @param {Array<any>} [files]
|
|
1900
2288
|
* @param {*} [options] Override http request option.
|
|
1901
2289
|
* @throws {RequiredError}
|