ch-admin-api-client-typescript 5.5.5 → 5.5.7

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 (77) hide show
  1. package/lib/api/hospitals-api.d.ts +629 -0
  2. package/lib/api/hospitals-api.d.ts.map +1 -1
  3. package/lib/api/hospitals-api.js +949 -41
  4. package/lib/api/web-apps-api.d.ts +394 -0
  5. package/lib/api/web-apps-api.d.ts.map +1 -0
  6. package/lib/api/web-apps-api.js +636 -0
  7. package/lib/api.d.ts +1 -0
  8. package/lib/api.d.ts.map +1 -1
  9. package/lib/api.js +1 -0
  10. package/lib/models/create-hospital-command.d.ts +7 -0
  11. package/lib/models/create-hospital-command.d.ts.map +1 -1
  12. package/lib/models/create-hospital-tag-command.d.ts +31 -0
  13. package/lib/models/create-hospital-tag-command.d.ts.map +1 -0
  14. package/lib/models/create-hospital-tag-command.js +15 -0
  15. package/lib/models/create-web-app-command.d.ts +104 -0
  16. package/lib/models/create-web-app-command.d.ts.map +1 -0
  17. package/lib/models/create-web-app-command.js +15 -0
  18. package/lib/models/deploy-status.d.ts +28 -0
  19. package/lib/models/deploy-status.d.ts.map +1 -0
  20. package/lib/models/deploy-status.js +31 -0
  21. package/lib/models/domain-type.d.ts +22 -0
  22. package/lib/models/domain-type.d.ts.map +1 -0
  23. package/lib/models/domain-type.js +25 -0
  24. package/lib/models/hospital-model.d.ts +26 -0
  25. package/lib/models/hospital-model.d.ts.map +1 -1
  26. package/lib/models/hospital-tag-item-model.d.ts +31 -0
  27. package/lib/models/hospital-tag-item-model.d.ts.map +1 -0
  28. package/lib/models/hospital-tag-item-model.js +15 -0
  29. package/lib/models/hospital-tag-model.d.ts +37 -0
  30. package/lib/models/hospital-tag-model.d.ts.map +1 -0
  31. package/lib/models/hospital-tag-model.js +15 -0
  32. package/lib/models/hospital-tags-model.d.ts +33 -0
  33. package/lib/models/hospital-tags-model.d.ts.map +1 -0
  34. package/lib/models/hospital-tags-model.js +15 -0
  35. package/lib/models/index.d.ts +11 -0
  36. package/lib/models/index.d.ts.map +1 -1
  37. package/lib/models/index.js +11 -0
  38. package/lib/models/search-curation-item-input-model.d.ts +6 -0
  39. package/lib/models/search-curation-item-input-model.d.ts.map +1 -1
  40. package/lib/models/search-curation-item-model.d.ts +6 -0
  41. package/lib/models/search-curation-item-model.d.ts.map +1 -1
  42. package/lib/models/update-hospital-command.d.ts +7 -0
  43. package/lib/models/update-hospital-command.d.ts.map +1 -1
  44. package/lib/models/update-web-app-command.d.ts +105 -0
  45. package/lib/models/update-web-app-command.d.ts.map +1 -0
  46. package/lib/models/update-web-app-command.js +15 -0
  47. package/lib/models/web-app-item-model.d.ts +148 -0
  48. package/lib/models/web-app-item-model.d.ts.map +1 -0
  49. package/lib/models/web-app-item-model.js +15 -0
  50. package/lib/models/web-app-model.d.ts +148 -0
  51. package/lib/models/web-app-model.d.ts.map +1 -0
  52. package/lib/models/web-app-model.js +15 -0
  53. package/lib/models/web-apps-model.d.ts +33 -0
  54. package/lib/models/web-apps-model.d.ts.map +1 -0
  55. package/lib/models/web-apps-model.js +15 -0
  56. package/package.json +1 -1
  57. package/src/.openapi-generator/FILES +12 -0
  58. package/src/api/hospitals-api.ts +1194 -91
  59. package/src/api/web-apps-api.ts +681 -0
  60. package/src/api.ts +1 -0
  61. package/src/models/create-hospital-command.ts +9 -0
  62. package/src/models/create-hospital-tag-command.ts +36 -0
  63. package/src/models/create-web-app-command.ts +111 -0
  64. package/src/models/deploy-status.ts +37 -0
  65. package/src/models/domain-type.ts +31 -0
  66. package/src/models/hospital-model.ts +30 -0
  67. package/src/models/hospital-tag-item-model.ts +36 -0
  68. package/src/models/hospital-tag-model.ts +42 -0
  69. package/src/models/hospital-tags-model.ts +42 -0
  70. package/src/models/index.ts +11 -0
  71. package/src/models/search-curation-item-input-model.ts +6 -0
  72. package/src/models/search-curation-item-model.ts +6 -0
  73. package/src/models/update-hospital-command.ts +9 -0
  74. package/src/models/update-web-app-command.ts +114 -0
  75. package/src/models/web-app-item-model.ts +159 -0
  76. package/src/models/web-app-model.ts +159 -0
  77. package/src/models/web-apps-model.ts +42 -0
@@ -2935,6 +2935,289 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
2935
2935
  });
2936
2936
  });
2937
2937
  },
