ch-admin-api-client-typescript 5.5.5 → 5.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api/hospitals-api.d.ts +629 -0
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +949 -41
- package/lib/models/create-hospital-command.d.ts +7 -0
- package/lib/models/create-hospital-command.d.ts.map +1 -1
- package/lib/models/create-hospital-tag-command.d.ts +31 -0
- package/lib/models/create-hospital-tag-command.d.ts.map +1 -0
- package/lib/models/create-hospital-tag-command.js +15 -0
- package/lib/models/hospital-model.d.ts +7 -0
- package/lib/models/hospital-model.d.ts.map +1 -1
- package/lib/models/hospital-tag-item-model.d.ts +31 -0
- package/lib/models/hospital-tag-item-model.d.ts.map +1 -0
- package/lib/models/hospital-tag-item-model.js +15 -0
- package/lib/models/hospital-tag-model.d.ts +37 -0
- package/lib/models/hospital-tag-model.d.ts.map +1 -0
- package/lib/models/hospital-tag-model.js +15 -0
- package/lib/models/hospital-tags-model.d.ts +33 -0
- package/lib/models/hospital-tags-model.d.ts.map +1 -0
- package/lib/models/hospital-tags-model.js +15 -0
- package/lib/models/index.d.ts +4 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +4 -0
- package/lib/models/search-curation-item-input-model.d.ts +6 -0
- package/lib/models/search-curation-item-input-model.d.ts.map +1 -1
- package/lib/models/search-curation-item-model.d.ts +6 -0
- package/lib/models/search-curation-item-model.d.ts.map +1 -1
- package/lib/models/update-hospital-command.d.ts +7 -0
- package/lib/models/update-hospital-command.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +4 -0
- package/src/api/hospitals-api.ts +1194 -91
- package/src/models/create-hospital-command.ts +9 -0
- package/src/models/create-hospital-tag-command.ts +36 -0
- package/src/models/hospital-model.ts +9 -0
- package/src/models/hospital-tag-item-model.ts +36 -0
- package/src/models/hospital-tag-model.ts +42 -0
- package/src/models/hospital-tags-model.ts +42 -0
- package/src/models/index.ts +4 -0
- package/src/models/search-curation-item-input-model.ts +6 -0
- package/src/models/search-curation-item-model.ts +6 -0
- package/src/models/update-hospital-command.ts +9 -0
package/src/api/hospitals-api.ts
CHANGED
|
@@ -51,10 +51,14 @@ import { CreateHospitalSnsHandleCommand } from '../models';
|
|
|
51
51
|
// @ts-ignore
|
|
52
52
|
import { CreateHospitalSpecialtyCommand } from '../models';
|
|
53
53
|
// @ts-ignore
|
|
54
|
+
import { CreateHospitalTagCommand } from '../models';
|
|
55
|
+
// @ts-ignore
|
|
54
56
|
import { CreateHospitalWorkingDayCommand } from '../models';
|
|
55
57
|
// @ts-ignore
|
|
56
58
|
import { CreateLandingCommand } from '../models';
|
|
57
59
|
// @ts-ignore
|
|
60
|
+
import { CreateManagerCommand } from '../models';
|
|
61
|
+
// @ts-ignore
|
|
58
62
|
import { CreateMediaCommand } from '../models';
|
|
59
63
|
// @ts-ignore
|
|
60
64
|
import { CreatePolicyCommand } from '../models';
|
|
@@ -69,6 +73,8 @@ import { DeleteServiceAppointmentTimetableOverridesCommand } from '../models';
|
|
|
69
73
|
// @ts-ignore
|
|
70
74
|
import { FooterNavigationItemModel } from '../models';
|
|
71
75
|
// @ts-ignore
|
|
76
|
+
import { Gender } from '../models';
|
|
77
|
+
// @ts-ignore
|
|
72
78
|
import { HospitalAccreditationModel } from '../models';
|
|
73
79
|
// @ts-ignore
|
|
74
80
|
import { HospitalAccreditationsModel } from '../models';
|
|
@@ -101,6 +107,10 @@ import { HospitalSpecialtiesSimpleModel } from '../models';
|
|
|
101
107
|
// @ts-ignore
|
|
102
108
|
import { HospitalSpecialtyModel } from '../models';
|
|
103
109
|
// @ts-ignore
|
|
110
|
+
import { HospitalTagModel } from '../models';
|
|
111
|
+
// @ts-ignore
|
|
112
|
+
import { HospitalTagsModel } from '../models';
|
|
113
|
+
// @ts-ignore
|
|
104
114
|
import { HospitalsModel } from '../models';
|
|
105
115
|
// @ts-ignore
|
|
106
116
|
import { HospitalsSimpleModel } from '../models';
|
|
@@ -109,6 +119,10 @@ import { LandingModel } from '../models';
|
|
|
109
119
|
// @ts-ignore
|
|
110
120
|
import { LandingsModel } from '../models';
|
|
111
121
|
// @ts-ignore
|
|
122
|
+
import { ManagerModel } from '../models';
|
|
123
|
+
// @ts-ignore
|
|
124
|
+
import { ManagersModel } from '../models';
|
|
125
|
+
// @ts-ignore
|
|
112
126
|
import { MarketingType } from '../models';
|
|
113
127
|
// @ts-ignore
|
|
114
128
|
import { MediaModel } from '../models';
|
|
@@ -167,6 +181,8 @@ import { UpdateHospitalWorkingDayCommand } from '../models';
|
|
|
167
181
|
// @ts-ignore
|
|
168
182
|
import { UpdateLandingCommand } from '../models';
|
|
169
183
|
// @ts-ignore
|
|
184
|
+
import { UpdateManagerCommand } from '../models';
|
|
185
|
+
// @ts-ignore
|
|
170
186
|
import { UpdateMediaCommand } from '../models';
|
|
171
187
|
// @ts-ignore
|
|
172
188
|
import { UpdatePolicyCommand } from '../models';
|
|
@@ -2860,6 +2876,277 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
2860
2876
|
options: localVarRequestOptions,
|
|
2861
2877
|
};
|
|
2862
2878
|
},
|
|
2879
|
+
/**
|
|
2880
|
+
*
|
|
2881
|
+
* @summary Get managers
|
|
2882
|
+
* @param {string} hospitalId
|
|
2883
|
+
* @param {number} [page]
|
|
2884
|
+
* @param {number} [limit]
|
|
2885
|
+
* @param {Date} [lastRetrieved]
|
|
2886
|
+
* @param {string} [id]
|
|
2887
|
+
* @param {string} [fullname]
|
|
2888
|
+
* @param {string} [email]
|
|
2889
|
+
* @param {Gender} [gender]
|
|
2890
|
+
* @param {Date} [dateOfBirth]
|
|
2891
|
+
* @param {Date} [created]
|
|
2892
|
+
* @param {boolean} [showHidden]
|
|
2893
|
+
* @param {*} [options] Override http request option.
|
|
2894
|
+
* @throws {RequiredError}
|
|
2895
|
+
*/
|
|
2896
|
+
apiV1HospitalsHospitalIdManagersGet: async (hospitalId: string, page?: number, limit?: number, lastRetrieved?: Date, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2897
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
2898
|
+
assertParamExists('apiV1HospitalsHospitalIdManagersGet', 'hospitalId', hospitalId)
|
|
2899
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/managers`
|
|
2900
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
2901
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2902
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2903
|
+
let baseOptions;
|
|
2904
|
+
if (configuration) {
|
|
2905
|
+
baseOptions = configuration.baseOptions;
|
|
2906
|
+
}
|
|
2907
|
+
|
|
2908
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
2909
|
+
const localVarHeaderParameter = {} as any;
|
|
2910
|
+
const localVarQueryParameter = {} as any;
|
|
2911
|
+
|
|
2912
|
+
// authentication oauth2 required
|
|
2913
|
+
// oauth required
|
|
2914
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
2915
|
+
|
|
2916
|
+
if (page !== undefined) {
|
|
2917
|
+
localVarQueryParameter['page'] = page;
|
|
2918
|
+
}
|
|
2919
|
+
|
|
2920
|
+
if (limit !== undefined) {
|
|
2921
|
+
localVarQueryParameter['limit'] = limit;
|
|
2922
|
+
}
|
|
2923
|
+
|
|
2924
|
+
if (lastRetrieved !== undefined) {
|
|
2925
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
2926
|
+
(lastRetrieved as any).toISOString() :
|
|
2927
|
+
lastRetrieved;
|
|
2928
|
+
}
|
|
2929
|
+
|
|
2930
|
+
if (id !== undefined) {
|
|
2931
|
+
localVarQueryParameter['Id'] = id;
|
|
2932
|
+
}
|
|
2933
|
+
|
|
2934
|
+
if (fullname !== undefined) {
|
|
2935
|
+
localVarQueryParameter['Fullname'] = fullname;
|
|
2936
|
+
}
|
|
2937
|
+
|
|
2938
|
+
if (email !== undefined) {
|
|
2939
|
+
localVarQueryParameter['Email'] = email;
|
|
2940
|
+
}
|
|
2941
|
+
|
|
2942
|
+
if (gender !== undefined) {
|
|
2943
|
+
localVarQueryParameter['Gender'] = gender;
|
|
2944
|
+
}
|
|
2945
|
+
|
|
2946
|
+
if (dateOfBirth !== undefined) {
|
|
2947
|
+
localVarQueryParameter['DateOfBirth'] = (dateOfBirth as any instanceof Date) ?
|
|
2948
|
+
(dateOfBirth as any).toISOString() :
|
|
2949
|
+
dateOfBirth;
|
|
2950
|
+
}
|
|
2951
|
+
|
|
2952
|
+
if (created !== undefined) {
|
|
2953
|
+
localVarQueryParameter['Created'] = (created as any instanceof Date) ?
|
|
2954
|
+
(created as any).toISOString() :
|
|
2955
|
+
created;
|
|
2956
|
+
}
|
|
2957
|
+
|
|
2958
|
+
if (showHidden !== undefined) {
|
|
2959
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
2960
|
+
}
|
|
2961
|
+
|
|
2962
|
+
|
|
2963
|
+
|
|
2964
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2965
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2966
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2967
|
+
|
|
2968
|
+
return {
|
|
2969
|
+
url: toPathString(localVarUrlObj),
|
|
2970
|
+
options: localVarRequestOptions,
|
|
2971
|
+
};
|
|
2972
|
+
},
|
|
2973
|
+
/**
|
|
2974
|
+
*
|
|
2975
|
+
* @summary Delete manager
|
|
2976
|
+
* @param {string} hospitalId
|
|
2977
|
+
* @param {string} managerId
|
|
2978
|
+
* @param {boolean} [isPermanent]
|
|
2979
|
+
* @param {*} [options] Override http request option.
|
|
2980
|
+
* @throws {RequiredError}
|
|
2981
|
+
*/
|
|
2982
|
+
apiV1HospitalsHospitalIdManagersManagerIdDelete: async (hospitalId: string, managerId: string, isPermanent?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2983
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
2984
|
+
assertParamExists('apiV1HospitalsHospitalIdManagersManagerIdDelete', 'hospitalId', hospitalId)
|
|
2985
|
+
// verify required parameter 'managerId' is not null or undefined
|
|
2986
|
+
assertParamExists('apiV1HospitalsHospitalIdManagersManagerIdDelete', 'managerId', managerId)
|
|
2987
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/managers/{managerId}`
|
|
2988
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
2989
|
+
.replace(`{${"managerId"}}`, encodeURIComponent(String(managerId)));
|
|
2990
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2991
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2992
|
+
let baseOptions;
|
|
2993
|
+
if (configuration) {
|
|
2994
|
+
baseOptions = configuration.baseOptions;
|
|
2995
|
+
}
|
|
2996
|
+
|
|
2997
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
2998
|
+
const localVarHeaderParameter = {} as any;
|
|
2999
|
+
const localVarQueryParameter = {} as any;
|
|
3000
|
+
|
|
3001
|
+
// authentication oauth2 required
|
|
3002
|
+
// oauth required
|
|
3003
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
3004
|
+
|
|
3005
|
+
if (isPermanent !== undefined) {
|
|
3006
|
+
localVarQueryParameter['isPermanent'] = isPermanent;
|
|
3007
|
+
}
|
|
3008
|
+
|
|
3009
|
+
|
|
3010
|
+
|
|
3011
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3012
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3013
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3014
|
+
|
|
3015
|
+
return {
|
|
3016
|
+
url: toPathString(localVarUrlObj),
|
|
3017
|
+
options: localVarRequestOptions,
|
|
3018
|
+
};
|
|
3019
|
+
},
|
|
3020
|
+
/**
|
|
3021
|
+
*
|
|
3022
|
+
* @summary Get manager
|
|
3023
|
+
* @param {string} hospitalId
|
|
3024
|
+
* @param {string} managerId
|
|
3025
|
+
* @param {*} [options] Override http request option.
|
|
3026
|
+
* @throws {RequiredError}
|
|
3027
|
+
*/
|
|
3028
|
+
apiV1HospitalsHospitalIdManagersManagerIdGet: async (hospitalId: string, managerId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3029
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
3030
|
+
assertParamExists('apiV1HospitalsHospitalIdManagersManagerIdGet', 'hospitalId', hospitalId)
|
|
3031
|
+
// verify required parameter 'managerId' is not null or undefined
|
|
3032
|
+
assertParamExists('apiV1HospitalsHospitalIdManagersManagerIdGet', 'managerId', managerId)
|
|
3033
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/managers/{managerId}`
|
|
3034
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
3035
|
+
.replace(`{${"managerId"}}`, encodeURIComponent(String(managerId)));
|
|
3036
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3037
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3038
|
+
let baseOptions;
|
|
3039
|
+
if (configuration) {
|
|
3040
|
+
baseOptions = configuration.baseOptions;
|
|
3041
|
+
}
|
|
3042
|
+
|
|
3043
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
3044
|
+
const localVarHeaderParameter = {} as any;
|
|
3045
|
+
const localVarQueryParameter = {} as any;
|
|
3046
|
+
|
|
3047
|
+
// authentication oauth2 required
|
|
3048
|
+
// oauth required
|
|
3049
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
3050
|
+
|
|
3051
|
+
|
|
3052
|
+
|
|
3053
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3054
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3055
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3056
|
+
|
|
3057
|
+
return {
|
|
3058
|
+
url: toPathString(localVarUrlObj),
|
|
3059
|
+
options: localVarRequestOptions,
|
|
3060
|
+
};
|
|
3061
|
+
},
|
|
3062
|
+
/**
|
|
3063
|
+
* 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\" }
|
|
3064
|
+
* @summary Update manager
|
|
3065
|
+
* @param {string} hospitalId
|
|
3066
|
+
* @param {string} managerId
|
|
3067
|
+
* @param {UpdateManagerCommand} [updateManagerCommand]
|
|
3068
|
+
* @param {*} [options] Override http request option.
|
|
3069
|
+
* @throws {RequiredError}
|
|
3070
|
+
*/
|
|
3071
|
+
apiV1HospitalsHospitalIdManagersManagerIdPut: async (hospitalId: string, managerId: string, updateManagerCommand?: UpdateManagerCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3072
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
3073
|
+
assertParamExists('apiV1HospitalsHospitalIdManagersManagerIdPut', 'hospitalId', hospitalId)
|
|
3074
|
+
// verify required parameter 'managerId' is not null or undefined
|
|
3075
|
+
assertParamExists('apiV1HospitalsHospitalIdManagersManagerIdPut', 'managerId', managerId)
|
|
3076
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/managers/{managerId}`
|
|
3077
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
3078
|
+
.replace(`{${"managerId"}}`, encodeURIComponent(String(managerId)));
|
|
3079
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3080
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3081
|
+
let baseOptions;
|
|
3082
|
+
if (configuration) {
|
|
3083
|
+
baseOptions = configuration.baseOptions;
|
|
3084
|
+
}
|
|
3085
|
+
|
|
3086
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
3087
|
+
const localVarHeaderParameter = {} as any;
|
|
3088
|
+
const localVarQueryParameter = {} as any;
|
|
3089
|
+
|
|
3090
|
+
// authentication oauth2 required
|
|
3091
|
+
// oauth required
|
|
3092
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
3093
|
+
|
|
3094
|
+
|
|
3095
|
+
|
|
3096
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3097
|
+
|
|
3098
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3099
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3100
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3101
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateManagerCommand, localVarRequestOptions, configuration)
|
|
3102
|
+
|
|
3103
|
+
return {
|
|
3104
|
+
url: toPathString(localVarUrlObj),
|
|
3105
|
+
options: localVarRequestOptions,
|
|
3106
|
+
};
|
|
3107
|
+
},
|
|
3108
|
+
/**
|
|
3109
|
+
* 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\" }
|
|
3110
|
+
* @summary Create manager
|
|
3111
|
+
* @param {string} hospitalId
|
|
3112
|
+
* @param {CreateManagerCommand} [createManagerCommand]
|
|
3113
|
+
* @param {*} [options] Override http request option.
|
|
3114
|
+
* @throws {RequiredError}
|
|
3115
|
+
*/
|
|
3116
|
+
apiV1HospitalsHospitalIdManagersPost: async (hospitalId: string, createManagerCommand?: CreateManagerCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3117
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
3118
|
+
assertParamExists('apiV1HospitalsHospitalIdManagersPost', 'hospitalId', hospitalId)
|
|
3119
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/managers`
|
|
3120
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
3121
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3122
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3123
|
+
let baseOptions;
|
|
3124
|
+
if (configuration) {
|
|
3125
|
+
baseOptions = configuration.baseOptions;
|
|
3126
|
+
}
|
|
3127
|
+
|
|
3128
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
3129
|
+
const localVarHeaderParameter = {} as any;
|
|
3130
|
+
const localVarQueryParameter = {} as any;
|
|
3131
|
+
|
|
3132
|
+
// authentication oauth2 required
|
|
3133
|
+
// oauth required
|
|
3134
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
3135
|
+
|
|
3136
|
+
|
|
3137
|
+
|
|
3138
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3139
|
+
|
|
3140
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3141
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3142
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3143
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createManagerCommand, localVarRequestOptions, configuration)
|
|
3144
|
+
|
|
3145
|
+
return {
|
|
3146
|
+
url: toPathString(localVarUrlObj),
|
|
3147
|
+
options: localVarRequestOptions,
|
|
3148
|
+
};
|
|
3149
|
+
},
|
|
2863
3150
|
/**
|
|
2864
3151
|
*
|
|
2865
3152
|
* @summary Get all HospitalMedias.
|
|
@@ -6132,16 +6419,19 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
6132
6419
|
},
|
|
6133
6420
|
/**
|
|
6134
6421
|
*
|
|
6135
|
-
* @summary
|
|
6422
|
+
* @summary Get all hospital tags
|
|
6136
6423
|
* @param {string} hospitalId
|
|
6137
|
-
* @param {
|
|
6424
|
+
* @param {string} [tagId]
|
|
6425
|
+
* @param {number} [page]
|
|
6426
|
+
* @param {number} [limit]
|
|
6427
|
+
* @param {Date} [lastRetrieved]
|
|
6138
6428
|
* @param {*} [options] Override http request option.
|
|
6139
6429
|
* @throws {RequiredError}
|
|
6140
6430
|
*/
|
|
6141
|
-
|
|
6431
|
+
apiV1HospitalsHospitalIdTagsGet: async (hospitalId: string, tagId?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6142
6432
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
6143
|
-
assertParamExists('
|
|
6144
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/
|
|
6433
|
+
assertParamExists('apiV1HospitalsHospitalIdTagsGet', 'hospitalId', hospitalId)
|
|
6434
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/tags`
|
|
6145
6435
|
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
6146
6436
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6147
6437
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -6150,7 +6440,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
6150
6440
|
baseOptions = configuration.baseOptions;
|
|
6151
6441
|
}
|
|
6152
6442
|
|
|
6153
|
-
const localVarRequestOptions = { method: '
|
|
6443
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
6154
6444
|
const localVarHeaderParameter = {} as any;
|
|
6155
6445
|
const localVarQueryParameter = {} as any;
|
|
6156
6446
|
|
|
@@ -6158,14 +6448,197 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
6158
6448
|
// oauth required
|
|
6159
6449
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
6160
6450
|
|
|
6451
|
+
if (tagId !== undefined) {
|
|
6452
|
+
localVarQueryParameter['TagId'] = tagId;
|
|
6453
|
+
}
|
|
6454
|
+
|
|
6455
|
+
if (page !== undefined) {
|
|
6456
|
+
localVarQueryParameter['page'] = page;
|
|
6457
|
+
}
|
|
6458
|
+
|
|
6459
|
+
if (limit !== undefined) {
|
|
6460
|
+
localVarQueryParameter['limit'] = limit;
|
|
6461
|
+
}
|
|
6462
|
+
|
|
6463
|
+
if (lastRetrieved !== undefined) {
|
|
6464
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
6465
|
+
(lastRetrieved as any).toISOString() :
|
|
6466
|
+
lastRetrieved;
|
|
6467
|
+
}
|
|
6161
6468
|
|
|
6162
|
-
|
|
6163
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6164
6469
|
|
|
6470
|
+
|
|
6165
6471
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6166
6472
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6167
6473
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6168
|
-
|
|
6474
|
+
|
|
6475
|
+
return {
|
|
6476
|
+
url: toPathString(localVarUrlObj),
|
|
6477
|
+
options: localVarRequestOptions,
|
|
6478
|
+
};
|
|
6479
|
+
},
|
|
6480
|
+
/**
|
|
6481
|
+
*
|
|
6482
|
+
* @summary Create hospitalTag
|
|
6483
|
+
* @param {string} hospitalId
|
|
6484
|
+
* @param {CreateHospitalTagCommand} [createHospitalTagCommand]
|
|
6485
|
+
* @param {*} [options] Override http request option.
|
|
6486
|
+
* @throws {RequiredError}
|
|
6487
|
+
*/
|
|
6488
|
+
apiV1HospitalsHospitalIdTagsPost: async (hospitalId: string, createHospitalTagCommand?: CreateHospitalTagCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6489
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
6490
|
+
assertParamExists('apiV1HospitalsHospitalIdTagsPost', 'hospitalId', hospitalId)
|
|
6491
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/tags`
|
|
6492
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
6493
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6494
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6495
|
+
let baseOptions;
|
|
6496
|
+
if (configuration) {
|
|
6497
|
+
baseOptions = configuration.baseOptions;
|
|
6498
|
+
}
|
|
6499
|
+
|
|
6500
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
6501
|
+
const localVarHeaderParameter = {} as any;
|
|
6502
|
+
const localVarQueryParameter = {} as any;
|
|
6503
|
+
|
|
6504
|
+
// authentication oauth2 required
|
|
6505
|
+
// oauth required
|
|
6506
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
6507
|
+
|
|
6508
|
+
|
|
6509
|
+
|
|
6510
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6511
|
+
|
|
6512
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6513
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6514
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6515
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createHospitalTagCommand, localVarRequestOptions, configuration)
|
|
6516
|
+
|
|
6517
|
+
return {
|
|
6518
|
+
url: toPathString(localVarUrlObj),
|
|
6519
|
+
options: localVarRequestOptions,
|
|
6520
|
+
};
|
|
6521
|
+
},
|
|
6522
|
+
/**
|
|
6523
|
+
*
|
|
6524
|
+
* @summary Delete hospitalTag
|
|
6525
|
+
* @param {string} hospitalId
|
|
6526
|
+
* @param {string} tagId
|
|
6527
|
+
* @param {*} [options] Override http request option.
|
|
6528
|
+
* @throws {RequiredError}
|
|
6529
|
+
*/
|
|
6530
|
+
apiV1HospitalsHospitalIdTagsTagIdDelete: async (hospitalId: string, tagId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6531
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
6532
|
+
assertParamExists('apiV1HospitalsHospitalIdTagsTagIdDelete', 'hospitalId', hospitalId)
|
|
6533
|
+
// verify required parameter 'tagId' is not null or undefined
|
|
6534
|
+
assertParamExists('apiV1HospitalsHospitalIdTagsTagIdDelete', 'tagId', tagId)
|
|
6535
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/tags/{tagId}`
|
|
6536
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
6537
|
+
.replace(`{${"tagId"}}`, encodeURIComponent(String(tagId)));
|
|
6538
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6539
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6540
|
+
let baseOptions;
|
|
6541
|
+
if (configuration) {
|
|
6542
|
+
baseOptions = configuration.baseOptions;
|
|
6543
|
+
}
|
|
6544
|
+
|
|
6545
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
6546
|
+
const localVarHeaderParameter = {} as any;
|
|
6547
|
+
const localVarQueryParameter = {} as any;
|
|
6548
|
+
|
|
6549
|
+
// authentication oauth2 required
|
|
6550
|
+
// oauth required
|
|
6551
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
6552
|
+
|
|
6553
|
+
|
|
6554
|
+
|
|
6555
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6556
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6557
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6558
|
+
|
|
6559
|
+
return {
|
|
6560
|
+
url: toPathString(localVarUrlObj),
|
|
6561
|
+
options: localVarRequestOptions,
|
|
6562
|
+
};
|
|
6563
|
+
},
|
|
6564
|
+
/**
|
|
6565
|
+
*
|
|
6566
|
+
* @summary Get hospital tag
|
|
6567
|
+
* @param {string} hospitalId
|
|
6568
|
+
* @param {string} tagId
|
|
6569
|
+
* @param {*} [options] Override http request option.
|
|
6570
|
+
* @throws {RequiredError}
|
|
6571
|
+
*/
|
|
6572
|
+
apiV1HospitalsHospitalIdTagsTagIdGet: async (hospitalId: string, tagId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6573
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
6574
|
+
assertParamExists('apiV1HospitalsHospitalIdTagsTagIdGet', 'hospitalId', hospitalId)
|
|
6575
|
+
// verify required parameter 'tagId' is not null or undefined
|
|
6576
|
+
assertParamExists('apiV1HospitalsHospitalIdTagsTagIdGet', 'tagId', tagId)
|
|
6577
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/tags/{tagId}`
|
|
6578
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
6579
|
+
.replace(`{${"tagId"}}`, encodeURIComponent(String(tagId)));
|
|
6580
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6581
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6582
|
+
let baseOptions;
|
|
6583
|
+
if (configuration) {
|
|
6584
|
+
baseOptions = configuration.baseOptions;
|
|
6585
|
+
}
|
|
6586
|
+
|
|
6587
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
6588
|
+
const localVarHeaderParameter = {} as any;
|
|
6589
|
+
const localVarQueryParameter = {} as any;
|
|
6590
|
+
|
|
6591
|
+
// authentication oauth2 required
|
|
6592
|
+
// oauth required
|
|
6593
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
6594
|
+
|
|
6595
|
+
|
|
6596
|
+
|
|
6597
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6598
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6599
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6600
|
+
|
|
6601
|
+
return {
|
|
6602
|
+
url: toPathString(localVarUrlObj),
|
|
6603
|
+
options: localVarRequestOptions,
|
|
6604
|
+
};
|
|
6605
|
+
},
|
|
6606
|
+
/**
|
|
6607
|
+
*
|
|
6608
|
+
* @summary Translate hospital at once
|
|
6609
|
+
* @param {string} hospitalId
|
|
6610
|
+
* @param {TranslateHospitalCommand} [translateHospitalCommand]
|
|
6611
|
+
* @param {*} [options] Override http request option.
|
|
6612
|
+
* @throws {RequiredError}
|
|
6613
|
+
*/
|
|
6614
|
+
apiV1HospitalsHospitalIdTranslatePost: async (hospitalId: string, translateHospitalCommand?: TranslateHospitalCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6615
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
6616
|
+
assertParamExists('apiV1HospitalsHospitalIdTranslatePost', 'hospitalId', hospitalId)
|
|
6617
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/translate`
|
|
6618
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
6619
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6620
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6621
|
+
let baseOptions;
|
|
6622
|
+
if (configuration) {
|
|
6623
|
+
baseOptions = configuration.baseOptions;
|
|
6624
|
+
}
|
|
6625
|
+
|
|
6626
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
6627
|
+
const localVarHeaderParameter = {} as any;
|
|
6628
|
+
const localVarQueryParameter = {} as any;
|
|
6629
|
+
|
|
6630
|
+
// authentication oauth2 required
|
|
6631
|
+
// oauth required
|
|
6632
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
6633
|
+
|
|
6634
|
+
|
|
6635
|
+
|
|
6636
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6637
|
+
|
|
6638
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6639
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6640
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6641
|
+
localVarRequestOptions.data = serializeDataIfNeeded(translateHospitalCommand, localVarRequestOptions, configuration)
|
|
6169
6642
|
|
|
6170
6643
|
return {
|
|
6171
6644
|
url: toPathString(localVarUrlObj),
|
|
@@ -7396,6 +7869,77 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
7396
7869
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdLanguagesPost(hospitalId, createHospitalLanguageCommand, options);
|
|
7397
7870
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
7398
7871
|
},
|
|
7872
|
+
/**
|
|
7873
|
+
*
|
|
7874
|
+
* @summary Get managers
|
|
7875
|
+
* @param {string} hospitalId
|
|
7876
|
+
* @param {number} [page]
|
|
7877
|
+
* @param {number} [limit]
|
|
7878
|
+
* @param {Date} [lastRetrieved]
|
|
7879
|
+
* @param {string} [id]
|
|
7880
|
+
* @param {string} [fullname]
|
|
7881
|
+
* @param {string} [email]
|
|
7882
|
+
* @param {Gender} [gender]
|
|
7883
|
+
* @param {Date} [dateOfBirth]
|
|
7884
|
+
* @param {Date} [created]
|
|
7885
|
+
* @param {boolean} [showHidden]
|
|
7886
|
+
* @param {*} [options] Override http request option.
|
|
7887
|
+
* @throws {RequiredError}
|
|
7888
|
+
*/
|
|
7889
|
+
async apiV1HospitalsHospitalIdManagersGet(hospitalId: string, page?: number, limit?: number, lastRetrieved?: Date, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagersModel>> {
|
|
7890
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdManagersGet(hospitalId, page, limit, lastRetrieved, id, fullname, email, gender, dateOfBirth, created, showHidden, options);
|
|
7891
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
7892
|
+
},
|
|
7893
|
+
/**
|
|
7894
|
+
*
|
|
7895
|
+
* @summary Delete manager
|
|
7896
|
+
* @param {string} hospitalId
|
|
7897
|
+
* @param {string} managerId
|
|
7898
|
+
* @param {boolean} [isPermanent]
|
|
7899
|
+
* @param {*} [options] Override http request option.
|
|
7900
|
+
* @throws {RequiredError}
|
|
7901
|
+
*/
|
|
7902
|
+
async apiV1HospitalsHospitalIdManagersManagerIdDelete(hospitalId: string, managerId: string, isPermanent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
7903
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdManagersManagerIdDelete(hospitalId, managerId, isPermanent, options);
|
|
7904
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
7905
|
+
},
|
|
7906
|
+
/**
|
|
7907
|
+
*
|
|
7908
|
+
* @summary Get manager
|
|
7909
|
+
* @param {string} hospitalId
|
|
7910
|
+
* @param {string} managerId
|
|
7911
|
+
* @param {*} [options] Override http request option.
|
|
7912
|
+
* @throws {RequiredError}
|
|
7913
|
+
*/
|
|
7914
|
+
async apiV1HospitalsHospitalIdManagersManagerIdGet(hospitalId: string, managerId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagerModel>> {
|
|
7915
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdManagersManagerIdGet(hospitalId, managerId, options);
|
|
7916
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
7917
|
+
},
|
|
7918
|
+
/**
|
|
7919
|
+
* 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\" }
|
|
7920
|
+
* @summary Update manager
|
|
7921
|
+
* @param {string} hospitalId
|
|
7922
|
+
* @param {string} managerId
|
|
7923
|
+
* @param {UpdateManagerCommand} [updateManagerCommand]
|
|
7924
|
+
* @param {*} [options] Override http request option.
|
|
7925
|
+
* @throws {RequiredError}
|
|
7926
|
+
*/
|
|
7927
|
+
async apiV1HospitalsHospitalIdManagersManagerIdPut(hospitalId: string, managerId: string, updateManagerCommand?: UpdateManagerCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagerModel>> {
|
|
7928
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdManagersManagerIdPut(hospitalId, managerId, updateManagerCommand, options);
|
|
7929
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
7930
|
+
},
|
|
7931
|
+
/**
|
|
7932
|
+
* 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\" }
|
|
7933
|
+
* @summary Create manager
|
|
7934
|
+
* @param {string} hospitalId
|
|
7935
|
+
* @param {CreateManagerCommand} [createManagerCommand]
|
|
7936
|
+
* @param {*} [options] Override http request option.
|
|
7937
|
+
* @throws {RequiredError}
|
|
7938
|
+
*/
|
|
7939
|
+
async apiV1HospitalsHospitalIdManagersPost(hospitalId: string, createManagerCommand?: CreateManagerCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagerModel>> {
|
|
7940
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdManagersPost(hospitalId, createManagerCommand, options);
|
|
7941
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
7942
|
+
},
|
|
7399
7943
|
/**
|
|
7400
7944
|
*
|
|
7401
7945
|
* @summary Get all HospitalMedias.
|
|
@@ -8269,6 +8813,57 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
8269
8813
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdTranslatePost(hospitalId, specialtyId, serviceId, translateHospitalServiceCommand, options);
|
|
8270
8814
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
8271
8815
|
},
|
|
8816
|
+
/**
|
|
8817
|
+
*
|
|
8818
|
+
* @summary Get all hospital tags
|
|
8819
|
+
* @param {string} hospitalId
|
|
8820
|
+
* @param {string} [tagId]
|
|
8821
|
+
* @param {number} [page]
|
|
8822
|
+
* @param {number} [limit]
|
|
8823
|
+
* @param {Date} [lastRetrieved]
|
|
8824
|
+
* @param {*} [options] Override http request option.
|
|
8825
|
+
* @throws {RequiredError}
|
|
8826
|
+
*/
|
|
8827
|
+
async apiV1HospitalsHospitalIdTagsGet(hospitalId: string, tagId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalTagsModel>> {
|
|
8828
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdTagsGet(hospitalId, tagId, page, limit, lastRetrieved, options);
|
|
8829
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
8830
|
+
},
|
|
8831
|
+
/**
|
|
8832
|
+
*
|
|
8833
|
+
* @summary Create hospitalTag
|
|
8834
|
+
* @param {string} hospitalId
|
|
8835
|
+
* @param {CreateHospitalTagCommand} [createHospitalTagCommand]
|
|
8836
|
+
* @param {*} [options] Override http request option.
|
|
8837
|
+
* @throws {RequiredError}
|
|
8838
|
+
*/
|
|
8839
|
+
async apiV1HospitalsHospitalIdTagsPost(hospitalId: string, createHospitalTagCommand?: CreateHospitalTagCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalTagModel>> {
|
|
8840
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdTagsPost(hospitalId, createHospitalTagCommand, options);
|
|
8841
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
8842
|
+
},
|
|
8843
|
+
/**
|
|
8844
|
+
*
|
|
8845
|
+
* @summary Delete hospitalTag
|
|
8846
|
+
* @param {string} hospitalId
|
|
8847
|
+
* @param {string} tagId
|
|
8848
|
+
* @param {*} [options] Override http request option.
|
|
8849
|
+
* @throws {RequiredError}
|
|
8850
|
+
*/
|
|
8851
|
+
async apiV1HospitalsHospitalIdTagsTagIdDelete(hospitalId: string, tagId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
8852
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdTagsTagIdDelete(hospitalId, tagId, options);
|
|
8853
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
8854
|
+
},
|
|
8855
|
+
/**
|
|
8856
|
+
*
|
|
8857
|
+
* @summary Get hospital tag
|
|
8858
|
+
* @param {string} hospitalId
|
|
8859
|
+
* @param {string} tagId
|
|
8860
|
+
* @param {*} [options] Override http request option.
|
|
8861
|
+
* @throws {RequiredError}
|
|
8862
|
+
*/
|
|
8863
|
+
async apiV1HospitalsHospitalIdTagsTagIdGet(hospitalId: string, tagId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalTagModel>> {
|
|
8864
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdTagsTagIdGet(hospitalId, tagId, options);
|
|
8865
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
8866
|
+
},
|
|
8272
8867
|
/**
|
|
8273
8868
|
*
|
|
8274
8869
|
* @summary Translate hospital at once
|
|
@@ -9087,6 +9682,72 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
9087
9682
|
apiV1HospitalsHospitalIdLanguagesPost(hospitalId: string, createHospitalLanguageCommand?: CreateHospitalLanguageCommand, options?: any): AxiosPromise<boolean> {
|
|
9088
9683
|
return localVarFp.apiV1HospitalsHospitalIdLanguagesPost(hospitalId, createHospitalLanguageCommand, options).then((request) => request(axios, basePath));
|
|
9089
9684
|
},
|
|
9685
|
+
/**
|
|
9686
|
+
*
|
|
9687
|
+
* @summary Get managers
|
|
9688
|
+
* @param {string} hospitalId
|
|
9689
|
+
* @param {number} [page]
|
|
9690
|
+
* @param {number} [limit]
|
|
9691
|
+
* @param {Date} [lastRetrieved]
|
|
9692
|
+
* @param {string} [id]
|
|
9693
|
+
* @param {string} [fullname]
|
|
9694
|
+
* @param {string} [email]
|
|
9695
|
+
* @param {Gender} [gender]
|
|
9696
|
+
* @param {Date} [dateOfBirth]
|
|
9697
|
+
* @param {Date} [created]
|
|
9698
|
+
* @param {boolean} [showHidden]
|
|
9699
|
+
* @param {*} [options] Override http request option.
|
|
9700
|
+
* @throws {RequiredError}
|
|
9701
|
+
*/
|
|
9702
|
+
apiV1HospitalsHospitalIdManagersGet(hospitalId: string, page?: number, limit?: number, lastRetrieved?: Date, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, options?: any): AxiosPromise<ManagersModel> {
|
|
9703
|
+
return localVarFp.apiV1HospitalsHospitalIdManagersGet(hospitalId, page, limit, lastRetrieved, id, fullname, email, gender, dateOfBirth, created, showHidden, options).then((request) => request(axios, basePath));
|
|
9704
|
+
},
|
|
9705
|
+
/**
|
|
9706
|
+
*
|
|
9707
|
+
* @summary Delete manager
|
|
9708
|
+
* @param {string} hospitalId
|
|
9709
|
+
* @param {string} managerId
|
|
9710
|
+
* @param {boolean} [isPermanent]
|
|
9711
|
+
* @param {*} [options] Override http request option.
|
|
9712
|
+
* @throws {RequiredError}
|
|
9713
|
+
*/
|
|
9714
|
+
apiV1HospitalsHospitalIdManagersManagerIdDelete(hospitalId: string, managerId: string, isPermanent?: boolean, options?: any): AxiosPromise<boolean> {
|
|
9715
|
+
return localVarFp.apiV1HospitalsHospitalIdManagersManagerIdDelete(hospitalId, managerId, isPermanent, options).then((request) => request(axios, basePath));
|
|
9716
|
+
},
|
|
9717
|
+
/**
|
|
9718
|
+
*
|
|
9719
|
+
* @summary Get manager
|
|
9720
|
+
* @param {string} hospitalId
|
|
9721
|
+
* @param {string} managerId
|
|
9722
|
+
* @param {*} [options] Override http request option.
|
|
9723
|
+
* @throws {RequiredError}
|
|
9724
|
+
*/
|
|
9725
|
+
apiV1HospitalsHospitalIdManagersManagerIdGet(hospitalId: string, managerId: string, options?: any): AxiosPromise<ManagerModel> {
|
|
9726
|
+
return localVarFp.apiV1HospitalsHospitalIdManagersManagerIdGet(hospitalId, managerId, options).then((request) => request(axios, basePath));
|
|
9727
|
+
},
|
|
9728
|
+
/**
|
|
9729
|
+
* 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\" }
|
|
9730
|
+
* @summary Update manager
|
|
9731
|
+
* @param {string} hospitalId
|
|
9732
|
+
* @param {string} managerId
|
|
9733
|
+
* @param {UpdateManagerCommand} [updateManagerCommand]
|
|
9734
|
+
* @param {*} [options] Override http request option.
|
|
9735
|
+
* @throws {RequiredError}
|
|
9736
|
+
*/
|
|
9737
|
+
apiV1HospitalsHospitalIdManagersManagerIdPut(hospitalId: string, managerId: string, updateManagerCommand?: UpdateManagerCommand, options?: any): AxiosPromise<ManagerModel> {
|
|
9738
|
+
return localVarFp.apiV1HospitalsHospitalIdManagersManagerIdPut(hospitalId, managerId, updateManagerCommand, options).then((request) => request(axios, basePath));
|
|
9739
|
+
},
|
|
9740
|
+
/**
|
|
9741
|
+
* 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\" }
|
|
9742
|
+
* @summary Create manager
|
|
9743
|
+
* @param {string} hospitalId
|
|
9744
|
+
* @param {CreateManagerCommand} [createManagerCommand]
|
|
9745
|
+
* @param {*} [options] Override http request option.
|
|
9746
|
+
* @throws {RequiredError}
|
|
9747
|
+
*/
|
|
9748
|
+
apiV1HospitalsHospitalIdManagersPost(hospitalId: string, createManagerCommand?: CreateManagerCommand, options?: any): AxiosPromise<ManagerModel> {
|
|
9749
|
+
return localVarFp.apiV1HospitalsHospitalIdManagersPost(hospitalId, createManagerCommand, options).then((request) => request(axios, basePath));
|
|
9750
|
+
},
|
|
9090
9751
|
/**
|
|
9091
9752
|
*
|
|
9092
9753
|
* @summary Get all HospitalMedias.
|
|
@@ -9899,6 +10560,53 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
9899
10560
|
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdTranslatePost(hospitalId: string, specialtyId: string, serviceId: string, translateHospitalServiceCommand?: TranslateHospitalServiceCommand, options?: any): AxiosPromise<boolean> {
|
|
9900
10561
|
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdTranslatePost(hospitalId, specialtyId, serviceId, translateHospitalServiceCommand, options).then((request) => request(axios, basePath));
|
|
9901
10562
|
},
|
|
10563
|
+
/**
|
|
10564
|
+
*
|
|
10565
|
+
* @summary Get all hospital tags
|
|
10566
|
+
* @param {string} hospitalId
|
|
10567
|
+
* @param {string} [tagId]
|
|
10568
|
+
* @param {number} [page]
|
|
10569
|
+
* @param {number} [limit]
|
|
10570
|
+
* @param {Date} [lastRetrieved]
|
|
10571
|
+
* @param {*} [options] Override http request option.
|
|
10572
|
+
* @throws {RequiredError}
|
|
10573
|
+
*/
|
|
10574
|
+
apiV1HospitalsHospitalIdTagsGet(hospitalId: string, tagId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalTagsModel> {
|
|
10575
|
+
return localVarFp.apiV1HospitalsHospitalIdTagsGet(hospitalId, tagId, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
10576
|
+
},
|
|
10577
|
+
/**
|
|
10578
|
+
*
|
|
10579
|
+
* @summary Create hospitalTag
|
|
10580
|
+
* @param {string} hospitalId
|
|
10581
|
+
* @param {CreateHospitalTagCommand} [createHospitalTagCommand]
|
|
10582
|
+
* @param {*} [options] Override http request option.
|
|
10583
|
+
* @throws {RequiredError}
|
|
10584
|
+
*/
|
|
10585
|
+
apiV1HospitalsHospitalIdTagsPost(hospitalId: string, createHospitalTagCommand?: CreateHospitalTagCommand, options?: any): AxiosPromise<HospitalTagModel> {
|
|
10586
|
+
return localVarFp.apiV1HospitalsHospitalIdTagsPost(hospitalId, createHospitalTagCommand, options).then((request) => request(axios, basePath));
|
|
10587
|
+
},
|
|
10588
|
+
/**
|
|
10589
|
+
*
|
|
10590
|
+
* @summary Delete hospitalTag
|
|
10591
|
+
* @param {string} hospitalId
|
|
10592
|
+
* @param {string} tagId
|
|
10593
|
+
* @param {*} [options] Override http request option.
|
|
10594
|
+
* @throws {RequiredError}
|
|
10595
|
+
*/
|
|
10596
|
+
apiV1HospitalsHospitalIdTagsTagIdDelete(hospitalId: string, tagId: string, options?: any): AxiosPromise<boolean> {
|
|
10597
|
+
return localVarFp.apiV1HospitalsHospitalIdTagsTagIdDelete(hospitalId, tagId, options).then((request) => request(axios, basePath));
|
|
10598
|
+
},
|
|
10599
|
+
/**
|
|
10600
|
+
*
|
|
10601
|
+
* @summary Get hospital tag
|
|
10602
|
+
* @param {string} hospitalId
|
|
10603
|
+
* @param {string} tagId
|
|
10604
|
+
* @param {*} [options] Override http request option.
|
|
10605
|
+
* @throws {RequiredError}
|
|
10606
|
+
*/
|
|
10607
|
+
apiV1HospitalsHospitalIdTagsTagIdGet(hospitalId: string, tagId: string, options?: any): AxiosPromise<HospitalTagModel> {
|
|
10608
|
+
return localVarFp.apiV1HospitalsHospitalIdTagsTagIdGet(hospitalId, tagId, options).then((request) => request(axios, basePath));
|
|
10609
|
+
},
|
|
9902
10610
|
/**
|
|
9903
10611
|
*
|
|
9904
10612
|
* @summary Translate hospital at once
|
|
@@ -11545,199 +12253,381 @@ export interface HospitalsApiApiV1HospitalsHospitalIdLandingsLandingIdPutRequest
|
|
|
11545
12253
|
|
|
11546
12254
|
/**
|
|
11547
12255
|
*
|
|
11548
|
-
* @type {UpdateLandingCommand}
|
|
11549
|
-
* @memberof HospitalsApiApiV1HospitalsHospitalIdLandingsLandingIdPut
|
|
12256
|
+
* @type {UpdateLandingCommand}
|
|
12257
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdLandingsLandingIdPut
|
|
12258
|
+
*/
|
|
12259
|
+
readonly updateLandingCommand?: UpdateLandingCommand
|
|
12260
|
+
}
|
|
12261
|
+
|
|
12262
|
+
/**
|
|
12263
|
+
* Request parameters for apiV1HospitalsHospitalIdLandingsLandingIdReactivePut operation in HospitalsApi.
|
|
12264
|
+
* @export
|
|
12265
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdLandingsLandingIdReactivePutRequest
|
|
12266
|
+
*/
|
|
12267
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdLandingsLandingIdReactivePutRequest {
|
|
12268
|
+
/**
|
|
12269
|
+
*
|
|
12270
|
+
* @type {string}
|
|
12271
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdLandingsLandingIdReactivePut
|
|
12272
|
+
*/
|
|
12273
|
+
readonly hospitalId: string
|
|
12274
|
+
|
|
12275
|
+
/**
|
|
12276
|
+
*
|
|
12277
|
+
* @type {string}
|
|
12278
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdLandingsLandingIdReactivePut
|
|
12279
|
+
*/
|
|
12280
|
+
readonly landingId: string
|
|
12281
|
+
}
|
|
12282
|
+
|
|
12283
|
+
/**
|
|
12284
|
+
* Request parameters for apiV1HospitalsHospitalIdLandingsLandingIdRevalidatePost operation in HospitalsApi.
|
|
12285
|
+
* @export
|
|
12286
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdLandingsLandingIdRevalidatePostRequest
|
|
12287
|
+
*/
|
|
12288
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdLandingsLandingIdRevalidatePostRequest {
|
|
12289
|
+
/**
|
|
12290
|
+
*
|
|
12291
|
+
* @type {string}
|
|
12292
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdLandingsLandingIdRevalidatePost
|
|
12293
|
+
*/
|
|
12294
|
+
readonly hospitalId: string
|
|
12295
|
+
|
|
12296
|
+
/**
|
|
12297
|
+
*
|
|
12298
|
+
* @type {string}
|
|
12299
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdLandingsLandingIdRevalidatePost
|
|
12300
|
+
*/
|
|
12301
|
+
readonly landingId: string
|
|
12302
|
+
|
|
12303
|
+
/**
|
|
12304
|
+
*
|
|
12305
|
+
* @type {boolean}
|
|
12306
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdLandingsLandingIdRevalidatePost
|
|
12307
|
+
*/
|
|
12308
|
+
readonly includeCurrent?: boolean
|
|
12309
|
+
}
|
|
12310
|
+
|
|
12311
|
+
/**
|
|
12312
|
+
* Request parameters for apiV1HospitalsHospitalIdLandingsPost operation in HospitalsApi.
|
|
12313
|
+
* @export
|
|
12314
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdLandingsPostRequest
|
|
12315
|
+
*/
|
|
12316
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdLandingsPostRequest {
|
|
12317
|
+
/**
|
|
12318
|
+
*
|
|
12319
|
+
* @type {string}
|
|
12320
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdLandingsPost
|
|
12321
|
+
*/
|
|
12322
|
+
readonly hospitalId: string
|
|
12323
|
+
|
|
12324
|
+
/**
|
|
12325
|
+
*
|
|
12326
|
+
* @type {CreateLandingCommand}
|
|
12327
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdLandingsPost
|
|
12328
|
+
*/
|
|
12329
|
+
readonly createLandingCommand?: CreateLandingCommand
|
|
12330
|
+
}
|
|
12331
|
+
|
|
12332
|
+
/**
|
|
12333
|
+
* Request parameters for apiV1HospitalsHospitalIdLanguagesGet operation in HospitalsApi.
|
|
12334
|
+
* @export
|
|
12335
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdLanguagesGetRequest
|
|
12336
|
+
*/
|
|
12337
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdLanguagesGetRequest {
|
|
12338
|
+
/**
|
|
12339
|
+
*
|
|
12340
|
+
* @type {string}
|
|
12341
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdLanguagesGet
|
|
12342
|
+
*/
|
|
12343
|
+
readonly hospitalId: string
|
|
12344
|
+
|
|
12345
|
+
/**
|
|
12346
|
+
*
|
|
12347
|
+
* @type {string}
|
|
12348
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdLanguagesGet
|
|
12349
|
+
*/
|
|
12350
|
+
readonly name?: string
|
|
12351
|
+
|
|
12352
|
+
/**
|
|
12353
|
+
*
|
|
12354
|
+
* @type {boolean}
|
|
12355
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdLanguagesGet
|
|
12356
|
+
*/
|
|
12357
|
+
readonly showHidden?: boolean
|
|
12358
|
+
|
|
12359
|
+
/**
|
|
12360
|
+
*
|
|
12361
|
+
* @type {number}
|
|
12362
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdLanguagesGet
|
|
12363
|
+
*/
|
|
12364
|
+
readonly page?: number
|
|
12365
|
+
|
|
12366
|
+
/**
|
|
12367
|
+
*
|
|
12368
|
+
* @type {number}
|
|
12369
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdLanguagesGet
|
|
12370
|
+
*/
|
|
12371
|
+
readonly limit?: number
|
|
12372
|
+
|
|
12373
|
+
/**
|
|
12374
|
+
*
|
|
12375
|
+
* @type {Date}
|
|
12376
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdLanguagesGet
|
|
12377
|
+
*/
|
|
12378
|
+
readonly lastRetrieved?: Date
|
|
12379
|
+
}
|
|
12380
|
+
|
|
12381
|
+
/**
|
|
12382
|
+
* Request parameters for apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete operation in HospitalsApi.
|
|
12383
|
+
* @export
|
|
12384
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdLanguagesLanguageCodeDeleteRequest
|
|
12385
|
+
*/
|
|
12386
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdLanguagesLanguageCodeDeleteRequest {
|
|
12387
|
+
/**
|
|
12388
|
+
*
|
|
12389
|
+
* @type {string}
|
|
12390
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdLanguagesLanguageCodeDelete
|
|
12391
|
+
*/
|
|
12392
|
+
readonly hospitalId: string
|
|
12393
|
+
|
|
12394
|
+
/**
|
|
12395
|
+
*
|
|
12396
|
+
* @type {string}
|
|
12397
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdLanguagesLanguageCodeDelete
|
|
12398
|
+
*/
|
|
12399
|
+
readonly languageCode: string
|
|
12400
|
+
}
|
|
12401
|
+
|
|
12402
|
+
/**
|
|
12403
|
+
* Request parameters for apiV1HospitalsHospitalIdLanguagesLanguageCodePut operation in HospitalsApi.
|
|
12404
|
+
* @export
|
|
12405
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdLanguagesLanguageCodePutRequest
|
|
12406
|
+
*/
|
|
12407
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdLanguagesLanguageCodePutRequest {
|
|
12408
|
+
/**
|
|
12409
|
+
*
|
|
12410
|
+
* @type {string}
|
|
12411
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdLanguagesLanguageCodePut
|
|
12412
|
+
*/
|
|
12413
|
+
readonly hospitalId: string
|
|
12414
|
+
|
|
12415
|
+
/**
|
|
12416
|
+
*
|
|
12417
|
+
* @type {string}
|
|
12418
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdLanguagesLanguageCodePut
|
|
12419
|
+
*/
|
|
12420
|
+
readonly languageCode: string
|
|
12421
|
+
|
|
12422
|
+
/**
|
|
12423
|
+
*
|
|
12424
|
+
* @type {UpdateHospitalLanguageCommand}
|
|
12425
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdLanguagesLanguageCodePut
|
|
12426
|
+
*/
|
|
12427
|
+
readonly updateHospitalLanguageCommand?: UpdateHospitalLanguageCommand
|
|
12428
|
+
}
|
|
12429
|
+
|
|
12430
|
+
/**
|
|
12431
|
+
* Request parameters for apiV1HospitalsHospitalIdLanguagesPost operation in HospitalsApi.
|
|
12432
|
+
* @export
|
|
12433
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdLanguagesPostRequest
|
|
12434
|
+
*/
|
|
12435
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdLanguagesPostRequest {
|
|
12436
|
+
/**
|
|
12437
|
+
*
|
|
12438
|
+
* @type {string}
|
|
12439
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdLanguagesPost
|
|
12440
|
+
*/
|
|
12441
|
+
readonly hospitalId: string
|
|
12442
|
+
|
|
12443
|
+
/**
|
|
12444
|
+
*
|
|
12445
|
+
* @type {CreateHospitalLanguageCommand}
|
|
12446
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdLanguagesPost
|
|
11550
12447
|
*/
|
|
11551
|
-
readonly
|
|
12448
|
+
readonly createHospitalLanguageCommand?: CreateHospitalLanguageCommand
|
|
11552
12449
|
}
|
|
11553
12450
|
|
|
11554
12451
|
/**
|
|
11555
|
-
* Request parameters for
|
|
12452
|
+
* Request parameters for apiV1HospitalsHospitalIdManagersGet operation in HospitalsApi.
|
|
11556
12453
|
* @export
|
|
11557
|
-
* @interface
|
|
12454
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdManagersGetRequest
|
|
11558
12455
|
*/
|
|
11559
|
-
export interface
|
|
12456
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdManagersGetRequest {
|
|
11560
12457
|
/**
|
|
11561
12458
|
*
|
|
11562
12459
|
* @type {string}
|
|
11563
|
-
* @memberof
|
|
12460
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
|
|
11564
12461
|
*/
|
|
11565
12462
|
readonly hospitalId: string
|
|
11566
12463
|
|
|
11567
12464
|
/**
|
|
11568
12465
|
*
|
|
11569
|
-
* @type {
|
|
11570
|
-
* @memberof
|
|
12466
|
+
* @type {number}
|
|
12467
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
|
|
11571
12468
|
*/
|
|
11572
|
-
readonly
|
|
11573
|
-
}
|
|
12469
|
+
readonly page?: number
|
|
11574
12470
|
|
|
11575
|
-
/**
|
|
11576
|
-
* Request parameters for apiV1HospitalsHospitalIdLandingsLandingIdRevalidatePost operation in HospitalsApi.
|
|
11577
|
-
* @export
|
|
11578
|
-
* @interface HospitalsApiApiV1HospitalsHospitalIdLandingsLandingIdRevalidatePostRequest
|
|
11579
|
-
*/
|
|
11580
|
-
export interface HospitalsApiApiV1HospitalsHospitalIdLandingsLandingIdRevalidatePostRequest {
|
|
11581
12471
|
/**
|
|
11582
12472
|
*
|
|
11583
|
-
* @type {
|
|
11584
|
-
* @memberof
|
|
12473
|
+
* @type {number}
|
|
12474
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
|
|
11585
12475
|
*/
|
|
11586
|
-
readonly
|
|
12476
|
+
readonly limit?: number
|
|
12477
|
+
|
|
12478
|
+
/**
|
|
12479
|
+
*
|
|
12480
|
+
* @type {Date}
|
|
12481
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
|
|
12482
|
+
*/
|
|
12483
|
+
readonly lastRetrieved?: Date
|
|
11587
12484
|
|
|
11588
12485
|
/**
|
|
11589
12486
|
*
|
|
11590
12487
|
* @type {string}
|
|
11591
|
-
* @memberof
|
|
12488
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
|
|
11592
12489
|
*/
|
|
11593
|
-
readonly
|
|
12490
|
+
readonly id?: string
|
|
11594
12491
|
|
|
11595
12492
|
/**
|
|
11596
12493
|
*
|
|
11597
|
-
* @type {
|
|
11598
|
-
* @memberof
|
|
12494
|
+
* @type {string}
|
|
12495
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
|
|
11599
12496
|
*/
|
|
11600
|
-
readonly
|
|
11601
|
-
}
|
|
12497
|
+
readonly fullname?: string
|
|
11602
12498
|
|
|
11603
|
-
/**
|
|
11604
|
-
* Request parameters for apiV1HospitalsHospitalIdLandingsPost operation in HospitalsApi.
|
|
11605
|
-
* @export
|
|
11606
|
-
* @interface HospitalsApiApiV1HospitalsHospitalIdLandingsPostRequest
|
|
11607
|
-
*/
|
|
11608
|
-
export interface HospitalsApiApiV1HospitalsHospitalIdLandingsPostRequest {
|
|
11609
12499
|
/**
|
|
11610
12500
|
*
|
|
11611
12501
|
* @type {string}
|
|
11612
|
-
* @memberof
|
|
12502
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
|
|
11613
12503
|
*/
|
|
11614
|
-
readonly
|
|
12504
|
+
readonly email?: string
|
|
11615
12505
|
|
|
11616
12506
|
/**
|
|
11617
12507
|
*
|
|
11618
|
-
* @type {
|
|
11619
|
-
* @memberof
|
|
12508
|
+
* @type {Gender}
|
|
12509
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
|
|
11620
12510
|
*/
|
|
11621
|
-
readonly
|
|
11622
|
-
}
|
|
12511
|
+
readonly gender?: Gender
|
|
11623
12512
|
|
|
11624
|
-
/**
|
|
11625
|
-
* Request parameters for apiV1HospitalsHospitalIdLanguagesGet operation in HospitalsApi.
|
|
11626
|
-
* @export
|
|
11627
|
-
* @interface HospitalsApiApiV1HospitalsHospitalIdLanguagesGetRequest
|
|
11628
|
-
*/
|
|
11629
|
-
export interface HospitalsApiApiV1HospitalsHospitalIdLanguagesGetRequest {
|
|
11630
12513
|
/**
|
|
11631
12514
|
*
|
|
11632
|
-
* @type {
|
|
11633
|
-
* @memberof
|
|
12515
|
+
* @type {Date}
|
|
12516
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
|
|
11634
12517
|
*/
|
|
11635
|
-
readonly
|
|
12518
|
+
readonly dateOfBirth?: Date
|
|
11636
12519
|
|
|
11637
12520
|
/**
|
|
11638
12521
|
*
|
|
11639
|
-
* @type {
|
|
11640
|
-
* @memberof
|
|
12522
|
+
* @type {Date}
|
|
12523
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
|
|
11641
12524
|
*/
|
|
11642
|
-
readonly
|
|
12525
|
+
readonly created?: Date
|
|
11643
12526
|
|
|
11644
12527
|
/**
|
|
11645
12528
|
*
|
|
11646
12529
|
* @type {boolean}
|
|
11647
|
-
* @memberof
|
|
12530
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
|
|
11648
12531
|
*/
|
|
11649
12532
|
readonly showHidden?: boolean
|
|
12533
|
+
}
|
|
11650
12534
|
|
|
12535
|
+
/**
|
|
12536
|
+
* Request parameters for apiV1HospitalsHospitalIdManagersManagerIdDelete operation in HospitalsApi.
|
|
12537
|
+
* @export
|
|
12538
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdManagersManagerIdDeleteRequest
|
|
12539
|
+
*/
|
|
12540
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdManagersManagerIdDeleteRequest {
|
|
11651
12541
|
/**
|
|
11652
12542
|
*
|
|
11653
|
-
* @type {
|
|
11654
|
-
* @memberof
|
|
12543
|
+
* @type {string}
|
|
12544
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersManagerIdDelete
|
|
11655
12545
|
*/
|
|
11656
|
-
readonly
|
|
12546
|
+
readonly hospitalId: string
|
|
11657
12547
|
|
|
11658
12548
|
/**
|
|
11659
12549
|
*
|
|
11660
|
-
* @type {
|
|
11661
|
-
* @memberof
|
|
12550
|
+
* @type {string}
|
|
12551
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersManagerIdDelete
|
|
11662
12552
|
*/
|
|
11663
|
-
readonly
|
|
12553
|
+
readonly managerId: string
|
|
11664
12554
|
|
|
11665
12555
|
/**
|
|
11666
12556
|
*
|
|
11667
|
-
* @type {
|
|
11668
|
-
* @memberof
|
|
12557
|
+
* @type {boolean}
|
|
12558
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersManagerIdDelete
|
|
11669
12559
|
*/
|
|
11670
|
-
readonly
|
|
12560
|
+
readonly isPermanent?: boolean
|
|
11671
12561
|
}
|
|
11672
12562
|
|
|
11673
12563
|
/**
|
|
11674
|
-
* Request parameters for
|
|
12564
|
+
* Request parameters for apiV1HospitalsHospitalIdManagersManagerIdGet operation in HospitalsApi.
|
|
11675
12565
|
* @export
|
|
11676
|
-
* @interface
|
|
12566
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdManagersManagerIdGetRequest
|
|
11677
12567
|
*/
|
|
11678
|
-
export interface
|
|
12568
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdManagersManagerIdGetRequest {
|
|
11679
12569
|
/**
|
|
11680
12570
|
*
|
|
11681
12571
|
* @type {string}
|
|
11682
|
-
* @memberof
|
|
12572
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersManagerIdGet
|
|
11683
12573
|
*/
|
|
11684
12574
|
readonly hospitalId: string
|
|
11685
12575
|
|
|
11686
12576
|
/**
|
|
11687
12577
|
*
|
|
11688
12578
|
* @type {string}
|
|
11689
|
-
* @memberof
|
|
12579
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersManagerIdGet
|
|
11690
12580
|
*/
|
|
11691
|
-
readonly
|
|
12581
|
+
readonly managerId: string
|
|
11692
12582
|
}
|
|
11693
12583
|
|
|
11694
12584
|
/**
|
|
11695
|
-
* Request parameters for
|
|
12585
|
+
* Request parameters for apiV1HospitalsHospitalIdManagersManagerIdPut operation in HospitalsApi.
|
|
11696
12586
|
* @export
|
|
11697
|
-
* @interface
|
|
12587
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdManagersManagerIdPutRequest
|
|
11698
12588
|
*/
|
|
11699
|
-
export interface
|
|
12589
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdManagersManagerIdPutRequest {
|
|
11700
12590
|
/**
|
|
11701
12591
|
*
|
|
11702
12592
|
* @type {string}
|
|
11703
|
-
* @memberof
|
|
12593
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersManagerIdPut
|
|
11704
12594
|
*/
|
|
11705
12595
|
readonly hospitalId: string
|
|
11706
12596
|
|
|
11707
12597
|
/**
|
|
11708
12598
|
*
|
|
11709
12599
|
* @type {string}
|
|
11710
|
-
* @memberof
|
|
12600
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersManagerIdPut
|
|
11711
12601
|
*/
|
|
11712
|
-
readonly
|
|
12602
|
+
readonly managerId: string
|
|
11713
12603
|
|
|
11714
12604
|
/**
|
|
11715
12605
|
*
|
|
11716
|
-
* @type {
|
|
11717
|
-
* @memberof
|
|
12606
|
+
* @type {UpdateManagerCommand}
|
|
12607
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersManagerIdPut
|
|
11718
12608
|
*/
|
|
11719
|
-
readonly
|
|
12609
|
+
readonly updateManagerCommand?: UpdateManagerCommand
|
|
11720
12610
|
}
|
|
11721
12611
|
|
|
11722
12612
|
/**
|
|
11723
|
-
* Request parameters for
|
|
12613
|
+
* Request parameters for apiV1HospitalsHospitalIdManagersPost operation in HospitalsApi.
|
|
11724
12614
|
* @export
|
|
11725
|
-
* @interface
|
|
12615
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdManagersPostRequest
|
|
11726
12616
|
*/
|
|
11727
|
-
export interface
|
|
12617
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdManagersPostRequest {
|
|
11728
12618
|
/**
|
|
11729
12619
|
*
|
|
11730
12620
|
* @type {string}
|
|
11731
|
-
* @memberof
|
|
12621
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersPost
|
|
11732
12622
|
*/
|
|
11733
12623
|
readonly hospitalId: string
|
|
11734
12624
|
|
|
11735
12625
|
/**
|
|
11736
12626
|
*
|
|
11737
|
-
* @type {
|
|
11738
|
-
* @memberof
|
|
12627
|
+
* @type {CreateManagerCommand}
|
|
12628
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersPost
|
|
11739
12629
|
*/
|
|
11740
|
-
readonly
|
|
12630
|
+
readonly createManagerCommand?: CreateManagerCommand
|
|
11741
12631
|
}
|
|
11742
12632
|
|
|
11743
12633
|
/**
|
|
@@ -14008,6 +14898,111 @@ export interface HospitalsApiApiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServi
|
|
|
14008
14898
|
readonly translateHospitalServiceCommand?: TranslateHospitalServiceCommand
|
|
14009
14899
|
}
|
|
14010
14900
|
|
|
14901
|
+
/**
|
|
14902
|
+
* Request parameters for apiV1HospitalsHospitalIdTagsGet operation in HospitalsApi.
|
|
14903
|
+
* @export
|
|
14904
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdTagsGetRequest
|
|
14905
|
+
*/
|
|
14906
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdTagsGetRequest {
|
|
14907
|
+
/**
|
|
14908
|
+
*
|
|
14909
|
+
* @type {string}
|
|
14910
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdTagsGet
|
|
14911
|
+
*/
|
|
14912
|
+
readonly hospitalId: string
|
|
14913
|
+
|
|
14914
|
+
/**
|
|
14915
|
+
*
|
|
14916
|
+
* @type {string}
|
|
14917
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdTagsGet
|
|
14918
|
+
*/
|
|
14919
|
+
readonly tagId?: string
|
|
14920
|
+
|
|
14921
|
+
/**
|
|
14922
|
+
*
|
|
14923
|
+
* @type {number}
|
|
14924
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdTagsGet
|
|
14925
|
+
*/
|
|
14926
|
+
readonly page?: number
|
|
14927
|
+
|
|
14928
|
+
/**
|
|
14929
|
+
*
|
|
14930
|
+
* @type {number}
|
|
14931
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdTagsGet
|
|
14932
|
+
*/
|
|
14933
|
+
readonly limit?: number
|
|
14934
|
+
|
|
14935
|
+
/**
|
|
14936
|
+
*
|
|
14937
|
+
* @type {Date}
|
|
14938
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdTagsGet
|
|
14939
|
+
*/
|
|
14940
|
+
readonly lastRetrieved?: Date
|
|
14941
|
+
}
|
|
14942
|
+
|
|
14943
|
+
/**
|
|
14944
|
+
* Request parameters for apiV1HospitalsHospitalIdTagsPost operation in HospitalsApi.
|
|
14945
|
+
* @export
|
|
14946
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdTagsPostRequest
|
|
14947
|
+
*/
|
|
14948
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdTagsPostRequest {
|
|
14949
|
+
/**
|
|
14950
|
+
*
|
|
14951
|
+
* @type {string}
|
|
14952
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdTagsPost
|
|
14953
|
+
*/
|
|
14954
|
+
readonly hospitalId: string
|
|
14955
|
+
|
|
14956
|
+
/**
|
|
14957
|
+
*
|
|
14958
|
+
* @type {CreateHospitalTagCommand}
|
|
14959
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdTagsPost
|
|
14960
|
+
*/
|
|
14961
|
+
readonly createHospitalTagCommand?: CreateHospitalTagCommand
|
|
14962
|
+
}
|
|
14963
|
+
|
|
14964
|
+
/**
|
|
14965
|
+
* Request parameters for apiV1HospitalsHospitalIdTagsTagIdDelete operation in HospitalsApi.
|
|
14966
|
+
* @export
|
|
14967
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdTagsTagIdDeleteRequest
|
|
14968
|
+
*/
|
|
14969
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdTagsTagIdDeleteRequest {
|
|
14970
|
+
/**
|
|
14971
|
+
*
|
|
14972
|
+
* @type {string}
|
|
14973
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdTagsTagIdDelete
|
|
14974
|
+
*/
|
|
14975
|
+
readonly hospitalId: string
|
|
14976
|
+
|
|
14977
|
+
/**
|
|
14978
|
+
*
|
|
14979
|
+
* @type {string}
|
|
14980
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdTagsTagIdDelete
|
|
14981
|
+
*/
|
|
14982
|
+
readonly tagId: string
|
|
14983
|
+
}
|
|
14984
|
+
|
|
14985
|
+
/**
|
|
14986
|
+
* Request parameters for apiV1HospitalsHospitalIdTagsTagIdGet operation in HospitalsApi.
|
|
14987
|
+
* @export
|
|
14988
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdTagsTagIdGetRequest
|
|
14989
|
+
*/
|
|
14990
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdTagsTagIdGetRequest {
|
|
14991
|
+
/**
|
|
14992
|
+
*
|
|
14993
|
+
* @type {string}
|
|
14994
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdTagsTagIdGet
|
|
14995
|
+
*/
|
|
14996
|
+
readonly hospitalId: string
|
|
14997
|
+
|
|
14998
|
+
/**
|
|
14999
|
+
*
|
|
15000
|
+
* @type {string}
|
|
15001
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdTagsTagIdGet
|
|
15002
|
+
*/
|
|
15003
|
+
readonly tagId: string
|
|
15004
|
+
}
|
|
15005
|
+
|
|
14011
15006
|
/**
|
|
14012
15007
|
* Request parameters for apiV1HospitalsHospitalIdTranslatePost operation in HospitalsApi.
|
|
14013
15008
|
* @export
|
|
@@ -15001,6 +15996,66 @@ export class HospitalsApi extends BaseAPI {
|
|
|
15001
15996
|
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLanguagesPost(requestParameters.hospitalId, requestParameters.createHospitalLanguageCommand, options).then((request) => request(this.axios, this.basePath));
|
|
15002
15997
|
}
|
|
15003
15998
|
|
|
15999
|
+
/**
|
|
16000
|
+
*
|
|
16001
|
+
* @summary Get managers
|
|
16002
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdManagersGetRequest} requestParameters Request parameters.
|
|
16003
|
+
* @param {*} [options] Override http request option.
|
|
16004
|
+
* @throws {RequiredError}
|
|
16005
|
+
* @memberof HospitalsApi
|
|
16006
|
+
*/
|
|
16007
|
+
public apiV1HospitalsHospitalIdManagersGet(requestParameters: HospitalsApiApiV1HospitalsHospitalIdManagersGetRequest, options?: AxiosRequestConfig) {
|
|
16008
|
+
return 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((request) => request(this.axios, this.basePath));
|
|
16009
|
+
}
|
|
16010
|
+
|
|
16011
|
+
/**
|
|
16012
|
+
*
|
|
16013
|
+
* @summary Delete manager
|
|
16014
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdManagersManagerIdDeleteRequest} requestParameters Request parameters.
|
|
16015
|
+
* @param {*} [options] Override http request option.
|
|
16016
|
+
* @throws {RequiredError}
|
|
16017
|
+
* @memberof HospitalsApi
|
|
16018
|
+
*/
|
|
16019
|
+
public apiV1HospitalsHospitalIdManagersManagerIdDelete(requestParameters: HospitalsApiApiV1HospitalsHospitalIdManagersManagerIdDeleteRequest, options?: AxiosRequestConfig) {
|
|
16020
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdManagersManagerIdDelete(requestParameters.hospitalId, requestParameters.managerId, requestParameters.isPermanent, options).then((request) => request(this.axios, this.basePath));
|
|
16021
|
+
}
|
|
16022
|
+
|
|
16023
|
+
/**
|
|
16024
|
+
*
|
|
16025
|
+
* @summary Get manager
|
|
16026
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdManagersManagerIdGetRequest} requestParameters Request parameters.
|
|
16027
|
+
* @param {*} [options] Override http request option.
|
|
16028
|
+
* @throws {RequiredError}
|
|
16029
|
+
* @memberof HospitalsApi
|
|
16030
|
+
*/
|
|
16031
|
+
public apiV1HospitalsHospitalIdManagersManagerIdGet(requestParameters: HospitalsApiApiV1HospitalsHospitalIdManagersManagerIdGetRequest, options?: AxiosRequestConfig) {
|
|
16032
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdManagersManagerIdGet(requestParameters.hospitalId, requestParameters.managerId, options).then((request) => request(this.axios, this.basePath));
|
|
16033
|
+
}
|
|
16034
|
+
|
|
16035
|
+
/**
|
|
16036
|
+
* 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\" }
|
|
16037
|
+
* @summary Update manager
|
|
16038
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdManagersManagerIdPutRequest} requestParameters Request parameters.
|
|
16039
|
+
* @param {*} [options] Override http request option.
|
|
16040
|
+
* @throws {RequiredError}
|
|
16041
|
+
* @memberof HospitalsApi
|
|
16042
|
+
*/
|
|
16043
|
+
public apiV1HospitalsHospitalIdManagersManagerIdPut(requestParameters: HospitalsApiApiV1HospitalsHospitalIdManagersManagerIdPutRequest, options?: AxiosRequestConfig) {
|
|
16044
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdManagersManagerIdPut(requestParameters.hospitalId, requestParameters.managerId, requestParameters.updateManagerCommand, options).then((request) => request(this.axios, this.basePath));
|
|
16045
|
+
}
|
|
16046
|
+
|
|
16047
|
+
/**
|
|
16048
|
+
* 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\" }
|
|
16049
|
+
* @summary Create manager
|
|
16050
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdManagersPostRequest} requestParameters Request parameters.
|
|
16051
|
+
* @param {*} [options] Override http request option.
|
|
16052
|
+
* @throws {RequiredError}
|
|
16053
|
+
* @memberof HospitalsApi
|
|
16054
|
+
*/
|
|
16055
|
+
public apiV1HospitalsHospitalIdManagersPost(requestParameters: HospitalsApiApiV1HospitalsHospitalIdManagersPostRequest, options?: AxiosRequestConfig) {
|
|
16056
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdManagersPost(requestParameters.hospitalId, requestParameters.createManagerCommand, options).then((request) => request(this.axios, this.basePath));
|
|
16057
|
+
}
|
|
16058
|
+
|
|
15004
16059
|
/**
|
|
15005
16060
|
*
|
|
15006
16061
|
* @summary Get all HospitalMedias.
|
|
@@ -15733,6 +16788,54 @@ export class HospitalsApi extends BaseAPI {
|
|
|
15733
16788
|
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdTranslatePost(requestParameters.hospitalId, requestParameters.specialtyId, requestParameters.serviceId, requestParameters.translateHospitalServiceCommand, options).then((request) => request(this.axios, this.basePath));
|
|
15734
16789
|
}
|
|
15735
16790
|
|
|
16791
|
+
/**
|
|
16792
|
+
*
|
|
16793
|
+
* @summary Get all hospital tags
|
|
16794
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdTagsGetRequest} requestParameters Request parameters.
|
|
16795
|
+
* @param {*} [options] Override http request option.
|
|
16796
|
+
* @throws {RequiredError}
|
|
16797
|
+
* @memberof HospitalsApi
|
|
16798
|
+
*/
|
|
16799
|
+
public apiV1HospitalsHospitalIdTagsGet(requestParameters: HospitalsApiApiV1HospitalsHospitalIdTagsGetRequest, options?: AxiosRequestConfig) {
|
|
16800
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdTagsGet(requestParameters.hospitalId, requestParameters.tagId, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
16801
|
+
}
|
|
16802
|
+
|
|
16803
|
+
/**
|
|
16804
|
+
*
|
|
16805
|
+
* @summary Create hospitalTag
|
|
16806
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdTagsPostRequest} requestParameters Request parameters.
|
|
16807
|
+
* @param {*} [options] Override http request option.
|
|
16808
|
+
* @throws {RequiredError}
|
|
16809
|
+
* @memberof HospitalsApi
|
|
16810
|
+
*/
|
|
16811
|
+
public apiV1HospitalsHospitalIdTagsPost(requestParameters: HospitalsApiApiV1HospitalsHospitalIdTagsPostRequest, options?: AxiosRequestConfig) {
|
|
16812
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdTagsPost(requestParameters.hospitalId, requestParameters.createHospitalTagCommand, options).then((request) => request(this.axios, this.basePath));
|
|
16813
|
+
}
|
|
16814
|
+
|
|
16815
|
+
/**
|
|
16816
|
+
*
|
|
16817
|
+
* @summary Delete hospitalTag
|
|
16818
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdTagsTagIdDeleteRequest} requestParameters Request parameters.
|
|
16819
|
+
* @param {*} [options] Override http request option.
|
|
16820
|
+
* @throws {RequiredError}
|
|
16821
|
+
* @memberof HospitalsApi
|
|
16822
|
+
*/
|
|
16823
|
+
public apiV1HospitalsHospitalIdTagsTagIdDelete(requestParameters: HospitalsApiApiV1HospitalsHospitalIdTagsTagIdDeleteRequest, options?: AxiosRequestConfig) {
|
|
16824
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdTagsTagIdDelete(requestParameters.hospitalId, requestParameters.tagId, options).then((request) => request(this.axios, this.basePath));
|
|
16825
|
+
}
|
|
16826
|
+
|
|
16827
|
+
/**
|
|
16828
|
+
*
|
|
16829
|
+
* @summary Get hospital tag
|
|
16830
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdTagsTagIdGetRequest} requestParameters Request parameters.
|
|
16831
|
+
* @param {*} [options] Override http request option.
|
|
16832
|
+
* @throws {RequiredError}
|
|
16833
|
+
* @memberof HospitalsApi
|
|
16834
|
+
*/
|
|
16835
|
+
public apiV1HospitalsHospitalIdTagsTagIdGet(requestParameters: HospitalsApiApiV1HospitalsHospitalIdTagsTagIdGetRequest, options?: AxiosRequestConfig) {
|
|
16836
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdTagsTagIdGet(requestParameters.hospitalId, requestParameters.tagId, options).then((request) => request(this.axios, this.basePath));
|
|
16837
|
+
}
|
|
16838
|
+
|
|
15736
16839
|
/**
|
|
15737
16840
|
*
|
|
15738
16841
|
* @summary Translate hospital at once
|