ch-admin-api-client-typescript 5.2.1 → 5.2.4

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.
Files changed (40) hide show
  1. package/lib/api/hospitals-api.d.ts +431 -0
  2. package/lib/api/hospitals-api.d.ts.map +1 -1
  3. package/lib/api/hospitals-api.js +614 -0
  4. package/lib/models/index.d.ts +5 -0
  5. package/lib/models/index.d.ts.map +1 -1
  6. package/lib/models/index.js +5 -0
  7. package/lib/models/secure-container-item-model.d.ts +67 -0
  8. package/lib/models/secure-container-item-model.d.ts.map +1 -0
  9. package/lib/models/secure-container-item-model.js +15 -0
  10. package/lib/models/secure-container-model.d.ts +74 -0
  11. package/lib/models/secure-container-model.d.ts.map +1 -0
  12. package/lib/models/secure-container-model.js +15 -0
  13. package/lib/models/secure-containers-model.d.ts +33 -0
  14. package/lib/models/secure-containers-model.d.ts.map +1 -0
  15. package/lib/models/secure-containers-model.js +15 -0
  16. package/lib/models/secure-file-model.d.ts +86 -0
  17. package/lib/models/secure-file-model.d.ts.map +1 -0
  18. package/lib/models/secure-file-model.js +15 -0
  19. package/lib/models/survey-form-element-types.d.ts +1 -0
  20. package/lib/models/survey-form-element-types.d.ts.map +1 -1
  21. package/lib/models/survey-form-element-types.js +2 -1
  22. package/lib/models/survey-result-item-model.d.ts +81 -0
  23. package/lib/models/survey-result-item-model.d.ts.map +1 -0
  24. package/lib/models/survey-result-item-model.js +15 -0
  25. package/lib/models/survey-result-model.d.ts +6 -6
  26. package/lib/models/survey-result-model.d.ts.map +1 -1
  27. package/lib/models/survey-results-model.d.ts +3 -3
  28. package/lib/models/survey-results-model.d.ts.map +1 -1
  29. package/package.json +1 -1
  30. package/src/.openapi-generator/FILES +5 -0
  31. package/src/api/hospitals-api.ts +754 -6
  32. package/src/models/index.ts +5 -0
  33. package/src/models/secure-container-item-model.ts +72 -0
  34. package/src/models/secure-container-model.ts +81 -0
  35. package/src/models/secure-containers-model.ts +42 -0
  36. package/src/models/secure-file-model.ts +93 -0
  37. package/src/models/survey-form-element-types.ts +2 -1
  38. package/src/models/survey-result-item-model.ts +90 -0
  39. package/src/models/survey-result-model.ts +6 -6
  40. package/src/models/survey-results-model.ts +3 -3
@@ -3034,6 +3034,334 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
3034
3034
  });
3035
3035
  });
3036
3036
  },