2938
+ /**
2939
+ *
2940
+ * @summary Get managers
2941
+ * @param {string} hospitalId
2942
+ * @param {number} [page]
2943
+ * @param {number} [limit]
2944
+ * @param {Date} [lastRetrieved]
2945
+ * @param {string} [id]
2946
+ * @param {string} [fullname]
2947
+ * @param {string} [email]
2948
+ * @param {Gender} [gender]
2949
+ * @param {Date} [dateOfBirth]
2950
+ * @param {Date} [created]
2951
+ * @param {boolean} [showHidden]
2952
+ * @param {*} [options] Override http request option.
2953
+ * @throws {RequiredError}
2954
+ */
2955
+ apiV1HospitalsHospitalIdManagersGet: function (hospitalId, page, limit, lastRetrieved, id, fullname, email, gender, dateOfBirth, created, showHidden, options) {
2956
+ if (options === void 0) { options = {}; }
2957
+ return __awaiter(_this, void 0, void 0, function () {
2958
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
2959
+ return __generator(this, function (_a) {
2960
+ switch (_a.label) {
2961
+ case 0:
2962
+ // verify required parameter 'hospitalId' is not null or undefined
2963
+ (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdManagersGet', 'hospitalId', hospitalId);
2964
+ localVarPath = "/api/v1/hospitals/{hospitalId}/managers"
2965
+ .replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
2966
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2967
+ if (configuration) {
2968
+ baseOptions = configuration.baseOptions;
2969
+ }
2970
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
2971
+ localVarHeaderParameter = {};
2972
+ localVarQueryParameter = {};
2973
+ // authentication oauth2 required
2974
+ // oauth required
2975
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
2976
+ case 1:
2977
+ // authentication oauth2 required
2978
+ // oauth required
2979
+ _a.sent();
2980
+ if (page !== undefined) {
2981
+ localVarQueryParameter['page'] = page;
2982
+ }
2983
+ if (limit !== undefined) {
2984
+ localVarQueryParameter['limit'] = limit;
2985
+ }
2986
+ if (lastRetrieved !== undefined) {
2987
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
2988
+ lastRetrieved.toISOString() :
2989
+ lastRetrieved;
2990
+ }
2991
+ if (id !== undefined) {
2992
+ localVarQueryParameter['Id'] = id;
2993
+ }
2994
+ if (fullname !== undefined) {
2995
+ localVarQueryParameter['Fullname'] = fullname;
2996
+ }
2997
+ if (email !== undefined) {
2998
+ localVarQueryParameter['Email'] = email;
2999
+ }
3000
+ if (gender !== undefined) {
3001
+ localVarQueryParameter['Gender'] = gender;
3002
+ }
3003
+ if (dateOfBirth !== undefined) {
3004
+ localVarQueryParameter['DateOfBirth'] = (dateOfBirth instanceof Date) ?
3005
+ dateOfBirth.toISOString() :
3006
+ dateOfBirth;
3007
+ }
3008
+ if (created !== undefined) {
3009
+ localVarQueryParameter['Created'] = (created instanceof Date) ?
3010
+ created.toISOString() :
3011
+ created;
3012
+ }
3013
+ if (showHidden !== undefined) {
3014
+ localVarQueryParameter['ShowHidden'] = showHidden;
3015
+ }
3016
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3017
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3018
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3019
+ return [2 /*return*/, {
3020
+ url: (0, common_1.toPathString)(localVarUrlObj),
3021
+ options: localVarRequestOptions,
3022
+ }];
3023
+ }
3024
+ });
3025
+ });
3026
+ },
3027
+ /**
3028
+ *
3029
+ * @summary Delete manager
3030
+ * @param {string} hospitalId
3031
+ * @param {string} managerId
3032
+ * @param {boolean} [isPermanent]
3033
+ * @param {*} [options] Override http request option.
3034
+ * @throws {RequiredError}
3035
+ */
3036
+ apiV1HospitalsHospitalIdManagersManagerIdDelete: function (hospitalId, managerId, isPermanent, options) {
3037
+ if (options === void 0) { options = {}; }
3038
+ return __awaiter(_this, void 0, void 0, function () {
3039
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
3040
+ return __generator(this, function (_a) {
3041
+ switch (_a.label) {
3042
+ case 0:
3043
+ // verify required parameter 'hospitalId' is not null or undefined
3044
+ (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdManagersManagerIdDelete', 'hospitalId', hospitalId);
3045
+ // verify required parameter 'managerId' is not null or undefined
3046
+ (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdManagersManagerIdDelete', 'managerId', managerId);
3047
+ localVarPath = "/api/v1/hospitals/{hospitalId}/managers/{managerId}"
3048
+ .replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
3049
+ .replace("{".concat("managerId", "}"), encodeURIComponent(String(managerId)));
3050
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3051
+ if (configuration) {
3052
+ baseOptions = configuration.baseOptions;
3053
+ }
3054
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
3055
+ localVarHeaderParameter = {};
3056
+ localVarQueryParameter = {};
3057
+ // authentication oauth2 required
3058
+ // oauth required
3059
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
3060
+ case 1:
3061
+ // authentication oauth2 required
3062
+ // oauth required
3063
+ _a.sent();
3064
+ if (isPermanent !== undefined) {
3065
+ localVarQueryParameter['isPermanent'] = isPermanent;
3066
+ }
3067
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3068
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3069
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3070
+ return [2 /*return*/, {
3071
+ url: (0, common_1.toPathString)(localVarUrlObj),
3072
+ options: localVarRequestOptions,
3073
+ }];
3074
+ }
3075
+ });
3076
+ });
3077
+ },
3078
+ /**
3079
+ *
3080
+ * @summary Get manager
3081
+ * @param {string} hospitalId
3082
+ * @param {string} managerId
3083
+ * @param {*} [options] Override http request option.
3084
+ * @throws {RequiredError}
3085
+ */
3086
+ apiV1HospitalsHospitalIdManagersManagerIdGet: function (hospitalId, managerId, options) {
3087
+ if (options === void 0) { options = {}; }
3088
+ return __awaiter(_this, void 0, void 0, function () {
3089
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
3090
+ return __generator(this, function (_a) {
3091
+ switch (_a.label) {
3092
+ case 0:
3093
+ // verify required parameter 'hospitalId' is not null or undefined
3094
+ (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdManagersManagerIdGet', 'hospitalId', hospitalId);
3095
+ // verify required parameter 'managerId' is not null or undefined
3096
+ (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdManagersManagerIdGet', 'managerId', managerId);
3097
+ localVarPath = "/api/v1/hospitals/{hospitalId}/managers/{managerId}"
3098
+ .replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
3099
+ .replace("{".concat("managerId", "}"), encodeURIComponent(String(managerId)));
3100
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3101
+ if (configuration) {
3102
+ baseOptions = configuration.baseOptions;
3103
+ }
3104
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
3105
+ localVarHeaderParameter = {};
3106
+ localVarQueryParameter = {};
3107
+ // authentication oauth2 required
3108
+ // oauth required
3109
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
3110
+ case 1:
3111
+ // authentication oauth2 required
3112
+ // oauth required
3113
+ _a.sent();
3114
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3115
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3116
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3117
+ return [2 /*return*/, {
3118
+ url: (0, common_1.toPathString)(localVarUrlObj),
3119
+ options: localVarRequestOptions,
3120
+ }];
3121
+ }
3122
+ });
3123
+ });
3124
+ },
3125
+ /**
3126
+ * PUT: /api/v1/hospitals/{hospitlaId}/managers/{managerId} { \"email\": \"emailaddress@icloudhospital.com\", \"firstName\": \"First\", \"lastName\": \"Last\", \"phone\": \"+82 1012340000\", \"photo\": \"\", \"photoThumbnail\": \"\", \"gender\": \"Male\", \"dateOfBirth\": \"2023-08-07T06:02:05.652Z\", \"timeZone\": \"Asia/Seoul\" }
3127
+ * @summary Update manager
3128
+ * @param {string} hospitalId
3129
+ * @param {string} managerId
3130
+ * @param {UpdateManagerCommand} [updateManagerCommand]
3131
+ * @param {*} [options] Override http request option.
3132
+ * @throws {RequiredError}
3133
+ */
3134
+ apiV1HospitalsHospitalIdManagersManagerIdPut: function (hospitalId, managerId, updateManagerCommand, options) {
3135
+ if (options === void 0) { options = {}; }
3136
+ return __awaiter(_this, void 0, void 0, function () {
3137
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
3138
+ return __generator(this, function (_a) {
3139
+ switch (_a.label) {
3140
+ case 0:
3141
+ // verify required parameter 'hospitalId' is not null or undefined
3142
+ (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdManagersManagerIdPut', 'hospitalId', hospitalId);
3143
+ // verify required parameter 'managerId' is not null or undefined
3144
+ (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdManagersManagerIdPut', 'managerId', managerId);
3145
+ localVarPath = "/api/v1/hospitals/{hospitalId}/managers/{managerId}"
3146
+ .replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
3147
+ .replace("{".concat("managerId", "}"), encodeURIComponent(String(managerId)));
3148
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3149
+ if (configuration) {
3150
+ baseOptions = configuration.baseOptions;
3151
+ }
3152
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
3153
+ localVarHeaderParameter = {};
3154
+ localVarQueryParameter = {};
3155
+ // authentication oauth2 required
3156
+ // oauth required
3157
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
3158
+ case 1:
3159
+ // authentication oauth2 required
3160
+ // oauth required
3161
+ _a.sent();
3162
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3163
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3164
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3165
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3166
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateManagerCommand, localVarRequestOptions, configuration);
3167
+ return [2 /*return*/, {
3168
+ url: (0, common_1.toPathString)(localVarUrlObj),
3169
+ options: localVarRequestOptions,
3170
+ }];
3171
+ }
3172
+ });
3173
+ });
3174
+ },
3175
+ /**
3176
+ * POST: /api/v1/hospitals/{hospitlaId}/managers { \"email\": \"emailaddress@icloudhospital.com\", \"firstName\": \"First\", \"lastName\": \"Last\", \"phone\": \"+82 1012340000\", \"photo\": \"\", \"photoThumbnail\": \"\", \"gender\": \"Male\", \"dateOfBirth\": \"2023-08-07T06:02:05.652Z\", \"timeZone\": \"Asia/Seoul\" }
3177
+ * @summary Create manager
3178
+ * @param {string} hospitalId
3179
+ * @param {CreateManagerCommand} [createManagerCommand]
3180
+ * @param {*} [options] Override http request option.
3181
+ * @throws {RequiredError}
3182
+ */
3183
+ apiV1HospitalsHospitalIdManagersPost: function (hospitalId, createManagerCommand, options) {
3184
+ if (options === void 0) { options = {}; }
3185
+ return __awaiter(_this, void 0, void 0, function () {
3186
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
3187
+ return __generator(this, function (_a) {
3188
+ switch (_a.label) {
3189
+ case 0:
3190
+ // verify required parameter 'hospitalId' is not null or undefined
3191
+ (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdManagersPost', 'hospitalId', hospitalId);
3192
+ localVarPath = "/api/v1/hospitals/{hospitalId}/managers"
3193
+ .replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
3194
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3195
+ if (configuration) {
3196
+ baseOptions = configuration.baseOptions;
3197
+ }
3198
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
3199
+ localVarHeaderParameter = {};
3200
+ localVarQueryParameter = {};
3201
+ // authentication oauth2 required
3202
+ // oauth required
3203
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
3204
+ case 1:
3205
+ // authentication oauth2 required
3206
+ // oauth required
3207
+ _a.sent();
3208
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3209
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3210
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3211
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3212
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createManagerCommand, localVarRequestOptions, configuration);
3213
+ return [2 /*return*/, {
3214
+ url: (0, common_1.toPathString)(localVarUrlObj),
3215
+ options: localVarRequestOptions,
3216
+ }];
3217
+ }
3218
+ });
3219
+ });
3220
+ },
2938
3221
  /**
2939
3222
  *
2940
3223
  * @summary Get all HospitalMedias.
@@ -6381,13 +6664,16 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
6381
6664
  },
6382
6665
  /**
6383
6666
  *
6384
- * @summary Translate hospital at once
6667
+ * @summary Get all hospital tags
6385
6668
  * @param {string} hospitalId
6386
- * @param {TranslateHospitalCommand} [translateHospitalCommand]
6669
+ * @param {string} [tagId]
6670
+ * @param {number} [page]
6671
+ * @param {number} [limit]
6672
+ * @param {Date} [lastRetrieved]
6387
6673
  * @param {*} [options] Override http request option.
6388
6674
  * @throws {RequiredError}
6389
6675
  */
6390
- apiV1HospitalsHospitalIdTranslatePost: function (hospitalId, translateHospitalCommand, options) {
6676
+ apiV1HospitalsHospitalIdTagsGet: function (hospitalId, tagId, page, limit, lastRetrieved, options) {
6391
6677
  if (options === void 0) { options = {}; }
6392
6678
  return __awaiter(_this, void 0, void 0, function () {
6393
6679
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -6395,14 +6681,14 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
6395
6681
  switch (_a.label) {
6396
6682
  case 0:
6397
6683
  // verify required parameter 'hospitalId' is not null or undefined
6398
- (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdTranslatePost', 'hospitalId', hospitalId);
6399
- localVarPath = "/api/v1/hospitals/{hospitalId}/translate"
6684
+ (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdTagsGet', 'hospitalId', hospitalId);
6685
+ localVarPath = "/api/v1/hospitals/{hospitalId}/tags"
6400
6686
  .replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
6401
6687
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6402
6688
  if (configuration) {
6403
6689
  baseOptions = configuration.baseOptions;
6404
6690
  }
6405
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
6691
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
6406
6692
  localVarHeaderParameter = {};
6407
6693
  localVarQueryParameter = {};
6408
6694
  // authentication oauth2 required
@@ -6412,11 +6698,23 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
6412
6698
  // authentication oauth2 required
6413
6699
  // oauth required
6414
6700
  _a.sent();
6415
- localVarHeaderParameter['Content-Type'] = 'application/json';
6701
+ if (tagId !== undefined) {
6702
+ localVarQueryParameter['TagId'] = tagId;
6703
+ }
6704
+ if (page !== undefined) {
6705
+ localVarQueryParameter['page'] = page;
6706
+ }
6707
+ if (limit !== undefined) {
6708
+ localVarQueryParameter['limit'] = limit;
6709
+ }
6710
+ if (lastRetrieved !== undefined) {
6711
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
6712
+ lastRetrieved.toISOString() :
6713
+ lastRetrieved;
6714
+ }
6416
6715
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6417
6716
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6418
6717
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6419
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(translateHospitalCommand, localVarRequestOptions, configuration);
6420
6718
  return [2 /*return*/, {
6421
6719
  url: (0, common_1.toPathString)(localVarUrlObj),
6422
6720
  options: localVarRequestOptions,
@@ -6427,7 +6725,193 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
6427
6725
  },
6428
6726
  /**
6429
6727
  *
6430
- * @summary Get all HospitalWorkingDays.
6728
+ * @summary Create hospitalTag
6729
+ * @param {string} hospitalId
6730
+ * @param {CreateHospitalTagCommand} [createHospitalTagCommand]
6731
+ * @param {*} [options] Override http request option.
6732
+ * @throws {RequiredError}
6733
+ */
6734
+ apiV1HospitalsHospitalIdTagsPost: function (hospitalId, createHospitalTagCommand, options) {
6735
+ if (options === void 0) { options = {}; }
6736
+ return __awaiter(_this, void 0, void 0, function () {
6737
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
6738
+ return __generator(this, function (_a) {
6739
+ switch (_a.label) {
6740
+ case 0:
6741
+ // verify required parameter 'hospitalId' is not null or undefined
6742
+ (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdTagsPost', 'hospitalId', hospitalId);
6743
+ localVarPath = "/api/v1/hospitals/{hospitalId}/tags"
6744
+ .replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
6745
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6746
+ if (configuration) {
6747
+ baseOptions = configuration.baseOptions;
6748
+ }
6749
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
6750
+ localVarHeaderParameter = {};
6751
+ localVarQueryParameter = {};
6752
+ // authentication oauth2 required
6753
+ // oauth required
6754
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
6755
+ case 1:
6756
+ // authentication oauth2 required
6757
+ // oauth required
6758
+ _a.sent();
6759
+ localVarHeaderParameter['Content-Type'] = 'application/json';
6760
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6761
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6762
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6763
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createHospitalTagCommand, localVarRequestOptions, configuration);
6764
+ return [2 /*return*/, {
6765
+ url: (0, common_1.toPathString)(localVarUrlObj),
6766
+ options: localVarRequestOptions,
6767
+ }];
6768
+ }
6769
+ });
6770
+ });
6771
+ },
6772
+ /**
6773
+ *
6774
+ * @summary Delete hospitalTag
6775
+ * @param {string} hospitalId
6776
+ * @param {string} tagId
6777
+ * @param {*} [options] Override http request option.
6778
+ * @throws {RequiredError}
6779
+ */
6780
+ apiV1HospitalsHospitalIdTagsTagIdDelete: function (hospitalId, tagId, options) {
6781
+ if (options === void 0) { options = {}; }
6782
+ return __awaiter(_this, void 0, void 0, function () {
6783
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
6784
+ return __generator(this, function (_a) {
6785
+ switch (_a.label) {
6786
+ case 0:
6787
+ // verify required parameter 'hospitalId' is not null or undefined
6788
+ (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdTagsTagIdDelete', 'hospitalId', hospitalId);
6789
+ // verify required parameter 'tagId' is not null or undefined
6790
+ (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdTagsTagIdDelete', 'tagId', tagId);
6791
+ localVarPath = "/api/v1/hospitals/{hospitalId}/tags/{tagId}"
6792
+ .replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
6793
+ .replace("{".concat("tagId", "}"), encodeURIComponent(String(tagId)));
6794
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6795
+ if (configuration) {
6796
+ baseOptions = configuration.baseOptions;
6797
+ }
6798
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
6799
+ localVarHeaderParameter = {};
6800
+ localVarQueryParameter = {};
6801
+ // authentication oauth2 required
6802
+ // oauth required
6803
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
6804
+ case 1:
6805
+ // authentication oauth2 required
6806
+ // oauth required
6807
+ _a.sent();
6808
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6809
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6810
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6811
+ return [2 /*return*/, {
6812
+ url: (0, common_1.toPathString)(localVarUrlObj),
6813
+ options: localVarRequestOptions,
6814
+ }];
6815
+ }
6816
+ });
6817
+ });
6818
+ },
6819
+ /**
6820
+ *
6821
+ * @summary Get hospital tag
6822
+ * @param {string} hospitalId
6823
+ * @param {string} tagId
6824
+ * @param {*} [options] Override http request option.
6825
+ * @throws {RequiredError}
6826
+ */
6827
+ apiV1HospitalsHospitalIdTagsTagIdGet: function (hospitalId, tagId, options) {
6828
+ if (options === void 0) { options = {}; }
6829
+ return __awaiter(_this, void 0, void 0, function () {
6830
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
6831
+ return __generator(this, function (_a) {
6832
+ switch (_a.label) {
6833
+ case 0:
6834
+ // verify required parameter 'hospitalId' is not null or undefined
6835
+ (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdTagsTagIdGet', 'hospitalId', hospitalId);
6836
+ // verify required parameter 'tagId' is not null or undefined
6837
+ (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdTagsTagIdGet', 'tagId', tagId);
6838
+ localVarPath = "/api/v1/hospitals/{hospitalId}/tags/{tagId}"
6839
+ .replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
6840
+ .replace("{".concat("tagId", "}"), encodeURIComponent(String(tagId)));
6841
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6842
+ if (configuration) {
6843
+ baseOptions = configuration.baseOptions;
6844
+ }
6845
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
6846
+ localVarHeaderParameter = {};
6847
+ localVarQueryParameter = {};
6848
+ // authentication oauth2 required
6849
+ // oauth required
6850
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
6851
+ case 1:
6852
+ // authentication oauth2 required
6853
+ // oauth required
6854
+ _a.sent();
6855
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6856
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6857
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6858
+ return [2 /*return*/, {
6859
+ url: (0, common_1.toPathString)(localVarUrlObj),
6860
+ options: localVarRequestOptions,
6861
+ }];
6862
+ }
6863
+ });
6864
+ });
6865
+ },
6866
+ /**
6867
+ *
6868
+ * @summary Translate hospital at once
6869
+ * @param {string} hospitalId
6870
+ * @param {TranslateHospitalCommand} [translateHospitalCommand]
6871
+ * @param {*} [options] Override http request option.
6872
+ * @throws {RequiredError}
6873
+ */
6874
+ apiV1HospitalsHospitalIdTranslatePost: function (hospitalId, translateHospitalCommand, options) {
6875
+ if (options === void 0) { options = {}; }
6876
+ return __awaiter(_this, void 0, void 0, function () {
6877
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
6878
+ return __generator(this, function (_a) {
6879
+ switch (_a.label) {
6880
+ case 0:
6881
+ // verify required parameter 'hospitalId' is not null or undefined
6882
+ (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdTranslatePost', 'hospitalId', hospitalId);
6883
+ localVarPath = "/api/v1/hospitals/{hospitalId}/translate"
6884
+ .replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
6885
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6886
+ if (configuration) {
6887
+ baseOptions = configuration.baseOptions;
6888
+ }
6889
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
6890
+ localVarHeaderParameter = {};
6891
+ localVarQueryParameter = {};
6892
+ // authentication oauth2 required
6893
+ // oauth required
6894
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
6895
+ case 1:
6896
+ // authentication oauth2 required
6897
+ // oauth required
6898
+ _a.sent();
6899
+ localVarHeaderParameter['Content-Type'] = 'application/json';
6900
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6901
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6902
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6903
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(translateHospitalCommand, localVarRequestOptions, configuration);
6904
+ return [2 /*return*/, {
6905
+ url: (0, common_1.toPathString)(localVarUrlObj),
6906
+ options: localVarRequestOptions,
6907
+ }];
6908
+ }
6909
+ });
6910
+ });
6911
+ },
6912
+ /**
6913
+ *
6914
+ * @summary Get all HospitalWorkingDays.
6431
6915
  * @param {string} hospitalId
6432
6916
  * @param {string} [id]
6433
6917
  * @param {string} [dayOfWeek]
@@ -8013,19 +8497,129 @@ var HospitalsApiFp = function (configuration) {
8013
8497
  },
8014
8498
  /**
8015
8499
  *
8016
- * @summary Revalidate landing
8500
+ * @summary Revalidate landing
8501
+ * @param {string} hospitalId
8502
+ * @param {string} landingId
8503
+ * @param {boolean} [includeCurrent]
8504
+ * @param {*} [options] Override http request option.
8505
+ * @throws {RequiredError}
8506
+ */
8507
+ apiV1HospitalsHospitalIdLandingsLandingIdRevalidatePost: function (hospitalId, landingId, includeCurrent, options) {
8508
+ return __awaiter(this, void 0, void 0, function () {
8509
+ var localVarAxiosArgs;
8510
+ return __generator(this, function (_a) {
8511
+ switch (_a.label) {
8512
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdLandingsLandingIdRevalidatePost(hospitalId, landingId, includeCurrent, options)];
8513
+ case 1:
8514
+ localVarAxiosArgs = _a.sent();
8515
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
8516
+ }
8517
+ });
8518
+ });
8519
+ },
8520
+ /**
8521
+ *
8522
+ * @summary Create HospitalLandings.
8523
+ * @param {string} hospitalId
8524
+ * @param {CreateLandingCommand} [createLandingCommand]
8525
+ * @param {*} [options] Override http request option.
8526
+ * @throws {RequiredError}
8527
+ */
8528
+ apiV1HospitalsHospitalIdLandingsPost: function (hospitalId, createLandingCommand, options) {
8529
+ return __awaiter(this, void 0, void 0, function () {
8530
+ var localVarAxiosArgs;
8531
+ return __generator(this, function (_a) {
8532
+ switch (_a.label) {
8533
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdLandingsPost(hospitalId, createLandingCommand, options)];
8534
+ case 1:
8535
+ localVarAxiosArgs = _a.sent();
8536
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
8537
+ }
8538
+ });
8539
+ });
8540
+ },
8541
+ /**
8542
+ *
8543
+ * @summary Get all GetAllLanguages.
8544
+ * @param {string} hospitalId
8545
+ * @param {string} [name]
8546
+ * @param {boolean} [showHidden]
8547
+ * @param {number} [page]
8548
+ * @param {number} [limit]
8549
+ * @param {Date} [lastRetrieved]
8550
+ * @param {*} [options] Override http request option.
8551
+ * @throws {RequiredError}
8552
+ */
8553
+ apiV1HospitalsHospitalIdLanguagesGet: function (hospitalId, name, showHidden, page, limit, lastRetrieved, options) {
8554
+ return __awaiter(this, void 0, void 0, function () {
8555
+ var localVarAxiosArgs;
8556
+ return __generator(this, function (_a) {
8557
+ switch (_a.label) {
8558
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdLanguagesGet(hospitalId, name, showHidden, page, limit, lastRetrieved, options)];
8559
+ case 1:
8560
+ localVarAxiosArgs = _a.sent();
8561
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
8562
+ }
8563
+ });
8564
+ });
8565
+ },
8566
+ /**
8567
+ *
8568
+ * @summary Delete GetAllLanguage.
8569
+ * @param {string} hospitalId
8570
+ * @param {string} languageCode
8571
+ * @param {*} [options] Override http request option.
8572
+ * @throws {RequiredError}
8573
+ */
8574
+ apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete: function (hospitalId, languageCode, options) {
8575
+ return __awaiter(this, void 0, void 0, function () {
8576
+ var localVarAxiosArgs;
8577
+ return __generator(this, function (_a) {
8578
+ switch (_a.label) {
8579
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete(hospitalId, languageCode, options)];
8580
+ case 1:
8581
+ localVarAxiosArgs = _a.sent();
8582
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
8583
+ }
8584
+ });
8585
+ });
8586
+ },
8587
+ /**
8588
+ *
8589
+ * @summary Update HospitalLanguage
8590
+ * @param {string} hospitalId
8591
+ * @param {string} languageCode
8592
+ * @param {UpdateHospitalLanguageCommand} [updateHospitalLanguageCommand]
8593
+ * @param {*} [options] Override http request option.
8594
+ * @throws {RequiredError}
8595
+ */
8596
+ apiV1HospitalsHospitalIdLanguagesLanguageCodePut: function (hospitalId, languageCode, updateHospitalLanguageCommand, options) {
8597
+ return __awaiter(this, void 0, void 0, function () {
8598
+ var localVarAxiosArgs;
8599
+ return __generator(this, function (_a) {
8600
+ switch (_a.label) {
8601
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdLanguagesLanguageCodePut(hospitalId, languageCode, updateHospitalLanguageCommand, options)];
8602
+ case 1:
8603
+ localVarAxiosArgs = _a.sent();
8604
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
8605
+ }
8606
+ });
8607
+ });
8608
+ },
8609
+ /**
8610
+ *
8611
+ * @summary Create HospitalLanguages.
8017
8612
  * @param {string} hospitalId
8018
- * @param {string} landingId
8019
- * @param {boolean} [includeCurrent]
8613
+ * @param {CreateHospitalLanguageCommand} [createHospitalLanguageCommand]
8020
8614
  * @param {*} [options] Override http request option.
8021
8615
  * @throws {RequiredError}
8022
8616
  */
8023
- apiV1HospitalsHospitalIdLandingsLandingIdRevalidatePost: function (hospitalId, landingId, includeCurrent, options) {
8617
+ apiV1HospitalsHospitalIdLanguagesPost: function (hospitalId, createHospitalLanguageCommand, options) {
8024
8618
  return __awaiter(this, void 0, void 0, function () {
8025
8619
  var localVarAxiosArgs;
8026
8620
  return __generator(this, function (_a) {
8027
8621
  switch (_a.label) {
8028
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdLandingsLandingIdRevalidatePost(hospitalId, landingId, includeCurrent, options)];
8622
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdLanguagesPost(hospitalId, createHospitalLanguageCommand, options)];
8029
8623
  case 1:
8030
8624
  localVarAxiosArgs = _a.sent();
8031
8625
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -8035,18 +8629,27 @@ var HospitalsApiFp = function (configuration) {
8035
8629
  },
8036
8630
  /**
8037
8631
  *
8038
- * @summary Create HospitalLandings.
8632
+ * @summary Get managers
8039
8633
  * @param {string} hospitalId
8040
- * @param {CreateLandingCommand} [createLandingCommand]
8634
+ * @param {number} [page]
8635
+ * @param {number} [limit]
8636
+ * @param {Date} [lastRetrieved]
8637
+ * @param {string} [id]
8638
+ * @param {string} [fullname]
8639
+ * @param {string} [email]
8640
+ * @param {Gender} [gender]
8641
+ * @param {Date} [dateOfBirth]
8642
+ * @param {Date} [created]
8643
+ * @param {boolean} [showHidden]
8041
8644
  * @param {*} [options] Override http request option.
8042
8645
  * @throws {RequiredError}
8043
8646
  */
8044
- apiV1HospitalsHospitalIdLandingsPost: function (hospitalId, createLandingCommand, options) {
8647
+ apiV1HospitalsHospitalIdManagersGet: function (hospitalId, page, limit, lastRetrieved, id, fullname, email, gender, dateOfBirth, created, showHidden, options) {
8045
8648
  return __awaiter(this, void 0, void 0, function () {
8046
8649
  var localVarAxiosArgs;
8047
8650
  return __generator(this, function (_a) {
8048
8651
  switch (_a.label) {
8049
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdLandingsPost(hospitalId, createLandingCommand, options)];
8652
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdManagersGet(hospitalId, page, limit, lastRetrieved, id, fullname, email, gender, dateOfBirth, created, showHidden, options)];
8050
8653
  case 1:
8051
8654
  localVarAxiosArgs = _a.sent();
8052
8655
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -8056,22 +8659,19 @@ var HospitalsApiFp = function (configuration) {
8056
8659
  },
8057
8660
  /**
8058
8661
  *
8059
- * @summary Get all GetAllLanguages.
8662
+ * @summary Delete manager
8060
8663
  * @param {string} hospitalId
8061
- * @param {string} [name]
8062
- * @param {boolean} [showHidden]
8063
- * @param {number} [page]
8064
- * @param {number} [limit]
8065
- * @param {Date} [lastRetrieved]
8664
+ * @param {string} managerId
8665
+ * @param {boolean} [isPermanent]
8066
8666
  * @param {*} [options] Override http request option.
8067
8667
  * @throws {RequiredError}
8068
8668
  */
8069
- apiV1HospitalsHospitalIdLanguagesGet: function (hospitalId, name, showHidden, page, limit, lastRetrieved, options) {
8669
+ apiV1HospitalsHospitalIdManagersManagerIdDelete: function (hospitalId, managerId, isPermanent, options) {
8070
8670
  return __awaiter(this, void 0, void 0, function () {
8071
8671
  var localVarAxiosArgs;
8072
8672
  return __generator(this, function (_a) {
8073
8673
  switch (_a.label) {
8074
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdLanguagesGet(hospitalId, name, showHidden, page, limit, lastRetrieved, options)];
8674
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdManagersManagerIdDelete(hospitalId, managerId, isPermanent, options)];
8075
8675
  case 1:
8076
8676
  localVarAxiosArgs = _a.sent();
8077
8677
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -8081,18 +8681,18 @@ var HospitalsApiFp = function (configuration) {
8081
8681
  },
8082
8682
  /**
8083
8683
  *
8084
- * @summary Delete GetAllLanguage.
8684
+ * @summary Get manager
8085
8685
  * @param {string} hospitalId
8086
- * @param {string} languageCode
8686
+ * @param {string} managerId
8087
8687
  * @param {*} [options] Override http request option.
8088
8688
  * @throws {RequiredError}
8089
8689
  */
8090
- apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete: function (hospitalId, languageCode, options) {
8690
+ apiV1HospitalsHospitalIdManagersManagerIdGet: function (hospitalId, managerId, options) {
8091
8691
  return __awaiter(this, void 0, void 0, function () {
8092
8692
  var localVarAxiosArgs;
8093
8693
  return __generator(this, function (_a) {
8094
8694
  switch (_a.label) {
8095
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete(hospitalId, languageCode, options)];
8695
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdManagersManagerIdGet(hospitalId, managerId, options)];
8096
8696
  case 1:
8097
8697
  localVarAxiosArgs = _a.sent();
8098
8698
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -8101,20 +8701,20 @@ var HospitalsApiFp = function (configuration) {
8101
8701
  });
8102
8702
  },
8103
8703
  /**
8104
- *
8105
- * @summary Update HospitalLanguage
8704
+ * PUT: /api/v1/hospitals/{hospitlaId}/managers/{managerId} { \"email\": \"emailaddress@icloudhospital.com\", \"firstName\": \"First\", \"lastName\": \"Last\", \"phone\": \"+82 1012340000\", \"photo\": \"\", \"photoThumbnail\": \"\", \"gender\": \"Male\", \"dateOfBirth\": \"2023-08-07T06:02:05.652Z\", \"timeZone\": \"Asia/Seoul\" }
8705
+ * @summary Update manager
8106
8706
  * @param {string} hospitalId
8107
- * @param {string} languageCode
8108
- * @param {UpdateHospitalLanguageCommand} [updateHospitalLanguageCommand]
8707
+ * @param {string} managerId
8708
+ * @param {UpdateManagerCommand} [updateManagerCommand]
8109
8709
  * @param {*} [options] Override http request option.
8110
8710
  * @throws {RequiredError}
8111
8711
  */
8112
- apiV1HospitalsHospitalIdLanguagesLanguageCodePut: function (hospitalId, languageCode, updateHospitalLanguageCommand, options) {
8712
+ apiV1HospitalsHospitalIdManagersManagerIdPut: function (hospitalId, managerId, updateManagerCommand, options) {
8113
8713
  return __awaiter(this, void 0, void 0, function () {
8114
8714
  var localVarAxiosArgs;
8115
8715
  return __generator(this, function (_a) {
8116
8716
  switch (_a.label) {
8117
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdLanguagesLanguageCodePut(hospitalId, languageCode, updateHospitalLanguageCommand, options)];
8717
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdManagersManagerIdPut(hospitalId, managerId, updateManagerCommand, options)];
8118
8718
  case 1:
8119
8719
  localVarAxiosArgs = _a.sent();
8120
8720
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -8123,19 +8723,19 @@ var HospitalsApiFp = function (configuration) {
8123
8723
  });
8124
8724
  },
8125
8725
  /**
8126
- *
8127
- * @summary Create HospitalLanguages.
8726
+ * POST: /api/v1/hospitals/{hospitlaId}/managers { \"email\": \"emailaddress@icloudhospital.com\", \"firstName\": \"First\", \"lastName\": \"Last\", \"phone\": \"+82 1012340000\", \"photo\": \"\", \"photoThumbnail\": \"\", \"gender\": \"Male\", \"dateOfBirth\": \"2023-08-07T06:02:05.652Z\", \"timeZone\": \"Asia/Seoul\" }
8727
+ * @summary Create manager
8128
8728
  * @param {string} hospitalId
8129
- * @param {CreateHospitalLanguageCommand} [createHospitalLanguageCommand]
8729
+ * @param {CreateManagerCommand} [createManagerCommand]
8130
8730
  * @param {*} [options] Override http request option.
8131
8731
  * @throws {RequiredError}
8132
8732
  */
8133
- apiV1HospitalsHospitalIdLanguagesPost: function (hospitalId, createHospitalLanguageCommand, options) {
8733
+ apiV1HospitalsHospitalIdManagersPost: function (hospitalId, createManagerCommand, options) {
8134
8734
  return __awaiter(this, void 0, void 0, function () {
8135
8735
  var localVarAxiosArgs;
8136
8736
  return __generator(this, function (_a) {
8137
8737
  switch (_a.label) {
8138
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdLanguagesPost(hospitalId, createHospitalLanguageCommand, options)];
8738
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdManagersPost(hospitalId, createManagerCommand, options)];
8139
8739
  case 1:
8140
8740
  localVarAxiosArgs = _a.sent();
8141
8741
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -9565,6 +10165,93 @@ var HospitalsApiFp = function (configuration) {
9565
10165
  });
9566
10166
  });
9567
10167
  },
10168
+ /**
10169
+ *
10170
+ * @summary Get all hospital tags
10171
+ * @param {string} hospitalId
10172
+ * @param {string} [tagId]
10173
+ * @param {number} [page]
10174
+ * @param {number} [limit]
10175
+ * @param {Date} [lastRetrieved]
10176
+ * @param {*} [options] Override http request option.
10177
+ * @throws {RequiredError}
10178
+ */
10179
+ apiV1HospitalsHospitalIdTagsGet: function (hospitalId, tagId, page, limit, lastRetrieved, options) {
10180
+ return __awaiter(this, void 0, void 0, function () {
10181
+ var localVarAxiosArgs;
10182
+ return __generator(this, function (_a) {
10183
+ switch (_a.label) {
10184
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdTagsGet(hospitalId, tagId, page, limit, lastRetrieved, options)];
10185
+ case 1:
10186
+ localVarAxiosArgs = _a.sent();
10187
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
10188
+ }
10189
+ });
10190
+ });
10191
+ },
10192
+ /**
10193
+ *
10194
+ * @summary Create hospitalTag
10195
+ * @param {string} hospitalId
10196
+ * @param {CreateHospitalTagCommand} [createHospitalTagCommand]
10197
+ * @param {*} [options] Override http request option.
10198
+ * @throws {RequiredError}
10199
+ */
10200
+ apiV1HospitalsHospitalIdTagsPost: function (hospitalId, createHospitalTagCommand, options) {
10201
+ return __awaiter(this, void 0, void 0, function () {
10202
+ var localVarAxiosArgs;
10203
+ return __generator(this, function (_a) {
10204
+ switch (_a.label) {
10205
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdTagsPost(hospitalId, createHospitalTagCommand, options)];
10206
+ case 1:
10207
+ localVarAxiosArgs = _a.sent();
10208
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
10209
+ }
10210
+ });
10211
+ });
10212
+ },
10213
+ /**
10214
+ *
10215
+ * @summary Delete hospitalTag
10216
+ * @param {string} hospitalId
10217
+ * @param {string} tagId
10218
+ * @param {*} [options] Override http request option.
10219
+ * @throws {RequiredError}
10220
+ */
10221
+ apiV1HospitalsHospitalIdTagsTagIdDelete: function (hospitalId, tagId, options) {
10222
+ return __awaiter(this, void 0, void 0, function () {
10223
+ var localVarAxiosArgs;
10224
+ return __generator(this, function (_a) {
10225
+ switch (_a.label) {
10226
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdTagsTagIdDelete(hospitalId, tagId, options)];
10227
+ case 1:
10228
+ localVarAxiosArgs = _a.sent();
10229
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
10230
+ }
10231
+ });
10232
+ });
10233
+ },
10234
+ /**
10235
+ *
10236
+ * @summary Get hospital tag
10237
+ * @param {string} hospitalId
10238
+ * @param {string} tagId
10239
+ * @param {*} [options] Override http request option.
10240
+ * @throws {RequiredError}
10241
+ */
10242
+ apiV1HospitalsHospitalIdTagsTagIdGet: function (hospitalId, tagId, options) {
10243
+ return __awaiter(this, void 0, void 0, function () {
10244
+ var localVarAxiosArgs;
10245
+ return __generator(this, function (_a) {
10246
+ switch (_a.label) {
10247
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdTagsTagIdGet(hospitalId, tagId, options)];
10248
+ case 1:
10249
+ localVarAxiosArgs = _a.sent();
10250
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
10251
+ }
10252
+ });
10253
+ });
10254
+ },
9568
10255
  /**
9569
10256
  *
9570
10257
  * @summary Translate hospital at once
@@ -10473,6 +11160,72 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
10473
11160
  apiV1HospitalsHospitalIdLanguagesPost: function (hospitalId, createHospitalLanguageCommand, options) {
10474
11161
  return localVarFp.apiV1HospitalsHospitalIdLanguagesPost(hospitalId, createHospitalLanguageCommand, options).then(function (request) { return request(axios, basePath); });
10475
11162
  },
11163
+ /**
11164
+ *
11165
+ * @summary Get managers
11166
+ * @param {string} hospitalId
11167
+ * @param {number} [page]
11168
+ * @param {number} [limit]
11169
+ * @param {Date} [lastRetrieved]
11170
+ * @param {string} [id]
11171
+ * @param {string} [fullname]
11172
+ * @param {string} [email]
11173
+ * @param {Gender} [gender]
11174
+ * @param {Date} [dateOfBirth]
11175
+ * @param {Date} [created]
11176
+ * @param {boolean} [showHidden]
11177
+ * @param {*} [options] Override http request option.
11178
+ * @throws {RequiredError}
11179
+ */
11180
+ apiV1HospitalsHospitalIdManagersGet: function (hospitalId, page, limit, lastRetrieved, id, fullname, email, gender, dateOfBirth, created, showHidden, options) {
11181
+ return localVarFp.apiV1HospitalsHospitalIdManagersGet(hospitalId, page, limit, lastRetrieved, id, fullname, email, gender, dateOfBirth, created, showHidden, options).then(function (request) { return request(axios, basePath); });
11182
+ },
11183
+ /**
11184
+ *
11185
+ * @summary Delete manager
11186
+ * @param {string} hospitalId
11187
+ * @param {string} managerId
11188
+ * @param {boolean} [isPermanent]
11189
+ * @param {*} [options] Override http request option.
11190
+ * @throws {RequiredError}
11191
+ */
11192
+ apiV1HospitalsHospitalIdManagersManagerIdDelete: function (hospitalId, managerId, isPermanent, options) {
11193
+ return localVarFp.apiV1HospitalsHospitalIdManagersManagerIdDelete(hospitalId, managerId, isPermanent, options).then(function (request) { return request(axios, basePath); });
11194
+ },
11195
+ /**
11196
+ *
11197
+ * @summary Get manager
11198
+ * @param {string} hospitalId
11199
+ * @param {string} managerId
11200
+ * @param {*} [options] Override http request option.
11201
+ * @throws {RequiredError}
11202
+ */
11203
+ apiV1HospitalsHospitalIdManagersManagerIdGet: function (hospitalId, managerId, options) {
11204
+ return localVarFp.apiV1HospitalsHospitalIdManagersManagerIdGet(hospitalId, managerId, options).then(function (request) { return request(axios, basePath); });
11205
+ },
11206
+ /**
11207
+ * PUT: /api/v1/hospitals/{hospitlaId}/managers/{managerId} { \"email\": \"emailaddress@icloudhospital.com\", \"firstName\": \"First\", \"lastName\": \"Last\", \"phone\": \"+82 1012340000\", \"photo\": \"\", \"photoThumbnail\": \"\", \"gender\": \"Male\", \"dateOfBirth\": \"2023-08-07T06:02:05.652Z\", \"timeZone\": \"Asia/Seoul\" }
11208
+ * @summary Update manager
11209
+ * @param {string} hospitalId
11210
+ * @param {string} managerId
11211
+ * @param {UpdateManagerCommand} [updateManagerCommand]
11212
+ * @param {*} [options] Override http request option.
11213
+ * @throws {RequiredError}
11214
+ */
11215
+ apiV1HospitalsHospitalIdManagersManagerIdPut: function (hospitalId, managerId, updateManagerCommand, options) {
11216
+ return localVarFp.apiV1HospitalsHospitalIdManagersManagerIdPut(hospitalId, managerId, updateManagerCommand, options).then(function (request) { return request(axios, basePath); });
11217
+ },
11218
+ /**
11219
+ * POST: /api/v1/hospitals/{hospitlaId}/managers { \"email\": \"emailaddress@icloudhospital.com\", \"firstName\": \"First\", \"lastName\": \"Last\", \"phone\": \"+82 1012340000\", \"photo\": \"\", \"photoThumbnail\": \"\", \"gender\": \"Male\", \"dateOfBirth\": \"2023-08-07T06:02:05.652Z\", \"timeZone\": \"Asia/Seoul\" }
11220
+ * @summary Create manager
11221
+ * @param {string} hospitalId
11222
+ * @param {CreateManagerCommand} [createManagerCommand]
11223
+ * @param {*} [options] Override http request option.
11224
+ * @throws {RequiredError}
11225
+ */
11226
+ apiV1HospitalsHospitalIdManagersPost: function (hospitalId, createManagerCommand, options) {
11227
+ return localVarFp.apiV1HospitalsHospitalIdManagersPost(hospitalId, createManagerCommand, options).then(function (request) { return request(axios, basePath); });
11228
+ },
10476
11229
  /**
10477
11230
  *
10478
11231
  * @summary Get all HospitalMedias.
@@ -11285,6 +12038,53 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
11285
12038
  apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdTranslatePost: function (hospitalId, specialtyId, serviceId, translateHospitalServiceCommand, options) {
11286
12039
  return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdTranslatePost(hospitalId, specialtyId, serviceId, translateHospitalServiceCommand, options).then(function (request) { return request(axios, basePath); });
11287
12040
  },
12041
+ /**
12042
+ *
12043
+ * @summary Get all hospital tags
12044
+ * @param {string} hospitalId
12045
+ * @param {string} [tagId]
12046
+ * @param {number} [page]
12047
+ * @param {number} [limit]
12048
+ * @param {Date} [lastRetrieved]
12049
+ * @param {*} [options] Override http request option.
12050
+ * @throws {RequiredError}
12051
+ */
12052
+ apiV1HospitalsHospitalIdTagsGet: function (hospitalId, tagId, page, limit, lastRetrieved, options) {
12053
+ return localVarFp.apiV1HospitalsHospitalIdTagsGet(hospitalId, tagId, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
12054
+ },
12055
+ /**
12056
+ *
12057
+ * @summary Create hospitalTag
12058
+ * @param {string} hospitalId
12059
+ * @param {CreateHospitalTagCommand} [createHospitalTagCommand]
12060
+ * @param {*} [options] Override http request option.
12061
+ * @throws {RequiredError}
12062
+ */
12063
+ apiV1HospitalsHospitalIdTagsPost: function (hospitalId, createHospitalTagCommand, options) {
12064
+ return localVarFp.apiV1HospitalsHospitalIdTagsPost(hospitalId, createHospitalTagCommand, options).then(function (request) { return request(axios, basePath); });
12065
+ },
12066
+ /**
12067
+ *
12068
+ * @summary Delete hospitalTag
12069
+ * @param {string} hospitalId
12070
+ * @param {string} tagId
12071
+ * @param {*} [options] Override http request option.
12072
+ * @throws {RequiredError}
12073
+ */
12074
+ apiV1HospitalsHospitalIdTagsTagIdDelete: function (hospitalId, tagId, options) {
12075
+ return localVarFp.apiV1HospitalsHospitalIdTagsTagIdDelete(hospitalId, tagId, options).then(function (request) { return request(axios, basePath); });
12076
+ },
12077
+ /**
12078
+ *
12079
+ * @summary Get hospital tag
12080
+ * @param {string} hospitalId
12081
+ * @param {string} tagId
12082
+ * @param {*} [options] Override http request option.
12083
+ * @throws {RequiredError}
12084
+ */
12085
+ apiV1HospitalsHospitalIdTagsTagIdGet: function (hospitalId, tagId, options) {
12086
+ return localVarFp.apiV1HospitalsHospitalIdTagsTagIdGet(hospitalId, tagId, options).then(function (request) { return request(axios, basePath); });
12087
+ },
11288
12088
  /**
11289
12089
  *
11290
12090
  * @summary Translate hospital at once
@@ -12066,6 +12866,66 @@ var HospitalsApi = /** @class */ (function (_super) {
12066
12866
  var _this = this;
12067
12867
  return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdLanguagesPost(requestParameters.hospitalId, requestParameters.createHospitalLanguageCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
12068
12868
  };
12869
+ /**
12870
+ *
12871
+ * @summary Get managers
12872
+ * @param {HospitalsApiApiV1HospitalsHospitalIdManagersGetRequest} requestParameters Request parameters.
12873
+ * @param {*} [options] Override http request option.
12874
+ * @throws {RequiredError}
12875
+ * @memberof HospitalsApi
12876
+ */
12877
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdManagersGet = function (requestParameters, options) {
12878
+ var _this = this;
12879
+ return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdManagersGet(requestParameters.hospitalId, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, requestParameters.id, requestParameters.fullname, requestParameters.email, requestParameters.gender, requestParameters.dateOfBirth, requestParameters.created, requestParameters.showHidden, options).then(function (request) { return request(_this.axios, _this.basePath); });
12880
+ };
12881
+ /**
12882
+ *
12883
+ * @summary Delete manager
12884
+ * @param {HospitalsApiApiV1HospitalsHospitalIdManagersManagerIdDeleteRequest} requestParameters Request parameters.
12885
+ * @param {*} [options] Override http request option.
12886
+ * @throws {RequiredError}
12887
+ * @memberof HospitalsApi
12888
+ */
12889
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdManagersManagerIdDelete = function (requestParameters, options) {
12890
+ var _this = this;
12891
+ return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdManagersManagerIdDelete(requestParameters.hospitalId, requestParameters.managerId, requestParameters.isPermanent, options).then(function (request) { return request(_this.axios, _this.basePath); });
12892
+ };
12893
+ /**
12894
+ *
12895
+ * @summary Get manager
12896
+ * @param {HospitalsApiApiV1HospitalsHospitalIdManagersManagerIdGetRequest} requestParameters Request parameters.
12897
+ * @param {*} [options] Override http request option.
12898
+ * @throws {RequiredError}
12899
+ * @memberof HospitalsApi
12900
+ */
12901
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdManagersManagerIdGet = function (requestParameters, options) {
12902
+ var _this = this;
12903
+ return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdManagersManagerIdGet(requestParameters.hospitalId, requestParameters.managerId, options).then(function (request) { return request(_this.axios, _this.basePath); });
12904
+ };
12905
+ /**
12906
+ * PUT: /api/v1/hospitals/{hospitlaId}/managers/{managerId} { \"email\": \"emailaddress@icloudhospital.com\", \"firstName\": \"First\", \"lastName\": \"Last\", \"phone\": \"+82 1012340000\", \"photo\": \"\", \"photoThumbnail\": \"\", \"gender\": \"Male\", \"dateOfBirth\": \"2023-08-07T06:02:05.652Z\", \"timeZone\": \"Asia/Seoul\" }
12907
+ * @summary Update manager
12908
+ * @param {HospitalsApiApiV1HospitalsHospitalIdManagersManagerIdPutRequest} requestParameters Request parameters.
12909
+ * @param {*} [options] Override http request option.
12910
+ * @throws {RequiredError}
12911
+ * @memberof HospitalsApi
12912
+ */
12913
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdManagersManagerIdPut = function (requestParameters, options) {
12914
+ var _this = this;
12915
+ return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdManagersManagerIdPut(requestParameters.hospitalId, requestParameters.managerId, requestParameters.updateManagerCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
12916
+ };
12917
+ /**
12918
+ * POST: /api/v1/hospitals/{hospitlaId}/managers { \"email\": \"emailaddress@icloudhospital.com\", \"firstName\": \"First\", \"lastName\": \"Last\", \"phone\": \"+82 1012340000\", \"photo\": \"\", \"photoThumbnail\": \"\", \"gender\": \"Male\", \"dateOfBirth\": \"2023-08-07T06:02:05.652Z\", \"timeZone\": \"Asia/Seoul\" }
12919
+ * @summary Create manager
12920
+ * @param {HospitalsApiApiV1HospitalsHospitalIdManagersPostRequest} requestParameters Request parameters.
12921
+ * @param {*} [options] Override http request option.
12922
+ * @throws {RequiredError}
12923
+ * @memberof HospitalsApi
12924
+ */
12925
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdManagersPost = function (requestParameters, options) {
12926
+ var _this = this;
12927
+ return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdManagersPost(requestParameters.hospitalId, requestParameters.createManagerCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
12928
+ };
12069
12929
  /**
12070
12930
  *
12071
12931
  * @summary Get all HospitalMedias.
@@ -12798,6 +13658,54 @@ var HospitalsApi = /** @class */ (function (_super) {
12798
13658
  var _this = this;
12799
13659
  return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdTranslatePost(requestParameters.hospitalId, requestParameters.specialtyId, requestParameters.serviceId, requestParameters.translateHospitalServiceCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
12800
13660
  };
13661
+ /**
13662
+ *
13663
+ * @summary Get all hospital tags
13664
+ * @param {HospitalsApiApiV1HospitalsHospitalIdTagsGetRequest} requestParameters Request parameters.
13665
+ * @param {*} [options] Override http request option.
13666
+ * @throws {RequiredError}
13667
+ * @memberof HospitalsApi
13668
+ */
13669
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdTagsGet = function (requestParameters, options) {
13670
+ var _this = this;
13671
+ return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdTagsGet(requestParameters.hospitalId, requestParameters.tagId, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
13672
+ };
13673
+ /**
13674
+ *
13675
+ * @summary Create hospitalTag
13676
+ * @param {HospitalsApiApiV1HospitalsHospitalIdTagsPostRequest} requestParameters Request parameters.
13677
+ * @param {*} [options] Override http request option.
13678
+ * @throws {RequiredError}
13679
+ * @memberof HospitalsApi
13680
+ */
13681
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdTagsPost = function (requestParameters, options) {
13682
+ var _this = this;
13683
+ return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdTagsPost(requestParameters.hospitalId, requestParameters.createHospitalTagCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
13684
+ };
13685
+ /**
13686
+ *
13687
+ * @summary Delete hospitalTag
13688
+ * @param {HospitalsApiApiV1HospitalsHospitalIdTagsTagIdDeleteRequest} requestParameters Request parameters.
13689
+ * @param {*} [options] Override http request option.
13690
+ * @throws {RequiredError}
13691
+ * @memberof HospitalsApi
13692
+ */
13693
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdTagsTagIdDelete = function (requestParameters, options) {
13694
+ var _this = this;
13695
+ return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdTagsTagIdDelete(requestParameters.hospitalId, requestParameters.tagId, options).then(function (request) { return request(_this.axios, _this.basePath); });
13696
+ };
13697
+ /**
13698
+ *
13699
+ * @summary Get hospital tag
13700
+ * @param {HospitalsApiApiV1HospitalsHospitalIdTagsTagIdGetRequest} requestParameters Request parameters.
13701
+ * @param {*} [options] Override http request option.
13702
+ * @throws {RequiredError}
13703
+ * @memberof HospitalsApi
13704
+ */
13705
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdTagsTagIdGet = function (requestParameters, options) {
13706
+ var _this = this;
13707
+ return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdTagsTagIdGet(requestParameters.hospitalId, requestParameters.tagId, options).then(function (request) { return request(_this.axios, _this.basePath); });
13708
+ };
12801
13709
  /**
12802
13710
  *
12803
13711
  * @summary Translate hospital at once