ch-admin-api-client-typescript 5.3.0 → 5.3.1
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/lib/api/hospitals-api.d.ts +148 -29
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +222 -34
- package/lib/api/vonage-users-api.d.ts +109 -0
- package/lib/api/vonage-users-api.d.ts.map +1 -0
- package/lib/api/vonage-users-api.js +286 -0
- package/lib/api.d.ts +1 -0
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +1 -0
- package/lib/models/get-users-result-embedded.d.ts +26 -0
- package/lib/models/get-users-result-embedded.d.ts.map +1 -0
- package/lib/models/get-users-result-embedded.js +15 -0
- package/lib/models/get-users-result.d.ts +45 -0
- package/lib/models/get-users-result.d.ts.map +1 -0
- package/lib/models/get-users-result.js +15 -0
- package/lib/models/index.d.ts +3 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +3 -0
- package/lib/models/vonage-user.d.ts +44 -0
- package/lib/models/vonage-user.d.ts.map +1 -0
- package/lib/models/vonage-user.js +15 -0
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +4 -0
- package/src/api/hospitals-api.ts +259 -47
- package/src/api/vonage-users-api.ts +203 -0
- package/src/api.ts +1 -0
- package/src/models/get-users-result-embedded.ts +33 -0
- package/src/models/get-users-result.ts +54 -0
- package/src/models/index.ts +3 -0
- package/src/models/vonage-user.ts +51 -0
package/lib/api/hospitals-api.js
CHANGED
|
@@ -3932,13 +3932,13 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
3932
3932
|
},
|
|
3933
3933
|
/**
|
|
3934
3934
|
*
|
|
3935
|
-
* @summary Get file content by
|
|
3935
|
+
* @summary Get file content by file name
|
|
3936
3936
|
* @param {string} hospitalId
|
|
3937
|
-
* @param {string}
|
|
3937
|
+
* @param {string} fileName
|
|
3938
3938
|
* @param {*} [options] Override http request option.
|
|
3939
3939
|
* @throws {RequiredError}
|
|
3940
3940
|
*/
|
|
3941
|
-
|
|
3941
|
+
apiV1HospitalsHospitalIdSecurefilesFileNameGet: function (hospitalId, fileName, options) {
|
|
3942
3942
|
if (options === void 0) { options = {}; }
|
|
3943
3943
|
return __awaiter(_this, void 0, void 0, function () {
|
|
3944
3944
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -3946,12 +3946,12 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
3946
3946
|
switch (_a.label) {
|
|
3947
3947
|
case 0:
|
|
3948
3948
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
3949
|
-
(0, common_1.assertParamExists)('
|
|
3950
|
-
// verify required parameter '
|
|
3951
|
-
(0, common_1.assertParamExists)('
|
|
3952
|
-
localVarPath = "/api/v1/hospitals/{hospitalId}/securefiles/{
|
|
3949
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSecurefilesFileNameGet', 'hospitalId', hospitalId);
|
|
3950
|
+
// verify required parameter 'fileName' is not null or undefined
|
|
3951
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSecurefilesFileNameGet', 'fileName', fileName);
|
|
3952
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/securefiles/{fileName}"
|
|
3953
3953
|
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
3954
|
-
.replace("{".concat("
|
|
3954
|
+
.replace("{".concat("fileName", "}"), encodeURIComponent(String(fileName)));
|
|
3955
3955
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3956
3956
|
if (configuration) {
|
|
3957
3957
|
baseOptions = configuration.baseOptions;
|
|
@@ -3979,14 +3979,14 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
3979
3979
|
},
|
|
3980
3980
|
/**
|
|
3981
3981
|
*
|
|
3982
|
-
* @summary Get secure file url with read access by
|
|
3982
|
+
* @summary Get secure file url with read access by file name
|
|
3983
3983
|
* @param {string} hospitalId
|
|
3984
|
-
* @param {string}
|
|
3984
|
+
* @param {string} fileName
|
|
3985
3985
|
* @param {number} [minutesAvailableUntil]
|
|
3986
3986
|
* @param {*} [options] Override http request option.
|
|
3987
3987
|
* @throws {RequiredError}
|
|
3988
3988
|
*/
|
|
3989
|
-
|
|
3989
|
+
apiV1HospitalsHospitalIdSecurefilesFileNameReadGet: function (hospitalId, fileName, minutesAvailableUntil, options) {
|
|
3990
3990
|
if (options === void 0) { options = {}; }
|
|
3991
3991
|
return __awaiter(_this, void 0, void 0, function () {
|
|
3992
3992
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -3994,12 +3994,107 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
3994
3994
|
switch (_a.label) {
|
|
3995
3995
|
case 0:
|
|
3996
3996
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
3997
|
-
(0, common_1.assertParamExists)('
|
|
3998
|
-
// verify required parameter '
|
|
3999
|
-
(0, common_1.assertParamExists)('
|
|
4000
|
-
localVarPath = "/api/v1/hospitals/{hospitalId}/securefiles/{
|
|
3997
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSecurefilesFileNameReadGet', 'hospitalId', hospitalId);
|
|
3998
|
+
// verify required parameter 'fileName' is not null or undefined
|
|
3999
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSecurefilesFileNameReadGet', 'fileName', fileName);
|
|
4000
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/securefiles/{fileName}/read"
|
|
4001
4001
|
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
4002
|
-
.replace("{".concat("
|
|
4002
|
+
.replace("{".concat("fileName", "}"), encodeURIComponent(String(fileName)));
|
|
4003
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4004
|
+
if (configuration) {
|
|
4005
|
+
baseOptions = configuration.baseOptions;
|
|
4006
|
+
}
|
|
4007
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
4008
|
+
localVarHeaderParameter = {};
|
|
4009
|
+
localVarQueryParameter = {};
|
|
4010
|
+
// authentication oauth2 required
|
|
4011
|
+
// oauth required
|
|
4012
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
4013
|
+
case 1:
|
|
4014
|
+
// authentication oauth2 required
|
|
4015
|
+
// oauth required
|
|
4016
|
+
_a.sent();
|
|
4017
|
+
if (minutesAvailableUntil !== undefined) {
|
|
4018
|
+
localVarQueryParameter['minutesAvailableUntil'] = minutesAvailableUntil;
|
|
4019
|
+
}
|
|
4020
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4021
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4022
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4023
|
+
return [2 /*return*/, {
|
|
4024
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4025
|
+
options: localVarRequestOptions,
|
|
4026
|
+
}];
|
|
4027
|
+
}
|
|
4028
|
+
});
|
|
4029
|
+
});
|
|
4030
|
+
},
|
|
4031
|
+
/**
|
|
4032
|
+
*
|
|
4033
|
+
* @summary Get file content by uri
|
|
4034
|
+
* @param {string} hospitalId
|
|
4035
|
+
* @param {string} [uri]
|
|
4036
|
+
* @param {*} [options] Override http request option.
|
|
4037
|
+
* @throws {RequiredError}
|
|
4038
|
+
*/
|
|
4039
|
+
apiV1HospitalsHospitalIdSecurefilesGet: function (hospitalId, uri, options) {
|
|
4040
|
+
if (options === void 0) { options = {}; }
|
|
4041
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
4042
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
4043
|
+
return __generator(this, function (_a) {
|
|
4044
|
+
switch (_a.label) {
|
|
4045
|
+
case 0:
|
|
4046
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
4047
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSecurefilesGet', 'hospitalId', hospitalId);
|
|
4048
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/securefiles"
|
|
4049
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
|
|
4050
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4051
|
+
if (configuration) {
|
|
4052
|
+
baseOptions = configuration.baseOptions;
|
|
4053
|
+
}
|
|
4054
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
4055
|
+
localVarHeaderParameter = {};
|
|
4056
|
+
localVarQueryParameter = {};
|
|
4057
|
+
// authentication oauth2 required
|
|
4058
|
+
// oauth required
|
|
4059
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
4060
|
+
case 1:
|
|
4061
|
+
// authentication oauth2 required
|
|
4062
|
+
// oauth required
|
|
4063
|
+
_a.sent();
|
|
4064
|
+
if (uri !== undefined) {
|
|
4065
|
+
localVarQueryParameter['uri'] = uri;
|
|
4066
|
+
}
|
|
4067
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4068
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4069
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4070
|
+
return [2 /*return*/, {
|
|
4071
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4072
|
+
options: localVarRequestOptions,
|
|
4073
|
+
}];
|
|
4074
|
+
}
|
|
4075
|
+
});
|
|
4076
|
+
});
|
|
4077
|
+
},
|
|
4078
|
+
/**
|
|
4079
|
+
*
|
|
4080
|
+
* @summary Get secure file url with read access by uri
|
|
4081
|
+
* @param {string} hospitalId
|
|
4082
|
+
* @param {string} [uri]
|
|
4083
|
+
* @param {number} [minutesAvailableUntil]
|
|
4084
|
+
* @param {*} [options] Override http request option.
|
|
4085
|
+
* @throws {RequiredError}
|
|
4086
|
+
*/
|
|
4087
|
+
apiV1HospitalsHospitalIdSecurefilesReadGet: function (hospitalId, uri, minutesAvailableUntil, options) {
|
|
4088
|
+
if (options === void 0) { options = {}; }
|
|
4089
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
4090
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
4091
|
+
return __generator(this, function (_a) {
|
|
4092
|
+
switch (_a.label) {
|
|
4093
|
+
case 0:
|
|
4094
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
4095
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSecurefilesReadGet', 'hospitalId', hospitalId);
|
|
4096
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/securefiles/read"
|
|
4097
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
|
|
4003
4098
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4004
4099
|
if (configuration) {
|
|
4005
4100
|
baseOptions = configuration.baseOptions;
|
|
@@ -4014,6 +4109,9 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
4014
4109
|
// authentication oauth2 required
|
|
4015
4110
|
// oauth required
|
|
4016
4111
|
_a.sent();
|
|
4112
|
+
if (uri !== undefined) {
|
|
4113
|
+
localVarQueryParameter['uri'] = uri;
|
|
4114
|
+
}
|
|
4017
4115
|
if (minutesAvailableUntil !== undefined) {
|
|
4018
4116
|
localVarQueryParameter['minutesAvailableUntil'] = minutesAvailableUntil;
|
|
4019
4117
|
}
|
|
@@ -8219,20 +8317,63 @@ var HospitalsApiFp = function (configuration) {
|
|
|
8219
8317
|
});
|
|
8220
8318
|
});
|
|
8221
8319
|
},
|
|
8320
|
+
/**
|
|
8321
|
+
*
|
|
8322
|
+
* @summary Get file content by file name
|
|
8323
|
+
* @param {string} hospitalId
|
|
8324
|
+
* @param {string} fileName
|
|
8325
|
+
* @param {*} [options] Override http request option.
|
|
8326
|
+
* @throws {RequiredError}
|
|
8327
|
+
*/
|
|
8328
|
+
apiV1HospitalsHospitalIdSecurefilesFileNameGet: function (hospitalId, fileName, options) {
|
|
8329
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
8330
|
+
var localVarAxiosArgs;
|
|
8331
|
+
return __generator(this, function (_a) {
|
|
8332
|
+
switch (_a.label) {
|
|
8333
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSecurefilesFileNameGet(hospitalId, fileName, options)];
|
|
8334
|
+
case 1:
|
|
8335
|
+
localVarAxiosArgs = _a.sent();
|
|
8336
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
8337
|
+
}
|
|
8338
|
+
});
|
|
8339
|
+
});
|
|
8340
|
+
},
|
|
8341
|
+
/**
|
|
8342
|
+
*
|
|
8343
|
+
* @summary Get secure file url with read access by file name
|
|
8344
|
+
* @param {string} hospitalId
|
|
8345
|
+
* @param {string} fileName
|
|
8346
|
+
* @param {number} [minutesAvailableUntil]
|
|
8347
|
+
* @param {*} [options] Override http request option.
|
|
8348
|
+
* @throws {RequiredError}
|
|
8349
|
+
*/
|
|
8350
|
+
apiV1HospitalsHospitalIdSecurefilesFileNameReadGet: function (hospitalId, fileName, minutesAvailableUntil, options) {
|
|
8351
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
8352
|
+
var localVarAxiosArgs;
|
|
8353
|
+
return __generator(this, function (_a) {
|
|
8354
|
+
switch (_a.label) {
|
|
8355
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSecurefilesFileNameReadGet(hospitalId, fileName, minutesAvailableUntil, options)];
|
|
8356
|
+
case 1:
|
|
8357
|
+
localVarAxiosArgs = _a.sent();
|
|
8358
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
8359
|
+
}
|
|
8360
|
+
});
|
|
8361
|
+
});
|
|
8362
|
+
},
|
|
8222
8363
|
/**
|
|
8223
8364
|
*
|
|
8224
8365
|
* @summary Get file content by uri
|
|
8225
8366
|
* @param {string} hospitalId
|
|
8226
|
-
* @param {string} uri
|
|
8367
|
+
* @param {string} [uri]
|
|
8227
8368
|
* @param {*} [options] Override http request option.
|
|
8228
8369
|
* @throws {RequiredError}
|
|
8229
8370
|
*/
|
|
8230
|
-
|
|
8371
|
+
apiV1HospitalsHospitalIdSecurefilesGet: function (hospitalId, uri, options) {
|
|
8231
8372
|
return __awaiter(this, void 0, void 0, function () {
|
|
8232
8373
|
var localVarAxiosArgs;
|
|
8233
8374
|
return __generator(this, function (_a) {
|
|
8234
8375
|
switch (_a.label) {
|
|
8235
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
8376
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSecurefilesGet(hospitalId, uri, options)];
|
|
8236
8377
|
case 1:
|
|
8237
8378
|
localVarAxiosArgs = _a.sent();
|
|
8238
8379
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -8244,17 +8385,17 @@ var HospitalsApiFp = function (configuration) {
|
|
|
8244
8385
|
*
|
|
8245
8386
|
* @summary Get secure file url with read access by uri
|
|
8246
8387
|
* @param {string} hospitalId
|
|
8247
|
-
* @param {string} uri
|
|
8388
|
+
* @param {string} [uri]
|
|
8248
8389
|
* @param {number} [minutesAvailableUntil]
|
|
8249
8390
|
* @param {*} [options] Override http request option.
|
|
8250
8391
|
* @throws {RequiredError}
|
|
8251
8392
|
*/
|
|
8252
|
-
|
|
8393
|
+
apiV1HospitalsHospitalIdSecurefilesReadGet: function (hospitalId, uri, minutesAvailableUntil, options) {
|
|
8253
8394
|
return __awaiter(this, void 0, void 0, function () {
|
|
8254
8395
|
var localVarAxiosArgs;
|
|
8255
8396
|
return __generator(this, function (_a) {
|
|
8256
8397
|
switch (_a.label) {
|
|
8257
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
8398
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSecurefilesReadGet(hospitalId, uri, minutesAvailableUntil, options)];
|
|
8258
8399
|
case 1:
|
|
8259
8400
|
localVarAxiosArgs = _a.sent();
|
|
8260
8401
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -10206,28 +10347,51 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
10206
10347
|
apiV1HospitalsHospitalIdSecurecontainersPost: function (hospitalId, options) {
|
|
10207
10348
|
return localVarFp.apiV1HospitalsHospitalIdSecurecontainersPost(hospitalId, options).then(function (request) { return request(axios, basePath); });
|
|
10208
10349
|
},
|
|
10350
|
+
/**
|
|
10351
|
+
*
|
|
10352
|
+
* @summary Get file content by file name
|
|
10353
|
+
* @param {string} hospitalId
|
|
10354
|
+
* @param {string} fileName
|
|
10355
|
+
* @param {*} [options] Override http request option.
|
|
10356
|
+
* @throws {RequiredError}
|
|
10357
|
+
*/
|
|
10358
|
+
apiV1HospitalsHospitalIdSecurefilesFileNameGet: function (hospitalId, fileName, options) {
|
|
10359
|
+
return localVarFp.apiV1HospitalsHospitalIdSecurefilesFileNameGet(hospitalId, fileName, options).then(function (request) { return request(axios, basePath); });
|
|
10360
|
+
},
|
|
10361
|
+
/**
|
|
10362
|
+
*
|
|
10363
|
+
* @summary Get secure file url with read access by file name
|
|
10364
|
+
* @param {string} hospitalId
|
|
10365
|
+
* @param {string} fileName
|
|
10366
|
+
* @param {number} [minutesAvailableUntil]
|
|
10367
|
+
* @param {*} [options] Override http request option.
|
|
10368
|
+
* @throws {RequiredError}
|
|
10369
|
+
*/
|
|
10370
|
+
apiV1HospitalsHospitalIdSecurefilesFileNameReadGet: function (hospitalId, fileName, minutesAvailableUntil, options) {
|
|
10371
|
+
return localVarFp.apiV1HospitalsHospitalIdSecurefilesFileNameReadGet(hospitalId, fileName, minutesAvailableUntil, options).then(function (request) { return request(axios, basePath); });
|
|
10372
|
+
},
|
|
10209
10373
|
/**
|
|
10210
10374
|
*
|
|
10211
10375
|
* @summary Get file content by uri
|
|
10212
10376
|
* @param {string} hospitalId
|
|
10213
|
-
* @param {string} uri
|
|
10377
|
+
* @param {string} [uri]
|
|
10214
10378
|
* @param {*} [options] Override http request option.
|
|
10215
10379
|
* @throws {RequiredError}
|
|
10216
10380
|
*/
|
|
10217
|
-
|
|
10218
|
-
return localVarFp.
|
|
10381
|
+
apiV1HospitalsHospitalIdSecurefilesGet: function (hospitalId, uri, options) {
|
|
10382
|
+
return localVarFp.apiV1HospitalsHospitalIdSecurefilesGet(hospitalId, uri, options).then(function (request) { return request(axios, basePath); });
|
|
10219
10383
|
},
|
|
10220
10384
|
/**
|
|
10221
10385
|
*
|
|
10222
10386
|
* @summary Get secure file url with read access by uri
|
|
10223
10387
|
* @param {string} hospitalId
|
|
10224
|
-
* @param {string} uri
|
|
10388
|
+
* @param {string} [uri]
|
|
10225
10389
|
* @param {number} [minutesAvailableUntil]
|
|
10226
10390
|
* @param {*} [options] Override http request option.
|
|
10227
10391
|
* @throws {RequiredError}
|
|
10228
10392
|
*/
|
|
10229
|
-
|
|
10230
|
-
return localVarFp.
|
|
10393
|
+
apiV1HospitalsHospitalIdSecurefilesReadGet: function (hospitalId, uri, minutesAvailableUntil, options) {
|
|
10394
|
+
return localVarFp.apiV1HospitalsHospitalIdSecurefilesReadGet(hospitalId, uri, minutesAvailableUntil, options).then(function (request) { return request(axios, basePath); });
|
|
10231
10395
|
},
|
|
10232
10396
|
/**
|
|
10233
10397
|
*
|
|
@@ -11710,29 +11874,53 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
11710
11874
|
var _this = this;
|
|
11711
11875
|
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdSecurecontainersPost(requestParameters.hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11712
11876
|
};
|
|
11877
|
+
/**
|
|
11878
|
+
*
|
|
11879
|
+
* @summary Get file content by file name
|
|
11880
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdSecurefilesFileNameGetRequest} requestParameters Request parameters.
|
|
11881
|
+
* @param {*} [options] Override http request option.
|
|
11882
|
+
* @throws {RequiredError}
|
|
11883
|
+
* @memberof HospitalsApi
|
|
11884
|
+
*/
|
|
11885
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSecurefilesFileNameGet = function (requestParameters, options) {
|
|
11886
|
+
var _this = this;
|
|
11887
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdSecurefilesFileNameGet(requestParameters.hospitalId, requestParameters.fileName, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11888
|
+
};
|
|
11889
|
+
/**
|
|
11890
|
+
*
|
|
11891
|
+
* @summary Get secure file url with read access by file name
|
|
11892
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdSecurefilesFileNameReadGetRequest} requestParameters Request parameters.
|
|
11893
|
+
* @param {*} [options] Override http request option.
|
|
11894
|
+
* @throws {RequiredError}
|
|
11895
|
+
* @memberof HospitalsApi
|
|
11896
|
+
*/
|
|
11897
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSecurefilesFileNameReadGet = function (requestParameters, options) {
|
|
11898
|
+
var _this = this;
|
|
11899
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdSecurefilesFileNameReadGet(requestParameters.hospitalId, requestParameters.fileName, requestParameters.minutesAvailableUntil, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11900
|
+
};
|
|
11713
11901
|
/**
|
|
11714
11902
|
*
|
|
11715
11903
|
* @summary Get file content by uri
|
|
11716
|
-
* @param {
|
|
11904
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdSecurefilesGetRequest} requestParameters Request parameters.
|
|
11717
11905
|
* @param {*} [options] Override http request option.
|
|
11718
11906
|
* @throws {RequiredError}
|
|
11719
11907
|
* @memberof HospitalsApi
|
|
11720
11908
|
*/
|
|
11721
|
-
HospitalsApi.prototype.
|
|
11909
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSecurefilesGet = function (requestParameters, options) {
|
|
11722
11910
|
var _this = this;
|
|
11723
|
-
return (0, exports.HospitalsApiFp)(this.configuration).
|
|
11911
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdSecurefilesGet(requestParameters.hospitalId, requestParameters.uri, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11724
11912
|
};
|
|
11725
11913
|
/**
|
|
11726
11914
|
*
|
|
11727
11915
|
* @summary Get secure file url with read access by uri
|
|
11728
|
-
* @param {
|
|
11916
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdSecurefilesReadGetRequest} requestParameters Request parameters.
|
|
11729
11917
|
* @param {*} [options] Override http request option.
|
|
11730
11918
|
* @throws {RequiredError}
|
|
11731
11919
|
* @memberof HospitalsApi
|
|
11732
11920
|
*/
|
|
11733
|
-
HospitalsApi.prototype.
|
|
11921
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSecurefilesReadGet = function (requestParameters, options) {
|
|
11734
11922
|
var _this = this;
|
|
11735
|
-
return (0, exports.HospitalsApiFp)(this.configuration).
|
|
11923
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdSecurefilesReadGet(requestParameters.hospitalId, requestParameters.uri, requestParameters.minutesAvailableUntil, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11736
11924
|
};
|
|
11737
11925
|
/**
|
|
11738
11926
|
*
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Swagger UI - Cloud Hospital Admin Api-INT
|
|
3
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1
|
|
6
|
+
* Contact: hyounoosung@icloudhospital.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
|
+
import { Configuration } from '../configuration';
|
|
14
|
+
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { GetUsersResult } from '../models';
|
|
16
|
+
/**
|
|
17
|
+
* VonageUsersApi - axios parameter creator
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export declare const VonageUsersApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @param {*} [options] Override http request option.
|
|
24
|
+
* @throws {RequiredError}
|
|
25
|
+
*/
|
|
26
|
+
apiV1VonageusersGet: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @param {string} userId
|
|
30
|
+
* @param {*} [options] Override http request option.
|
|
31
|
+
* @throws {RequiredError}
|
|
32
|
+
*/
|
|
33
|
+
apiV1VonageusersUserIdDelete: (userId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* VonageUsersApi - functional programming interface
|
|
37
|
+
* @export
|
|
38
|
+
*/
|
|
39
|
+
export declare const VonageUsersApiFp: (configuration?: Configuration) => {
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @param {*} [options] Override http request option.
|
|
43
|
+
* @throws {RequiredError}
|
|
44
|
+
*/
|
|
45
|
+
apiV1VonageusersGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetUsersResult>>;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @param {string} userId
|
|
49
|
+
* @param {*} [options] Override http request option.
|
|
50
|
+
* @throws {RequiredError}
|
|
51
|
+
*/
|
|
52
|
+
apiV1VonageusersUserIdDelete(userId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* VonageUsersApi - factory interface
|
|
56
|
+
* @export
|
|
57
|
+
*/
|
|
58
|
+
export declare const VonageUsersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @param {*} [options] Override http request option.
|
|
62
|
+
* @throws {RequiredError}
|
|
63
|
+
*/
|
|
64
|
+
apiV1VonageusersGet(options?: any): AxiosPromise<GetUsersResult>;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @param {string} userId
|
|
68
|
+
* @param {*} [options] Override http request option.
|
|
69
|
+
* @throws {RequiredError}
|
|
70
|
+
*/
|
|
71
|
+
apiV1VonageusersUserIdDelete(userId: string, options?: any): AxiosPromise<boolean>;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* Request parameters for apiV1VonageusersUserIdDelete operation in VonageUsersApi.
|
|
75
|
+
* @export
|
|
76
|
+
* @interface VonageUsersApiApiV1VonageusersUserIdDeleteRequest
|
|
77
|
+
*/
|
|
78
|
+
export interface VonageUsersApiApiV1VonageusersUserIdDeleteRequest {
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof VonageUsersApiApiV1VonageusersUserIdDelete
|
|
83
|
+
*/
|
|
84
|
+
readonly userId: string;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* VonageUsersApi - object-oriented interface
|
|
88
|
+
* @export
|
|
89
|
+
* @class VonageUsersApi
|
|
90
|
+
* @extends {BaseAPI}
|
|
91
|
+
*/
|
|
92
|
+
export declare class VonageUsersApi extends BaseAPI {
|
|
93
|
+
/**
|
|
94
|
+
*
|
|
95
|
+
* @param {*} [options] Override http request option.
|
|
96
|
+
* @throws {RequiredError}
|
|
97
|
+
* @memberof VonageUsersApi
|
|
98
|
+
*/
|
|
99
|
+
apiV1VonageusersGet(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUsersResult, any>>;
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @param {VonageUsersApiApiV1VonageusersUserIdDeleteRequest} requestParameters Request parameters.
|
|
103
|
+
* @param {*} [options] Override http request option.
|
|
104
|
+
* @throws {RequiredError}
|
|
105
|
+
* @memberof VonageUsersApi
|
|
106
|
+
*/
|
|
107
|
+
apiV1VonageusersUserIdDelete(requestParameters: VonageUsersApiApiV1VonageusersUserIdDeleteRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
108
|
+
}
|
|
109
|
+
//# sourceMappingURL=vonage-users-api.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vonage-users-api.d.ts","sourceRoot":"","sources":["../../src/api/vonage-users-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAoB,EAAE,YAAY,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKjD,OAAO,EAAiC,WAAW,EAAE,OAAO,EAAiB,MAAM,SAAS,CAAC;AAE7F,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAG3C;;;GAGG;AACH,eAAO,MAAM,+BAA+B,mBAA6B,aAAa;IAE9E;;;;OAIG;oCACkC,kBAAkB,KAAQ,QAAQ,WAAW,CAAC;IA4BnF;;;;;OAKG;2CAC0C,MAAM,YAAW,kBAAkB,KAAQ,QAAQ,WAAW,CAAC;CAgCnH,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,gBAAgB,mBAA4B,aAAa;IAG9D;;;;OAIG;kCACiC,kBAAkB,oBAAoB,aAAa,aAAa,MAAM,KAAK,aAAa,cAAc,CAAC;IAI3I;;;;;OAKG;yCACwC,MAAM,YAAY,kBAAkB,oBAAoB,aAAa,aAAa,MAAM,KAAK,aAAa,OAAO,CAAC;CAKpK,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,qBAAqB,mBAA6B,aAAa,aAAa,MAAM,UAAU,aAAa;IAG9G;;;;OAIG;kCAC2B,GAAG,GAAG,aAAa,cAAc,CAAC;IAGhE;;;;;OAKG;yCACkC,MAAM,YAAY,GAAG,GAAG,aAAa,OAAO,CAAC;CAIzF,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,iDAAiD;IAC9D;;;;OAIG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;CAC1B;AAED;;;;;GAKG;AACH,qBAAa,cAAe,SAAQ,OAAO;IACvC;;;;;OAKG;IACI,mBAAmB,CAAC,OAAO,CAAC,EAAE,kBAAkB;IAIvD;;;;;;OAMG;IACI,4BAA4B,CAAC,iBAAiB,EAAE,iDAAiD,EAAE,OAAO,CAAC,EAAE,kBAAkB;CAGzI"}
|