3037
+ /**
3038
+ *
3039
+ * @summary Delete secure file container
3040
+ * @param {string} hospitalId
3041
+ * @param {string} containerId
3042
+ * @param {*} [options] Override http request option.
3043
+ * @throws {RequiredError}
3044
+ */
3045
+ apiV1HospitalsHospitalIdSecurecontainersContainerIdDelete: function (hospitalId, containerId, options) {
3046
+ if (options === void 0) { options = {}; }
3047
+ return __awaiter(_this, void 0, void 0, function () {
3048
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
3049
+ return __generator(this, function (_a) {
3050
+ switch (_a.label) {
3051
+ case 0:
3052
+ // verify required parameter 'hospitalId' is not null or undefined
3053
+ (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSecurecontainersContainerIdDelete', 'hospitalId', hospitalId);
3054
+ // verify required parameter 'containerId' is not null or undefined
3055
+ (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSecurecontainersContainerIdDelete', 'containerId', containerId);
3056
+ localVarPath = "/api/v1/hospitals/{hospitalId}/securecontainers/{containerId}"
3057
+ .replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
3058
+ .replace("{".concat("containerId", "}"), encodeURIComponent(String(containerId)));
3059
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3060
+ if (configuration) {
3061
+ baseOptions = configuration.baseOptions;
3062
+ }
3063
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
3064
+ localVarHeaderParameter = {};
3065
+ localVarQueryParameter = {};
3066
+ // authentication oauth2 required
3067
+ // oauth required
3068
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
3069
+ case 1:
3070
+ // authentication oauth2 required
3071
+ // oauth required
3072
+ _a.sent();
3073
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3074
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3075
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3076
+ return [2 /*return*/, {
3077
+ url: (0, common_1.toPathString)(localVarUrlObj),
3078
+ options: localVarRequestOptions,
3079
+ }];
3080
+ }
3081
+ });
3082
+ });
3083
+ },
3084
+ /**
3085
+ *
3086
+ * @summary Get file content
3087
+ * @param {string} hospitalId
3088
+ * @param {string} containerId
3089
+ * @param {string} fileId
3090
+ * @param {*} [options] Override http request option.
3091
+ * @throws {RequiredError}
3092
+ */
3093
+ apiV1HospitalsHospitalIdSecurecontainersContainerIdFilesFileIdGet: function (hospitalId, containerId, fileId, options) {
3094
+ if (options === void 0) { options = {}; }
3095
+ return __awaiter(_this, void 0, void 0, function () {
3096
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
3097
+ return __generator(this, function (_a) {
3098
+ switch (_a.label) {
3099
+ case 0:
3100
+ // verify required parameter 'hospitalId' is not null or undefined
3101
+ (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSecurecontainersContainerIdFilesFileIdGet', 'hospitalId', hospitalId);
3102
+ // verify required parameter 'containerId' is not null or undefined
3103
+ (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSecurecontainersContainerIdFilesFileIdGet', 'containerId', containerId);
3104
+ // verify required parameter 'fileId' is not null or undefined
3105
+ (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSecurecontainersContainerIdFilesFileIdGet', 'fileId', fileId);
3106
+ localVarPath = "/api/v1/hospitals/{hospitalId}/securecontainers/{containerId}/files/{fileId}"
3107
+ .replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
3108
+ .replace("{".concat("containerId", "}"), encodeURIComponent(String(containerId)))
3109
+ .replace("{".concat("fileId", "}"), encodeURIComponent(String(fileId)));
3110
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3111
+ if (configuration) {
3112
+ baseOptions = configuration.baseOptions;
3113
+ }
3114
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
3115
+ localVarHeaderParameter = {};
3116
+ localVarQueryParameter = {};
3117
+ // authentication oauth2 required
3118
+ // oauth required
3119
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
3120
+ case 1:
3121
+ // authentication oauth2 required
3122
+ // oauth required
3123
+ _a.sent();
3124
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3125
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3126
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3127
+ return [2 /*return*/, {
3128
+ url: (0, common_1.toPathString)(localVarUrlObj),
3129
+ options: localVarRequestOptions,
3130
+ }];
3131
+ }
3132
+ });
3133
+ });
3134
+ },
3135
+ /**
3136
+ *
3137
+ * @summary Get secure file url with read access
3138
+ * @param {string} hospitalId
3139
+ * @param {string} containerId
3140
+ * @param {string} fileId
3141
+ * @param {number} [minutesAvailableUntil]
3142
+ * @param {*} [options] Override http request option.
3143
+ * @throws {RequiredError}
3144
+ */
3145
+ apiV1HospitalsHospitalIdSecurecontainersContainerIdFilesFileIdUrlReadGet: function (hospitalId, containerId, fileId, minutesAvailableUntil, options) {
3146
+ if (options === void 0) { options = {}; }
3147
+ return __awaiter(_this, void 0, void 0, function () {
3148
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
3149
+ return __generator(this, function (_a) {
3150
+ switch (_a.label) {
3151
+ case 0:
3152
+ // verify required parameter 'hospitalId' is not null or undefined
3153
+ (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSecurecontainersContainerIdFilesFileIdUrlReadGet', 'hospitalId', hospitalId);
3154
+ // verify required parameter 'containerId' is not null or undefined
3155
+ (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSecurecontainersContainerIdFilesFileIdUrlReadGet', 'containerId', containerId);
3156
+ // verify required parameter 'fileId' is not null or undefined
3157
+ (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSecurecontainersContainerIdFilesFileIdUrlReadGet', 'fileId', fileId);
3158
+ localVarPath = "/api/v1/hospitals/{hospitalId}/securecontainers/{containerId}/files/{fileId}/url/read"
3159
+ .replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
3160
+ .replace("{".concat("containerId", "}"), encodeURIComponent(String(containerId)))
3161
+ .replace("{".concat("fileId", "}"), encodeURIComponent(String(fileId)));
3162
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3163
+ if (configuration) {
3164
+ baseOptions = configuration.baseOptions;
3165
+ }
3166
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
3167
+ localVarHeaderParameter = {};
3168
+ localVarQueryParameter = {};
3169
+ // authentication oauth2 required
3170
+ // oauth required
3171
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
3172
+ case 1:
3173
+ // authentication oauth2 required
3174
+ // oauth required
3175
+ _a.sent();
3176
+ if (minutesAvailableUntil !== undefined) {
3177
+ localVarQueryParameter['minutesAvailableUntil'] = minutesAvailableUntil;
3178
+ }
3179
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3180
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3181
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3182
+ return [2 /*return*/, {
3183
+ url: (0, common_1.toPathString)(localVarUrlObj),
3184
+ options: localVarRequestOptions,
3185
+ }];
3186
+ }
3187
+ });
3188
+ });
3189
+ },
3190
+ /**
3191
+ *
3192
+ * @summary Get secure container
3193
+ * @param {string} hospitalId
3194
+ * @param {string} containerId
3195
+ * @param {string} [languageCode]
3196
+ * @param {*} [options] Override http request option.
3197
+ * @throws {RequiredError}
3198
+ */
3199
+ apiV1HospitalsHospitalIdSecurecontainersContainerIdGet: function (hospitalId, containerId, languageCode, options) {
3200
+ if (options === void 0) { options = {}; }
3201
+ return __awaiter(_this, void 0, void 0, function () {
3202
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
3203
+ return __generator(this, function (_a) {
3204
+ switch (_a.label) {
3205
+ case 0:
3206
+ // verify required parameter 'hospitalId' is not null or undefined
3207
+ (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSecurecontainersContainerIdGet', 'hospitalId', hospitalId);
3208
+ // verify required parameter 'containerId' is not null or undefined
3209
+ (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSecurecontainersContainerIdGet', 'containerId', containerId);
3210
+ localVarPath = "/api/v1/hospitals/{hospitalId}/securecontainers/{containerId}"
3211
+ .replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
3212
+ .replace("{".concat("containerId", "}"), encodeURIComponent(String(containerId)));
3213
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3214
+ if (configuration) {
3215
+ baseOptions = configuration.baseOptions;
3216
+ }
3217
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
3218
+ localVarHeaderParameter = {};
3219
+ localVarQueryParameter = {};
3220
+ // authentication oauth2 required
3221
+ // oauth required
3222
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
3223
+ case 1:
3224
+ // authentication oauth2 required
3225
+ // oauth required
3226
+ _a.sent();
3227
+ if (languageCode !== undefined) {
3228
+ localVarQueryParameter['languageCode'] = languageCode;
3229
+ }
3230
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3231
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3232
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3233
+ return [2 /*return*/, {
3234
+ url: (0, common_1.toPathString)(localVarUrlObj),
3235
+ options: localVarRequestOptions,
3236
+ }];
3237
+ }
3238
+ });
3239
+ });
3240
+ },
3241
+ /**
3242
+ *
3243
+ * @summary Get secure containers
3244
+ * @param {string} hospitalId
3245
+ * @param {string} [id]
3246
+ * @param {string} [languageCode]
3247
+ * @param {boolean} [showHidden]
3248
+ * @param {string} [userName]
3249
+ * @param {string} [userEmail]
3250
+ * @param {string} [userId]
3251
+ * @param {number} [page]
3252
+ * @param {number} [limit]
3253
+ * @param {Date} [lastRetrieved]
3254
+ * @param {*} [options] Override http request option.
3255
+ * @throws {RequiredError}
3256
+ */
3257
+ apiV1HospitalsHospitalIdSecurecontainersGet: function (hospitalId, id, languageCode, showHidden, userName, userEmail, userId, page, limit, lastRetrieved, options) {
3258
+ if (options === void 0) { options = {}; }
3259
+ return __awaiter(_this, void 0, void 0, function () {
3260
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
3261
+ return __generator(this, function (_a) {
3262
+ switch (_a.label) {
3263
+ case 0:
3264
+ // verify required parameter 'hospitalId' is not null or undefined
3265
+ (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSecurecontainersGet', 'hospitalId', hospitalId);
3266
+ localVarPath = "/api/v1/hospitals/{hospitalId}/securecontainers"
3267
+ .replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
3268
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3269
+ if (configuration) {
3270
+ baseOptions = configuration.baseOptions;
3271
+ }
3272
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
3273
+ localVarHeaderParameter = {};
3274
+ localVarQueryParameter = {};
3275
+ // authentication oauth2 required
3276
+ // oauth required
3277
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
3278
+ case 1:
3279
+ // authentication oauth2 required
3280
+ // oauth required
3281
+ _a.sent();
3282
+ if (id !== undefined) {
3283
+ localVarQueryParameter['Id'] = id;
3284
+ }
3285
+ if (languageCode !== undefined) {
3286
+ localVarQueryParameter['LanguageCode'] = languageCode;
3287
+ }
3288
+ if (showHidden !== undefined) {
3289
+ localVarQueryParameter['ShowHidden'] = showHidden;
3290
+ }
3291
+ if (userName !== undefined) {
3292
+ localVarQueryParameter['UserName'] = userName;
3293
+ }
3294
+ if (userEmail !== undefined) {
3295
+ localVarQueryParameter['UserEmail'] = userEmail;
3296
+ }
3297
+ if (userId !== undefined) {
3298
+ localVarQueryParameter['UserId'] = userId;
3299
+ }
3300
+ if (page !== undefined) {
3301
+ localVarQueryParameter['page'] = page;
3302
+ }
3303
+ if (limit !== undefined) {
3304
+ localVarQueryParameter['limit'] = limit;
3305
+ }
3306
+ if (lastRetrieved !== undefined) {
3307
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
3308
+ lastRetrieved.toISOString() :
3309
+ lastRetrieved;
3310
+ }
3311
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3312
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3313
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3314
+ return [2 /*return*/, {
3315
+ url: (0, common_1.toPathString)(localVarUrlObj),
3316
+ options: localVarRequestOptions,
3317
+ }];
3318
+ }
3319
+ });
3320
+ });
3321
+ },
3322
+ /**
3323
+ *
3324
+ * @summary Create secure file container
3325
+ * @param {string} hospitalId
3326
+ * @param {*} [options] Override http request option.
3327
+ * @throws {RequiredError}
3328
+ */
3329
+ apiV1HospitalsHospitalIdSecurecontainersPost: function (hospitalId, options) {
3330
+ if (options === void 0) { options = {}; }
3331
+ return __awaiter(_this, void 0, void 0, function () {
3332
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
3333
+ return __generator(this, function (_a) {
3334
+ switch (_a.label) {
3335
+ case 0:
3336
+ // verify required parameter 'hospitalId' is not null or undefined
3337
+ (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSecurecontainersPost', 'hospitalId', hospitalId);
3338
+ localVarPath = "/api/v1/hospitals/{hospitalId}/securecontainers"
3339
+ .replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
3340
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3341
+ if (configuration) {
3342
+ baseOptions = configuration.baseOptions;
3343
+ }
3344
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
3345
+ localVarHeaderParameter = {};
3346
+ localVarQueryParameter = {};
3347
+ // authentication oauth2 required
3348
+ // oauth required
3349
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
3350
+ case 1:
3351
+ // authentication oauth2 required
3352
+ // oauth required
3353
+ _a.sent();
3354
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3355
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3356
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3357
+ return [2 /*return*/, {
3358
+ url: (0, common_1.toPathString)(localVarUrlObj),
3359
+ options: localVarRequestOptions,
3360
+ }];
3361
+ }
3362
+ });
3363
+ });
3364
+ },
3037
3365
  /**
3038
3366
  *
3039
3367
  * @summary Get all HospitalSpecialties.
@@ -6844,6 +7172,143 @@ var HospitalsApiFp = function (configuration) {
6844
7172
  });
6845
7173
  });
6846
7174
  },
7175
+ /**
7176
+ *
7177
+ * @summary Delete secure file container
7178
+ * @param {string} hospitalId
7179
+ * @param {string} containerId
7180
+ * @param {*} [options] Override http request option.
7181
+ * @throws {RequiredError}
7182
+ */
7183
+ apiV1HospitalsHospitalIdSecurecontainersContainerIdDelete: function (hospitalId, containerId, options) {
7184
+ return __awaiter(this, void 0, void 0, function () {
7185
+ var localVarAxiosArgs;
7186
+ return __generator(this, function (_a) {
7187
+ switch (_a.label) {
7188
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSecurecontainersContainerIdDelete(hospitalId, containerId, options)];
7189
+ case 1:
7190
+ localVarAxiosArgs = _a.sent();
7191
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
7192
+ }
7193
+ });
7194
+ });
7195
+ },
7196
+ /**
7197
+ *
7198
+ * @summary Get file content
7199
+ * @param {string} hospitalId
7200
+ * @param {string} containerId
7201
+ * @param {string} fileId
7202
+ * @param {*} [options] Override http request option.
7203
+ * @throws {RequiredError}
7204
+ */
7205
+ apiV1HospitalsHospitalIdSecurecontainersContainerIdFilesFileIdGet: function (hospitalId, containerId, fileId, options) {
7206
+ return __awaiter(this, void 0, void 0, function () {
7207
+ var localVarAxiosArgs;
7208
+ return __generator(this, function (_a) {
7209
+ switch (_a.label) {
7210
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSecurecontainersContainerIdFilesFileIdGet(hospitalId, containerId, fileId, options)];
7211
+ case 1:
7212
+ localVarAxiosArgs = _a.sent();
7213
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
7214
+ }
7215
+ });
7216
+ });
7217
+ },
7218
+ /**
7219
+ *
7220
+ * @summary Get secure file url with read access
7221
+ * @param {string} hospitalId
7222
+ * @param {string} containerId
7223
+ * @param {string} fileId
7224
+ * @param {number} [minutesAvailableUntil]
7225
+ * @param {*} [options] Override http request option.
7226
+ * @throws {RequiredError}
7227
+ */
7228
+ apiV1HospitalsHospitalIdSecurecontainersContainerIdFilesFileIdUrlReadGet: function (hospitalId, containerId, fileId, minutesAvailableUntil, options) {
7229
+ return __awaiter(this, void 0, void 0, function () {
7230
+ var localVarAxiosArgs;
7231
+ return __generator(this, function (_a) {
7232
+ switch (_a.label) {
7233
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSecurecontainersContainerIdFilesFileIdUrlReadGet(hospitalId, containerId, fileId, minutesAvailableUntil, options)];
7234
+ case 1:
7235
+ localVarAxiosArgs = _a.sent();
7236
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
7237
+ }
7238
+ });
7239
+ });
7240
+ },
7241
+ /**
7242
+ *
7243
+ * @summary Get secure container
7244
+ * @param {string} hospitalId
7245
+ * @param {string} containerId
7246
+ * @param {string} [languageCode]
7247
+ * @param {*} [options] Override http request option.
7248
+ * @throws {RequiredError}
7249
+ */
7250
+ apiV1HospitalsHospitalIdSecurecontainersContainerIdGet: function (hospitalId, containerId, languageCode, options) {
7251
+ return __awaiter(this, void 0, void 0, function () {
7252
+ var localVarAxiosArgs;
7253
+ return __generator(this, function (_a) {
7254
+ switch (_a.label) {
7255
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSecurecontainersContainerIdGet(hospitalId, containerId, languageCode, options)];
7256
+ case 1:
7257
+ localVarAxiosArgs = _a.sent();
7258
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
7259
+ }
7260
+ });
7261
+ });
7262
+ },
7263
+ /**
7264
+ *
7265
+ * @summary Get secure containers
7266
+ * @param {string} hospitalId
7267
+ * @param {string} [id]
7268
+ * @param {string} [languageCode]
7269
+ * @param {boolean} [showHidden]
7270
+ * @param {string} [userName]
7271
+ * @param {string} [userEmail]
7272
+ * @param {string} [userId]
7273
+ * @param {number} [page]
7274
+ * @param {number} [limit]
7275
+ * @param {Date} [lastRetrieved]
7276
+ * @param {*} [options] Override http request option.
7277
+ * @throws {RequiredError}
7278
+ */
7279
+ apiV1HospitalsHospitalIdSecurecontainersGet: function (hospitalId, id, languageCode, showHidden, userName, userEmail, userId, page, limit, lastRetrieved, options) {
7280
+ return __awaiter(this, void 0, void 0, function () {
7281
+ var localVarAxiosArgs;
7282
+ return __generator(this, function (_a) {
7283
+ switch (_a.label) {
7284
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSecurecontainersGet(hospitalId, id, languageCode, showHidden, userName, userEmail, userId, page, limit, lastRetrieved, options)];
7285
+ case 1:
7286
+ localVarAxiosArgs = _a.sent();
7287
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
7288
+ }
7289
+ });
7290
+ });
7291
+ },
7292
+ /**
7293
+ *
7294
+ * @summary Create secure file container
7295
+ * @param {string} hospitalId
7296
+ * @param {*} [options] Override http request option.
7297
+ * @throws {RequiredError}
7298
+ */
7299
+ apiV1HospitalsHospitalIdSecurecontainersPost: function (hospitalId, options) {
7300
+ return __awaiter(this, void 0, void 0, function () {
7301
+ var localVarAxiosArgs;
7302
+ return __generator(this, function (_a) {
7303
+ switch (_a.label) {
7304
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSecurecontainersPost(hospitalId, options)];
7305
+ case 1:
7306
+ localVarAxiosArgs = _a.sent();
7307
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
7308
+ }
7309
+ });
7310
+ });
7311
+ },
6847
7312
  /**
6848
7313
  *
6849
7314
  * @summary Get all HospitalSpecialties.
@@ -8577,6 +9042,83 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
8577
9042
  apiV1HospitalsHospitalIdRevalidatePost: function (hospitalId, includeCurrent, options) {
8578
9043
  return localVarFp.apiV1HospitalsHospitalIdRevalidatePost(hospitalId, includeCurrent, options).then(function (request) { return request(axios, basePath); });
8579
9044
  },
9045
+ /**
9046
+ *
9047
+ * @summary Delete secure file container
9048
+ * @param {string} hospitalId
9049
+ * @param {string} containerId
9050
+ * @param {*} [options] Override http request option.
9051
+ * @throws {RequiredError}
9052
+ */
9053
+ apiV1HospitalsHospitalIdSecurecontainersContainerIdDelete: function (hospitalId, containerId, options) {
9054
+ return localVarFp.apiV1HospitalsHospitalIdSecurecontainersContainerIdDelete(hospitalId, containerId, options).then(function (request) { return request(axios, basePath); });
9055
+ },
9056
+ /**
9057
+ *
9058
+ * @summary Get file content
9059
+ * @param {string} hospitalId
9060
+ * @param {string} containerId
9061
+ * @param {string} fileId
9062
+ * @param {*} [options] Override http request option.
9063
+ * @throws {RequiredError}
9064
+ */
9065
+ apiV1HospitalsHospitalIdSecurecontainersContainerIdFilesFileIdGet: function (hospitalId, containerId, fileId, options) {
9066
+ return localVarFp.apiV1HospitalsHospitalIdSecurecontainersContainerIdFilesFileIdGet(hospitalId, containerId, fileId, options).then(function (request) { return request(axios, basePath); });
9067
+ },
9068
+ /**
9069
+ *
9070
+ * @summary Get secure file url with read access
9071
+ * @param {string} hospitalId
9072
+ * @param {string} containerId
9073
+ * @param {string} fileId
9074
+ * @param {number} [minutesAvailableUntil]
9075
+ * @param {*} [options] Override http request option.
9076
+ * @throws {RequiredError}
9077
+ */
9078
+ apiV1HospitalsHospitalIdSecurecontainersContainerIdFilesFileIdUrlReadGet: function (hospitalId, containerId, fileId, minutesAvailableUntil, options) {
9079
+ return localVarFp.apiV1HospitalsHospitalIdSecurecontainersContainerIdFilesFileIdUrlReadGet(hospitalId, containerId, fileId, minutesAvailableUntil, options).then(function (request) { return request(axios, basePath); });
9080
+ },
9081
+ /**
9082
+ *
9083
+ * @summary Get secure container
9084
+ * @param {string} hospitalId
9085
+ * @param {string} containerId
9086
+ * @param {string} [languageCode]
9087
+ * @param {*} [options] Override http request option.
9088
+ * @throws {RequiredError}
9089
+ */
9090
+ apiV1HospitalsHospitalIdSecurecontainersContainerIdGet: function (hospitalId, containerId, languageCode, options) {
9091
+ return localVarFp.apiV1HospitalsHospitalIdSecurecontainersContainerIdGet(hospitalId, containerId, languageCode, options).then(function (request) { return request(axios, basePath); });
9092
+ },
9093
+ /**
9094
+ *
9095
+ * @summary Get secure containers
9096
+ * @param {string} hospitalId
9097
+ * @param {string} [id]
9098
+ * @param {string} [languageCode]
9099
+ * @param {boolean} [showHidden]
9100
+ * @param {string} [userName]
9101
+ * @param {string} [userEmail]
9102
+ * @param {string} [userId]
9103
+ * @param {number} [page]
9104
+ * @param {number} [limit]
9105
+ * @param {Date} [lastRetrieved]
9106
+ * @param {*} [options] Override http request option.
9107
+ * @throws {RequiredError}
9108
+ */
9109
+ apiV1HospitalsHospitalIdSecurecontainersGet: function (hospitalId, id, languageCode, showHidden, userName, userEmail, userId, page, limit, lastRetrieved, options) {
9110
+ return localVarFp.apiV1HospitalsHospitalIdSecurecontainersGet(hospitalId, id, languageCode, showHidden, userName, userEmail, userId, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
9111
+ },
9112
+ /**
9113
+ *
9114
+ * @summary Create secure file container
9115
+ * @param {string} hospitalId
9116
+ * @param {*} [options] Override http request option.
9117
+ * @throws {RequiredError}
9118
+ */
9119
+ apiV1HospitalsHospitalIdSecurecontainersPost: function (hospitalId, options) {
9120
+ return localVarFp.apiV1HospitalsHospitalIdSecurecontainersPost(hospitalId, options).then(function (request) { return request(axios, basePath); });
9121
+ },
8580
9122
  /**
8581
9123
  *
8582
9124
  * @summary Get all HospitalSpecialties.
@@ -9854,6 +10396,78 @@ var HospitalsApi = /** @class */ (function (_super) {
9854
10396
  var _this = this;
9855
10397
  return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdRevalidatePost(requestParameters.hospitalId, requestParameters.includeCurrent, options).then(function (request) { return request(_this.axios, _this.basePath); });
9856
10398
  };
10399
+ /**
10400
+ *
10401
+ * @summary Delete secure file container
10402
+ * @param {HospitalsApiApiV1HospitalsHospitalIdSecurecontainersContainerIdDeleteRequest} requestParameters Request parameters.
10403
+ * @param {*} [options] Override http request option.
10404
+ * @throws {RequiredError}
10405
+ * @memberof HospitalsApi
10406
+ */
10407
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdSecurecontainersContainerIdDelete = function (requestParameters, options) {
10408
+ var _this = this;
10409
+ return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdSecurecontainersContainerIdDelete(requestParameters.hospitalId, requestParameters.containerId, options).then(function (request) { return request(_this.axios, _this.basePath); });
10410
+ };
10411
+ /**
10412
+ *
10413
+ * @summary Get file content
10414
+ * @param {HospitalsApiApiV1HospitalsHospitalIdSecurecontainersContainerIdFilesFileIdGetRequest} requestParameters Request parameters.
10415
+ * @param {*} [options] Override http request option.
10416
+ * @throws {RequiredError}
10417
+ * @memberof HospitalsApi
10418
+ */
10419
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdSecurecontainersContainerIdFilesFileIdGet = function (requestParameters, options) {
10420
+ var _this = this;
10421
+ return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdSecurecontainersContainerIdFilesFileIdGet(requestParameters.hospitalId, requestParameters.containerId, requestParameters.fileId, options).then(function (request) { return request(_this.axios, _this.basePath); });
10422
+ };
10423
+ /**
10424
+ *
10425
+ * @summary Get secure file url with read access
10426
+ * @param {HospitalsApiApiV1HospitalsHospitalIdSecurecontainersContainerIdFilesFileIdUrlReadGetRequest} requestParameters Request parameters.
10427
+ * @param {*} [options] Override http request option.
10428
+ * @throws {RequiredError}
10429
+ * @memberof HospitalsApi
10430
+ */
10431
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdSecurecontainersContainerIdFilesFileIdUrlReadGet = function (requestParameters, options) {
10432
+ var _this = this;
10433
+ return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdSecurecontainersContainerIdFilesFileIdUrlReadGet(requestParameters.hospitalId, requestParameters.containerId, requestParameters.fileId, requestParameters.minutesAvailableUntil, options).then(function (request) { return request(_this.axios, _this.basePath); });
10434
+ };
10435
+ /**
10436
+ *
10437
+ * @summary Get secure container
10438
+ * @param {HospitalsApiApiV1HospitalsHospitalIdSecurecontainersContainerIdGetRequest} requestParameters Request parameters.
10439
+ * @param {*} [options] Override http request option.
10440
+ * @throws {RequiredError}
10441
+ * @memberof HospitalsApi
10442
+ */
10443
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdSecurecontainersContainerIdGet = function (requestParameters, options) {
10444
+ var _this = this;
10445
+ return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdSecurecontainersContainerIdGet(requestParameters.hospitalId, requestParameters.containerId, requestParameters.languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
10446
+ };
10447
+ /**
10448
+ *
10449
+ * @summary Get secure containers
10450
+ * @param {HospitalsApiApiV1HospitalsHospitalIdSecurecontainersGetRequest} requestParameters Request parameters.
10451
+ * @param {*} [options] Override http request option.
10452
+ * @throws {RequiredError}
10453
+ * @memberof HospitalsApi
10454
+ */
10455
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdSecurecontainersGet = function (requestParameters, options) {
10456
+ var _this = this;
10457
+ return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdSecurecontainersGet(requestParameters.hospitalId, requestParameters.id, requestParameters.languageCode, requestParameters.showHidden, requestParameters.userName, requestParameters.userEmail, requestParameters.userId, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
10458
+ };
10459
+ /**
10460
+ *
10461
+ * @summary Create secure file container
10462
+ * @param {HospitalsApiApiV1HospitalsHospitalIdSecurecontainersPostRequest} requestParameters Request parameters.
10463
+ * @param {*} [options] Override http request option.
10464
+ * @throws {RequiredError}
10465
+ * @memberof HospitalsApi
10466
+ */
10467
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdSecurecontainersPost = function (requestParameters, options) {
10468
+ var _this = this;
10469
+ return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdSecurecontainersPost(requestParameters.hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
10470
+ };
9857
10471
  /**
9858
10472
  *
9859
10473
  * @summary Get all HospitalSpecialties.
@@ -290,6 +290,10 @@ export * from './save-hospital-consultation-timetable-overrides-command';
290
290
  export * from './save-hospital-specialty-appointment-timetable-overrides-command';
291
291
  export * from './save-service-appointment-timetable-overrides-command';
292
292
  export * from './search-index-type';
293
+ export * from './secure-container-item-model';
294
+ export * from './secure-container-model';
295
+ export * from './secure-containers-model';
296
+ export * from './secure-file-model';
293
297
  export * from './send-bird-group-channel-member';
294
298
  export * from './send-bird-group-channel-model';
295
299
  export * from './send-bird-group-channelr-operator';
@@ -330,6 +334,7 @@ export * from './survey-form-status';
330
334
  export * from './survey-forms-model';
331
335
  export * from './survey-result-element-model';
332
336
  export * from './survey-result-element-value-model';
337
+ export * from './survey-result-item-model';
333
338
  export * from './survey-result-model';
334
339
  export * from './survey-result-user-model';
335
340
  export * from './survey-results-model';