ch-admin-api-client-typescript 2.9.4 → 2.9.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.
- package/lib/api.d.ts +1562 -48
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +1850 -104
- package/package.json +1 -1
- package/src/api.ts +2595 -265
package/src/api.ts
CHANGED
|
@@ -21,6 +21,201 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
|
|
23
23
|
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface AboutUsPageItemModel
|
|
28
|
+
*/
|
|
29
|
+
export interface AboutUsPageItemModel {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AboutUsPageItemModel
|
|
34
|
+
*/
|
|
35
|
+
'id'?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AboutUsPageItemModel
|
|
40
|
+
*/
|
|
41
|
+
'hospitalId'?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof AboutUsPageItemModel
|
|
46
|
+
*/
|
|
47
|
+
'hospitalName'?: string | null;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof AboutUsPageItemModel
|
|
52
|
+
*/
|
|
53
|
+
'hospitalSlug'?: string | null;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof AboutUsPageItemModel
|
|
58
|
+
*/
|
|
59
|
+
'overviewTitle'?: string | null;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof AboutUsPageItemModel
|
|
64
|
+
*/
|
|
65
|
+
'overview'?: string | null;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof AboutUsPageItemModel
|
|
70
|
+
*/
|
|
71
|
+
'content'?: string | null;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof AboutUsPageItemModel
|
|
76
|
+
*/
|
|
77
|
+
'customStyle'?: string | null;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof AboutUsPageItemModel
|
|
82
|
+
*/
|
|
83
|
+
'background'?: string | null;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof AboutUsPageItemModel
|
|
88
|
+
*/
|
|
89
|
+
'backgroundThumbnail'?: string | null;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {boolean}
|
|
93
|
+
* @memberof AboutUsPageItemModel
|
|
94
|
+
*/
|
|
95
|
+
'confirmed'?: boolean;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {Array<MediaModel>}
|
|
99
|
+
* @memberof AboutUsPageItemModel
|
|
100
|
+
*/
|
|
101
|
+
'medias'?: Array<MediaModel> | null;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {AuditableEntity}
|
|
105
|
+
* @memberof AboutUsPageItemModel
|
|
106
|
+
*/
|
|
107
|
+
'auditableEntity'?: AuditableEntity;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* @export
|
|
112
|
+
* @interface AboutUsPageModel
|
|
113
|
+
*/
|
|
114
|
+
export interface AboutUsPageModel {
|
|
115
|
+
/**
|
|
116
|
+
*
|
|
117
|
+
* @type {string}
|
|
118
|
+
* @memberof AboutUsPageModel
|
|
119
|
+
*/
|
|
120
|
+
'id'?: string;
|
|
121
|
+
/**
|
|
122
|
+
*
|
|
123
|
+
* @type {string}
|
|
124
|
+
* @memberof AboutUsPageModel
|
|
125
|
+
*/
|
|
126
|
+
'hospitalId'?: string;
|
|
127
|
+
/**
|
|
128
|
+
*
|
|
129
|
+
* @type {string}
|
|
130
|
+
* @memberof AboutUsPageModel
|
|
131
|
+
*/
|
|
132
|
+
'hospitalName'?: string | null;
|
|
133
|
+
/**
|
|
134
|
+
*
|
|
135
|
+
* @type {string}
|
|
136
|
+
* @memberof AboutUsPageModel
|
|
137
|
+
*/
|
|
138
|
+
'hospitalSlug'?: string | null;
|
|
139
|
+
/**
|
|
140
|
+
*
|
|
141
|
+
* @type {string}
|
|
142
|
+
* @memberof AboutUsPageModel
|
|
143
|
+
*/
|
|
144
|
+
'overviewTitle'?: string | null;
|
|
145
|
+
/**
|
|
146
|
+
*
|
|
147
|
+
* @type {string}
|
|
148
|
+
* @memberof AboutUsPageModel
|
|
149
|
+
*/
|
|
150
|
+
'overview'?: string | null;
|
|
151
|
+
/**
|
|
152
|
+
*
|
|
153
|
+
* @type {string}
|
|
154
|
+
* @memberof AboutUsPageModel
|
|
155
|
+
*/
|
|
156
|
+
'content'?: string | null;
|
|
157
|
+
/**
|
|
158
|
+
*
|
|
159
|
+
* @type {string}
|
|
160
|
+
* @memberof AboutUsPageModel
|
|
161
|
+
*/
|
|
162
|
+
'customStyle'?: string | null;
|
|
163
|
+
/**
|
|
164
|
+
*
|
|
165
|
+
* @type {string}
|
|
166
|
+
* @memberof AboutUsPageModel
|
|
167
|
+
*/
|
|
168
|
+
'background'?: string | null;
|
|
169
|
+
/**
|
|
170
|
+
*
|
|
171
|
+
* @type {string}
|
|
172
|
+
* @memberof AboutUsPageModel
|
|
173
|
+
*/
|
|
174
|
+
'backgroundThumbnail'?: string | null;
|
|
175
|
+
/**
|
|
176
|
+
*
|
|
177
|
+
* @type {boolean}
|
|
178
|
+
* @memberof AboutUsPageModel
|
|
179
|
+
*/
|
|
180
|
+
'confirmed'?: boolean;
|
|
181
|
+
/**
|
|
182
|
+
*
|
|
183
|
+
* @type {Array<MediaModel>}
|
|
184
|
+
* @memberof AboutUsPageModel
|
|
185
|
+
*/
|
|
186
|
+
'medias'?: Array<MediaModel> | null;
|
|
187
|
+
/**
|
|
188
|
+
*
|
|
189
|
+
* @type {AuditableEntity}
|
|
190
|
+
* @memberof AboutUsPageModel
|
|
191
|
+
*/
|
|
192
|
+
'auditableEntity'?: AuditableEntity;
|
|
193
|
+
/**
|
|
194
|
+
*
|
|
195
|
+
* @type {string}
|
|
196
|
+
* @memberof AboutUsPageModel
|
|
197
|
+
*/
|
|
198
|
+
'languageCode'?: string | null;
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
*
|
|
202
|
+
* @export
|
|
203
|
+
* @interface AboutUsPagesModel
|
|
204
|
+
*/
|
|
205
|
+
export interface AboutUsPagesModel {
|
|
206
|
+
/**
|
|
207
|
+
*
|
|
208
|
+
* @type {Array<AboutUsPageItemModel>}
|
|
209
|
+
* @memberof AboutUsPagesModel
|
|
210
|
+
*/
|
|
211
|
+
'items'?: Array<AboutUsPageItemModel> | null;
|
|
212
|
+
/**
|
|
213
|
+
*
|
|
214
|
+
* @type {PagedListMetaData}
|
|
215
|
+
* @memberof AboutUsPagesModel
|
|
216
|
+
*/
|
|
217
|
+
'metaData'?: PagedListMetaData;
|
|
218
|
+
}
|
|
24
219
|
/**
|
|
25
220
|
*
|
|
26
221
|
* @export
|
|
@@ -3002,6 +3197,67 @@ export interface CountryModel {
|
|
|
3002
3197
|
*/
|
|
3003
3198
|
'languageCode'?: string | null;
|
|
3004
3199
|
}
|
|
3200
|
+
/**
|
|
3201
|
+
*
|
|
3202
|
+
* @export
|
|
3203
|
+
* @interface CreateAboutUsPageCommand
|
|
3204
|
+
*/
|
|
3205
|
+
export interface CreateAboutUsPageCommand {
|
|
3206
|
+
/**
|
|
3207
|
+
*
|
|
3208
|
+
* @type {string}
|
|
3209
|
+
* @memberof CreateAboutUsPageCommand
|
|
3210
|
+
*/
|
|
3211
|
+
'hospitalId'?: string;
|
|
3212
|
+
/**
|
|
3213
|
+
*
|
|
3214
|
+
* @type {string}
|
|
3215
|
+
* @memberof CreateAboutUsPageCommand
|
|
3216
|
+
*/
|
|
3217
|
+
'overviewTitle'?: string | null;
|
|
3218
|
+
/**
|
|
3219
|
+
*
|
|
3220
|
+
* @type {string}
|
|
3221
|
+
* @memberof CreateAboutUsPageCommand
|
|
3222
|
+
*/
|
|
3223
|
+
'overview'?: string | null;
|
|
3224
|
+
/**
|
|
3225
|
+
*
|
|
3226
|
+
* @type {string}
|
|
3227
|
+
* @memberof CreateAboutUsPageCommand
|
|
3228
|
+
*/
|
|
3229
|
+
'content'?: string | null;
|
|
3230
|
+
/**
|
|
3231
|
+
*
|
|
3232
|
+
* @type {string}
|
|
3233
|
+
* @memberof CreateAboutUsPageCommand
|
|
3234
|
+
*/
|
|
3235
|
+
'customStyle'?: string | null;
|
|
3236
|
+
/**
|
|
3237
|
+
*
|
|
3238
|
+
* @type {string}
|
|
3239
|
+
* @memberof CreateAboutUsPageCommand
|
|
3240
|
+
*/
|
|
3241
|
+
'background'?: string | null;
|
|
3242
|
+
/**
|
|
3243
|
+
*
|
|
3244
|
+
* @type {string}
|
|
3245
|
+
* @memberof CreateAboutUsPageCommand
|
|
3246
|
+
*/
|
|
3247
|
+
'backgroundThumbnail'?: string | null;
|
|
3248
|
+
/**
|
|
3249
|
+
*
|
|
3250
|
+
* @type {Array<Media>}
|
|
3251
|
+
* @memberof CreateAboutUsPageCommand
|
|
3252
|
+
*/
|
|
3253
|
+
'medias'?: Array<Media> | null;
|
|
3254
|
+
/**
|
|
3255
|
+
*
|
|
3256
|
+
* @type {AuditableEntity}
|
|
3257
|
+
* @memberof CreateAboutUsPageCommand
|
|
3258
|
+
*/
|
|
3259
|
+
'auditableEntity'?: AuditableEntity;
|
|
3260
|
+
}
|
|
3005
3261
|
/**
|
|
3006
3262
|
*
|
|
3007
3263
|
* @export
|
|
@@ -3957,16 +4213,16 @@ export interface CreateHospitalCommand {
|
|
|
3957
4213
|
'websiteUrl'?: string | null;
|
|
3958
4214
|
/**
|
|
3959
4215
|
*
|
|
3960
|
-
* @type {
|
|
4216
|
+
* @type {string}
|
|
3961
4217
|
* @memberof CreateHospitalCommand
|
|
3962
4218
|
*/
|
|
3963
|
-
'
|
|
4219
|
+
'contactTel'?: string | null;
|
|
3964
4220
|
/**
|
|
3965
4221
|
*
|
|
3966
|
-
* @type {
|
|
4222
|
+
* @type {string}
|
|
3967
4223
|
* @memberof CreateHospitalCommand
|
|
3968
4224
|
*/
|
|
3969
|
-
'
|
|
4225
|
+
'contactEmail'?: string | null;
|
|
3970
4226
|
/**
|
|
3971
4227
|
*
|
|
3972
4228
|
* @type {LocationModel}
|
|
@@ -4109,6 +4365,25 @@ export interface CreateHospitalServiceCommand {
|
|
|
4109
4365
|
*/
|
|
4110
4366
|
'medias'?: Array<MediaModel> | null;
|
|
4111
4367
|
}
|
|
4368
|
+
/**
|
|
4369
|
+
*
|
|
4370
|
+
* @export
|
|
4371
|
+
* @interface CreateHospitalSnsHandleCommand
|
|
4372
|
+
*/
|
|
4373
|
+
export interface CreateHospitalSnsHandleCommand {
|
|
4374
|
+
/**
|
|
4375
|
+
*
|
|
4376
|
+
* @type {SnsType}
|
|
4377
|
+
* @memberof CreateHospitalSnsHandleCommand
|
|
4378
|
+
*/
|
|
4379
|
+
'snsType'?: SnsType;
|
|
4380
|
+
/**
|
|
4381
|
+
*
|
|
4382
|
+
* @type {string}
|
|
4383
|
+
* @memberof CreateHospitalSnsHandleCommand
|
|
4384
|
+
*/
|
|
4385
|
+
'handle'?: string | null;
|
|
4386
|
+
}
|
|
4112
4387
|
/**
|
|
4113
4388
|
*
|
|
4114
4389
|
* @export
|
|
@@ -4182,6 +4457,37 @@ export interface CreateHospitalSpecialtyCommand {
|
|
|
4182
4457
|
*/
|
|
4183
4458
|
'medias'?: Array<MediaModel> | null;
|
|
4184
4459
|
}
|
|
4460
|
+
/**
|
|
4461
|
+
*
|
|
4462
|
+
* @export
|
|
4463
|
+
* @interface CreateHospitalWorkingDayCommand
|
|
4464
|
+
*/
|
|
4465
|
+
export interface CreateHospitalWorkingDayCommand {
|
|
4466
|
+
/**
|
|
4467
|
+
*
|
|
4468
|
+
* @type {string}
|
|
4469
|
+
* @memberof CreateHospitalWorkingDayCommand
|
|
4470
|
+
*/
|
|
4471
|
+
'dayOfWeek'?: string | null;
|
|
4472
|
+
/**
|
|
4473
|
+
*
|
|
4474
|
+
* @type {Date}
|
|
4475
|
+
* @memberof CreateHospitalWorkingDayCommand
|
|
4476
|
+
*/
|
|
4477
|
+
'timeFrom'?: Date;
|
|
4478
|
+
/**
|
|
4479
|
+
*
|
|
4480
|
+
* @type {Date}
|
|
4481
|
+
* @memberof CreateHospitalWorkingDayCommand
|
|
4482
|
+
*/
|
|
4483
|
+
'timeTo'?: Date;
|
|
4484
|
+
/**
|
|
4485
|
+
*
|
|
4486
|
+
* @type {boolean}
|
|
4487
|
+
* @memberof CreateHospitalWorkingDayCommand
|
|
4488
|
+
*/
|
|
4489
|
+
'checkHoliday'?: boolean;
|
|
4490
|
+
}
|
|
4185
4491
|
/**
|
|
4186
4492
|
*
|
|
4187
4493
|
* @export
|
|
@@ -7163,6 +7469,12 @@ export interface HospitalItemModel {
|
|
|
7163
7469
|
* @memberof HospitalItemModel
|
|
7164
7470
|
*/
|
|
7165
7471
|
'specialtiesSummerized'?: string | null;
|
|
7472
|
+
/**
|
|
7473
|
+
*
|
|
7474
|
+
* @type {boolean}
|
|
7475
|
+
* @memberof HospitalItemModel
|
|
7476
|
+
*/
|
|
7477
|
+
'paymentEnabled'?: boolean;
|
|
7166
7478
|
/**
|
|
7167
7479
|
*
|
|
7168
7480
|
* @type {Array<AwardModel>}
|
|
@@ -7398,6 +7710,12 @@ export interface HospitalModel {
|
|
|
7398
7710
|
* @memberof HospitalModel
|
|
7399
7711
|
*/
|
|
7400
7712
|
'specialtiesSummerized'?: string | null;
|
|
7713
|
+
/**
|
|
7714
|
+
*
|
|
7715
|
+
* @type {boolean}
|
|
7716
|
+
* @memberof HospitalModel
|
|
7717
|
+
*/
|
|
7718
|
+
'paymentEnabled'?: boolean;
|
|
7401
7719
|
/**
|
|
7402
7720
|
*
|
|
7403
7721
|
* @type {Array<AwardModel>}
|
|
@@ -7452,6 +7770,30 @@ export interface HospitalModel {
|
|
|
7452
7770
|
* @memberof HospitalModel
|
|
7453
7771
|
*/
|
|
7454
7772
|
'languageCode'?: string | null;
|
|
7773
|
+
/**
|
|
7774
|
+
*
|
|
7775
|
+
* @type {string}
|
|
7776
|
+
* @memberof HospitalModel
|
|
7777
|
+
*/
|
|
7778
|
+
'contactTel'?: string | null;
|
|
7779
|
+
/**
|
|
7780
|
+
*
|
|
7781
|
+
* @type {string}
|
|
7782
|
+
* @memberof HospitalModel
|
|
7783
|
+
*/
|
|
7784
|
+
'contactEmail'?: string | null;
|
|
7785
|
+
/**
|
|
7786
|
+
*
|
|
7787
|
+
* @type {Array<WorkingDay>}
|
|
7788
|
+
* @memberof HospitalModel
|
|
7789
|
+
*/
|
|
7790
|
+
'workingDays'?: Array<WorkingDay> | null;
|
|
7791
|
+
/**
|
|
7792
|
+
*
|
|
7793
|
+
* @type {Array<SnsHandle>}
|
|
7794
|
+
* @memberof HospitalModel
|
|
7795
|
+
*/
|
|
7796
|
+
'snsHandles'?: Array<SnsHandle> | null;
|
|
7455
7797
|
}
|
|
7456
7798
|
/**
|
|
7457
7799
|
*
|
|
@@ -7609,6 +7951,12 @@ export interface HospitalServiceItemModel {
|
|
|
7609
7951
|
* @memberof HospitalServiceItemModel
|
|
7610
7952
|
*/
|
|
7611
7953
|
'photoThumbnail'?: string | null;
|
|
7954
|
+
/**
|
|
7955
|
+
*
|
|
7956
|
+
* @type {Array<LocalizedUrlModel>}
|
|
7957
|
+
* @memberof HospitalServiceItemModel
|
|
7958
|
+
*/
|
|
7959
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
7612
7960
|
/**
|
|
7613
7961
|
*
|
|
7614
7962
|
* @type {Array<MediaModel>}
|
|
@@ -7778,6 +8126,12 @@ export interface HospitalServiceModel {
|
|
|
7778
8126
|
* @memberof HospitalServiceModel
|
|
7779
8127
|
*/
|
|
7780
8128
|
'photoThumbnail'?: string | null;
|
|
8129
|
+
/**
|
|
8130
|
+
*
|
|
8131
|
+
* @type {Array<LocalizedUrlModel>}
|
|
8132
|
+
* @memberof HospitalServiceModel
|
|
8133
|
+
*/
|
|
8134
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
7781
8135
|
/**
|
|
7782
8136
|
*
|
|
7783
8137
|
* @type {Array<MediaModel>}
|
|
@@ -7841,6 +8195,25 @@ export interface HospitalSimpleItemModel {
|
|
|
7841
8195
|
*/
|
|
7842
8196
|
'confirmed'?: boolean;
|
|
7843
8197
|
}
|
|
8198
|
+
/**
|
|
8199
|
+
*
|
|
8200
|
+
* @export
|
|
8201
|
+
* @interface HospitalSnsHandlesModel
|
|
8202
|
+
*/
|
|
8203
|
+
export interface HospitalSnsHandlesModel {
|
|
8204
|
+
/**
|
|
8205
|
+
*
|
|
8206
|
+
* @type {Array<SnsHandleModel>}
|
|
8207
|
+
* @memberof HospitalSnsHandlesModel
|
|
8208
|
+
*/
|
|
8209
|
+
'items'?: Array<SnsHandleModel> | null;
|
|
8210
|
+
/**
|
|
8211
|
+
*
|
|
8212
|
+
* @type {PagedListMetaData}
|
|
8213
|
+
* @memberof HospitalSnsHandlesModel
|
|
8214
|
+
*/
|
|
8215
|
+
'metaData'?: PagedListMetaData;
|
|
8216
|
+
}
|
|
7844
8217
|
/**
|
|
7845
8218
|
*
|
|
7846
8219
|
* @export
|
|
@@ -8023,6 +8396,12 @@ export interface HospitalSpecialtyItemModel {
|
|
|
8023
8396
|
* @memberof HospitalSpecialtyItemModel
|
|
8024
8397
|
*/
|
|
8025
8398
|
'backgroundThumbnail'?: string | null;
|
|
8399
|
+
/**
|
|
8400
|
+
*
|
|
8401
|
+
* @type {Array<LocalizedUrlModel>}
|
|
8402
|
+
* @memberof HospitalSpecialtyItemModel
|
|
8403
|
+
*/
|
|
8404
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
8026
8405
|
/**
|
|
8027
8406
|
*
|
|
8028
8407
|
* @type {Array<MediaModel>}
|
|
@@ -8180,6 +8559,12 @@ export interface HospitalSpecialtyModel {
|
|
|
8180
8559
|
* @memberof HospitalSpecialtyModel
|
|
8181
8560
|
*/
|
|
8182
8561
|
'backgroundThumbnail'?: string | null;
|
|
8562
|
+
/**
|
|
8563
|
+
*
|
|
8564
|
+
* @type {Array<LocalizedUrlModel>}
|
|
8565
|
+
* @memberof HospitalSpecialtyModel
|
|
8566
|
+
*/
|
|
8567
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
8183
8568
|
/**
|
|
8184
8569
|
*
|
|
8185
8570
|
* @type {Array<MediaModel>}
|
|
@@ -8241,6 +8626,12 @@ export interface HospitalSpecialtySimpleItemModel {
|
|
|
8241
8626
|
* @memberof HospitalSpecialtySimpleItemModel
|
|
8242
8627
|
*/
|
|
8243
8628
|
'order'?: number;
|
|
8629
|
+
/**
|
|
8630
|
+
*
|
|
8631
|
+
* @type {Array<LocalizedUrlModel>}
|
|
8632
|
+
* @memberof HospitalSpecialtySimpleItemModel
|
|
8633
|
+
*/
|
|
8634
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
8244
8635
|
/**
|
|
8245
8636
|
*
|
|
8246
8637
|
* @type {boolean}
|
|
@@ -8819,6 +9210,61 @@ export enum MarketingType {
|
|
|
8819
9210
|
Beauty = 'Beauty'
|
|
8820
9211
|
}
|
|
8821
9212
|
|
|
9213
|
+
/**
|
|
9214
|
+
*
|
|
9215
|
+
* @export
|
|
9216
|
+
* @interface Media
|
|
9217
|
+
*/
|
|
9218
|
+
export interface Media {
|
|
9219
|
+
/**
|
|
9220
|
+
*
|
|
9221
|
+
* @type {string}
|
|
9222
|
+
* @memberof Media
|
|
9223
|
+
*/
|
|
9224
|
+
'id'?: string;
|
|
9225
|
+
/**
|
|
9226
|
+
*
|
|
9227
|
+
* @type {MediaType}
|
|
9228
|
+
* @memberof Media
|
|
9229
|
+
*/
|
|
9230
|
+
'mediaType'?: MediaType;
|
|
9231
|
+
/**
|
|
9232
|
+
*
|
|
9233
|
+
* @type {string}
|
|
9234
|
+
* @memberof Media
|
|
9235
|
+
*/
|
|
9236
|
+
'url'?: string | null;
|
|
9237
|
+
/**
|
|
9238
|
+
*
|
|
9239
|
+
* @type {string}
|
|
9240
|
+
* @memberof Media
|
|
9241
|
+
*/
|
|
9242
|
+
'thumbnailUrl'?: string | null;
|
|
9243
|
+
/**
|
|
9244
|
+
*
|
|
9245
|
+
* @type {string}
|
|
9246
|
+
* @memberof Media
|
|
9247
|
+
*/
|
|
9248
|
+
'description'?: string | null;
|
|
9249
|
+
/**
|
|
9250
|
+
*
|
|
9251
|
+
* @type {number}
|
|
9252
|
+
* @memberof Media
|
|
9253
|
+
*/
|
|
9254
|
+
'height'?: number;
|
|
9255
|
+
/**
|
|
9256
|
+
*
|
|
9257
|
+
* @type {number}
|
|
9258
|
+
* @memberof Media
|
|
9259
|
+
*/
|
|
9260
|
+
'width'?: number;
|
|
9261
|
+
/**
|
|
9262
|
+
*
|
|
9263
|
+
* @type {number}
|
|
9264
|
+
* @memberof Media
|
|
9265
|
+
*/
|
|
9266
|
+
'order'?: number;
|
|
9267
|
+
}
|
|
8822
9268
|
/**
|
|
8823
9269
|
*
|
|
8824
9270
|
* @export
|
|
@@ -10149,6 +10595,31 @@ export interface ServiceReviewsModel {
|
|
|
10149
10595
|
*/
|
|
10150
10596
|
'metaData'?: PagedListMetaData;
|
|
10151
10597
|
}
|
|
10598
|
+
/**
|
|
10599
|
+
*
|
|
10600
|
+
* @export
|
|
10601
|
+
* @interface SnsHandle
|
|
10602
|
+
*/
|
|
10603
|
+
export interface SnsHandle {
|
|
10604
|
+
/**
|
|
10605
|
+
*
|
|
10606
|
+
* @type {string}
|
|
10607
|
+
* @memberof SnsHandle
|
|
10608
|
+
*/
|
|
10609
|
+
'id'?: string;
|
|
10610
|
+
/**
|
|
10611
|
+
*
|
|
10612
|
+
* @type {SnsType}
|
|
10613
|
+
* @memberof SnsHandle
|
|
10614
|
+
*/
|
|
10615
|
+
'snsType'?: SnsType;
|
|
10616
|
+
/**
|
|
10617
|
+
*
|
|
10618
|
+
* @type {string}
|
|
10619
|
+
* @memberof SnsHandle
|
|
10620
|
+
*/
|
|
10621
|
+
'handle'?: string | null;
|
|
10622
|
+
}
|
|
10152
10623
|
/**
|
|
10153
10624
|
*
|
|
10154
10625
|
* @export
|
|
@@ -10183,7 +10654,9 @@ export interface SnsHandleModel {
|
|
|
10183
10654
|
export enum SnsType {
|
|
10184
10655
|
Twitter = 'Twitter',
|
|
10185
10656
|
Facebook = 'Facebook',
|
|
10186
|
-
Instagram = 'Instagram'
|
|
10657
|
+
Instagram = 'Instagram',
|
|
10658
|
+
LinkedIn = 'LinkedIn',
|
|
10659
|
+
Youtube = 'Youtube'
|
|
10187
10660
|
}
|
|
10188
10661
|
|
|
10189
10662
|
/**
|
|
@@ -10307,6 +10780,12 @@ export interface SpecialtyItemModel {
|
|
|
10307
10780
|
* @memberof SpecialtyItemModel
|
|
10308
10781
|
*/
|
|
10309
10782
|
'specialtyTypeName'?: string | null;
|
|
10783
|
+
/**
|
|
10784
|
+
*
|
|
10785
|
+
* @type {Array<LocalizedUrlModel>}
|
|
10786
|
+
* @memberof SpecialtyItemModel
|
|
10787
|
+
*/
|
|
10788
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
10310
10789
|
/**
|
|
10311
10790
|
*
|
|
10312
10791
|
* @type {boolean}
|
|
@@ -10386,6 +10865,12 @@ export interface SpecialtyModel {
|
|
|
10386
10865
|
* @memberof SpecialtyModel
|
|
10387
10866
|
*/
|
|
10388
10867
|
'specialtyTypeName'?: string | null;
|
|
10868
|
+
/**
|
|
10869
|
+
*
|
|
10870
|
+
* @type {Array<LocalizedUrlModel>}
|
|
10871
|
+
* @memberof SpecialtyModel
|
|
10872
|
+
*/
|
|
10873
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
10389
10874
|
/**
|
|
10390
10875
|
*
|
|
10391
10876
|
* @type {boolean}
|
|
@@ -10892,6 +11377,91 @@ export interface TranslateCommand {
|
|
|
10892
11377
|
*/
|
|
10893
11378
|
'isHtml'?: boolean;
|
|
10894
11379
|
}
|
|
11380
|
+
/**
|
|
11381
|
+
*
|
|
11382
|
+
* @export
|
|
11383
|
+
* @interface UpdateAboutUsPageCommand
|
|
11384
|
+
*/
|
|
11385
|
+
export interface UpdateAboutUsPageCommand {
|
|
11386
|
+
/**
|
|
11387
|
+
*
|
|
11388
|
+
* @type {string}
|
|
11389
|
+
* @memberof UpdateAboutUsPageCommand
|
|
11390
|
+
*/
|
|
11391
|
+
'hospitalId'?: string;
|
|
11392
|
+
/**
|
|
11393
|
+
*
|
|
11394
|
+
* @type {string}
|
|
11395
|
+
* @memberof UpdateAboutUsPageCommand
|
|
11396
|
+
*/
|
|
11397
|
+
'hospitalName'?: string | null;
|
|
11398
|
+
/**
|
|
11399
|
+
*
|
|
11400
|
+
* @type {string}
|
|
11401
|
+
* @memberof UpdateAboutUsPageCommand
|
|
11402
|
+
*/
|
|
11403
|
+
'hospitalSlug'?: string | null;
|
|
11404
|
+
/**
|
|
11405
|
+
*
|
|
11406
|
+
* @type {string}
|
|
11407
|
+
* @memberof UpdateAboutUsPageCommand
|
|
11408
|
+
*/
|
|
11409
|
+
'overviewTitle'?: string | null;
|
|
11410
|
+
/**
|
|
11411
|
+
*
|
|
11412
|
+
* @type {string}
|
|
11413
|
+
* @memberof UpdateAboutUsPageCommand
|
|
11414
|
+
*/
|
|
11415
|
+
'overview'?: string | null;
|
|
11416
|
+
/**
|
|
11417
|
+
*
|
|
11418
|
+
* @type {string}
|
|
11419
|
+
* @memberof UpdateAboutUsPageCommand
|
|
11420
|
+
*/
|
|
11421
|
+
'content'?: string | null;
|
|
11422
|
+
/**
|
|
11423
|
+
*
|
|
11424
|
+
* @type {string}
|
|
11425
|
+
* @memberof UpdateAboutUsPageCommand
|
|
11426
|
+
*/
|
|
11427
|
+
'customStyle'?: string | null;
|
|
11428
|
+
/**
|
|
11429
|
+
*
|
|
11430
|
+
* @type {string}
|
|
11431
|
+
* @memberof UpdateAboutUsPageCommand
|
|
11432
|
+
*/
|
|
11433
|
+
'background'?: string | null;
|
|
11434
|
+
/**
|
|
11435
|
+
*
|
|
11436
|
+
* @type {string}
|
|
11437
|
+
* @memberof UpdateAboutUsPageCommand
|
|
11438
|
+
*/
|
|
11439
|
+
'backgroundThumbnail'?: string | null;
|
|
11440
|
+
/**
|
|
11441
|
+
*
|
|
11442
|
+
* @type {string}
|
|
11443
|
+
* @memberof UpdateAboutUsPageCommand
|
|
11444
|
+
*/
|
|
11445
|
+
'languageCode'?: string | null;
|
|
11446
|
+
/**
|
|
11447
|
+
*
|
|
11448
|
+
* @type {boolean}
|
|
11449
|
+
* @memberof UpdateAboutUsPageCommand
|
|
11450
|
+
*/
|
|
11451
|
+
'confirmed'?: boolean;
|
|
11452
|
+
/**
|
|
11453
|
+
*
|
|
11454
|
+
* @type {Array<Media>}
|
|
11455
|
+
* @memberof UpdateAboutUsPageCommand
|
|
11456
|
+
*/
|
|
11457
|
+
'medias'?: Array<Media> | null;
|
|
11458
|
+
/**
|
|
11459
|
+
*
|
|
11460
|
+
* @type {AuditableEntity}
|
|
11461
|
+
* @memberof UpdateAboutUsPageCommand
|
|
11462
|
+
*/
|
|
11463
|
+
'auditableEntity'?: AuditableEntity;
|
|
11464
|
+
}
|
|
10895
11465
|
/**
|
|
10896
11466
|
*
|
|
10897
11467
|
* @export
|
|
@@ -11928,6 +12498,24 @@ export interface UpdateHospitalCommand {
|
|
|
11928
12498
|
* @memberof UpdateHospitalCommand
|
|
11929
12499
|
*/
|
|
11930
12500
|
'websiteUrl'?: string | null;
|
|
12501
|
+
/**
|
|
12502
|
+
*
|
|
12503
|
+
* @type {string}
|
|
12504
|
+
* @memberof UpdateHospitalCommand
|
|
12505
|
+
*/
|
|
12506
|
+
'contactTel'?: string | null;
|
|
12507
|
+
/**
|
|
12508
|
+
*
|
|
12509
|
+
* @type {string}
|
|
12510
|
+
* @memberof UpdateHospitalCommand
|
|
12511
|
+
*/
|
|
12512
|
+
'contactEmail'?: string | null;
|
|
12513
|
+
/**
|
|
12514
|
+
*
|
|
12515
|
+
* @type {boolean}
|
|
12516
|
+
* @memberof UpdateHospitalCommand
|
|
12517
|
+
*/
|
|
12518
|
+
'paymentEnabled'?: boolean;
|
|
11931
12519
|
/**
|
|
11932
12520
|
*
|
|
11933
12521
|
* @type {boolean}
|
|
@@ -12081,6 +12669,25 @@ export interface UpdateHospitalServiceCommand {
|
|
|
12081
12669
|
*/
|
|
12082
12670
|
'medias'?: Array<MediaModel> | null;
|
|
12083
12671
|
}
|
|
12672
|
+
/**
|
|
12673
|
+
*
|
|
12674
|
+
* @export
|
|
12675
|
+
* @interface UpdateHospitalSnsHandleCommand
|
|
12676
|
+
*/
|
|
12677
|
+
export interface UpdateHospitalSnsHandleCommand {
|
|
12678
|
+
/**
|
|
12679
|
+
*
|
|
12680
|
+
* @type {SnsType}
|
|
12681
|
+
* @memberof UpdateHospitalSnsHandleCommand
|
|
12682
|
+
*/
|
|
12683
|
+
'snsType'?: SnsType;
|
|
12684
|
+
/**
|
|
12685
|
+
*
|
|
12686
|
+
* @type {string}
|
|
12687
|
+
* @memberof UpdateHospitalSnsHandleCommand
|
|
12688
|
+
*/
|
|
12689
|
+
'handle'?: string | null;
|
|
12690
|
+
}
|
|
12084
12691
|
/**
|
|
12085
12692
|
*
|
|
12086
12693
|
* @export
|
|
@@ -12166,6 +12773,37 @@ export interface UpdateHospitalSpecialtyCommand {
|
|
|
12166
12773
|
*/
|
|
12167
12774
|
'medias'?: Array<MediaModel> | null;
|
|
12168
12775
|
}
|
|
12776
|
+
/**
|
|
12777
|
+
*
|
|
12778
|
+
* @export
|
|
12779
|
+
* @interface UpdateHospitalWorkingDayCommand
|
|
12780
|
+
*/
|
|
12781
|
+
export interface UpdateHospitalWorkingDayCommand {
|
|
12782
|
+
/**
|
|
12783
|
+
*
|
|
12784
|
+
* @type {string}
|
|
12785
|
+
* @memberof UpdateHospitalWorkingDayCommand
|
|
12786
|
+
*/
|
|
12787
|
+
'dayOfWeek'?: string | null;
|
|
12788
|
+
/**
|
|
12789
|
+
*
|
|
12790
|
+
* @type {Date}
|
|
12791
|
+
* @memberof UpdateHospitalWorkingDayCommand
|
|
12792
|
+
*/
|
|
12793
|
+
'timeFrom'?: Date;
|
|
12794
|
+
/**
|
|
12795
|
+
*
|
|
12796
|
+
* @type {Date}
|
|
12797
|
+
* @memberof UpdateHospitalWorkingDayCommand
|
|
12798
|
+
*/
|
|
12799
|
+
'timeTo'?: Date;
|
|
12800
|
+
/**
|
|
12801
|
+
*
|
|
12802
|
+
* @type {boolean}
|
|
12803
|
+
* @memberof UpdateHospitalWorkingDayCommand
|
|
12804
|
+
*/
|
|
12805
|
+
'checkHoliday'?: boolean;
|
|
12806
|
+
}
|
|
12169
12807
|
/**
|
|
12170
12808
|
*
|
|
12171
12809
|
* @export
|
|
@@ -12988,6 +13626,758 @@ export interface WeatherForecast {
|
|
|
12988
13626
|
*/
|
|
12989
13627
|
'summary'?: string | null;
|
|
12990
13628
|
}
|
|
13629
|
+
/**
|
|
13630
|
+
*
|
|
13631
|
+
* @export
|
|
13632
|
+
* @interface WorkingDay
|
|
13633
|
+
*/
|
|
13634
|
+
export interface WorkingDay {
|
|
13635
|
+
/**
|
|
13636
|
+
*
|
|
13637
|
+
* @type {string}
|
|
13638
|
+
* @memberof WorkingDay
|
|
13639
|
+
*/
|
|
13640
|
+
'id'?: string;
|
|
13641
|
+
/**
|
|
13642
|
+
*
|
|
13643
|
+
* @type {string}
|
|
13644
|
+
* @memberof WorkingDay
|
|
13645
|
+
*/
|
|
13646
|
+
'dayOfWeek'?: string | null;
|
|
13647
|
+
/**
|
|
13648
|
+
*
|
|
13649
|
+
* @type {Date}
|
|
13650
|
+
* @memberof WorkingDay
|
|
13651
|
+
*/
|
|
13652
|
+
'timeFrom'?: Date;
|
|
13653
|
+
/**
|
|
13654
|
+
*
|
|
13655
|
+
* @type {Date}
|
|
13656
|
+
* @memberof WorkingDay
|
|
13657
|
+
*/
|
|
13658
|
+
'timeTo'?: Date;
|
|
13659
|
+
/**
|
|
13660
|
+
*
|
|
13661
|
+
* @type {boolean}
|
|
13662
|
+
* @memberof WorkingDay
|
|
13663
|
+
*/
|
|
13664
|
+
'checkHoliday'?: boolean;
|
|
13665
|
+
}
|
|
13666
|
+
/**
|
|
13667
|
+
*
|
|
13668
|
+
* @export
|
|
13669
|
+
* @interface WorkingDayItemModel
|
|
13670
|
+
*/
|
|
13671
|
+
export interface WorkingDayItemModel {
|
|
13672
|
+
/**
|
|
13673
|
+
*
|
|
13674
|
+
* @type {string}
|
|
13675
|
+
* @memberof WorkingDayItemModel
|
|
13676
|
+
*/
|
|
13677
|
+
'id'?: string;
|
|
13678
|
+
/**
|
|
13679
|
+
*
|
|
13680
|
+
* @type {string}
|
|
13681
|
+
* @memberof WorkingDayItemModel
|
|
13682
|
+
*/
|
|
13683
|
+
'dayOfWeek'?: string | null;
|
|
13684
|
+
/**
|
|
13685
|
+
*
|
|
13686
|
+
* @type {Date}
|
|
13687
|
+
* @memberof WorkingDayItemModel
|
|
13688
|
+
*/
|
|
13689
|
+
'timeFrom'?: Date;
|
|
13690
|
+
/**
|
|
13691
|
+
*
|
|
13692
|
+
* @type {Date}
|
|
13693
|
+
* @memberof WorkingDayItemModel
|
|
13694
|
+
*/
|
|
13695
|
+
'timeTo'?: Date;
|
|
13696
|
+
/**
|
|
13697
|
+
*
|
|
13698
|
+
* @type {boolean}
|
|
13699
|
+
* @memberof WorkingDayItemModel
|
|
13700
|
+
*/
|
|
13701
|
+
'checkHoliday'?: boolean;
|
|
13702
|
+
}
|
|
13703
|
+
/**
|
|
13704
|
+
*
|
|
13705
|
+
* @export
|
|
13706
|
+
* @interface WorkingDayModel
|
|
13707
|
+
*/
|
|
13708
|
+
export interface WorkingDayModel {
|
|
13709
|
+
/**
|
|
13710
|
+
*
|
|
13711
|
+
* @type {string}
|
|
13712
|
+
* @memberof WorkingDayModel
|
|
13713
|
+
*/
|
|
13714
|
+
'id'?: string;
|
|
13715
|
+
/**
|
|
13716
|
+
*
|
|
13717
|
+
* @type {string}
|
|
13718
|
+
* @memberof WorkingDayModel
|
|
13719
|
+
*/
|
|
13720
|
+
'dayOfWeek'?: string | null;
|
|
13721
|
+
/**
|
|
13722
|
+
*
|
|
13723
|
+
* @type {Date}
|
|
13724
|
+
* @memberof WorkingDayModel
|
|
13725
|
+
*/
|
|
13726
|
+
'timeFrom'?: Date;
|
|
13727
|
+
/**
|
|
13728
|
+
*
|
|
13729
|
+
* @type {Date}
|
|
13730
|
+
* @memberof WorkingDayModel
|
|
13731
|
+
*/
|
|
13732
|
+
'timeTo'?: Date;
|
|
13733
|
+
/**
|
|
13734
|
+
*
|
|
13735
|
+
* @type {boolean}
|
|
13736
|
+
* @memberof WorkingDayModel
|
|
13737
|
+
*/
|
|
13738
|
+
'checkHoliday'?: boolean;
|
|
13739
|
+
}
|
|
13740
|
+
/**
|
|
13741
|
+
*
|
|
13742
|
+
* @export
|
|
13743
|
+
* @interface WorkingDaysModel
|
|
13744
|
+
*/
|
|
13745
|
+
export interface WorkingDaysModel {
|
|
13746
|
+
/**
|
|
13747
|
+
*
|
|
13748
|
+
* @type {Array<WorkingDayItemModel>}
|
|
13749
|
+
* @memberof WorkingDaysModel
|
|
13750
|
+
*/
|
|
13751
|
+
'items'?: Array<WorkingDayItemModel> | null;
|
|
13752
|
+
/**
|
|
13753
|
+
*
|
|
13754
|
+
* @type {PagedListMetaData}
|
|
13755
|
+
* @memberof WorkingDaysModel
|
|
13756
|
+
*/
|
|
13757
|
+
'metaData'?: PagedListMetaData;
|
|
13758
|
+
}
|
|
13759
|
+
|
|
13760
|
+
/**
|
|
13761
|
+
* AboutUsApi - axios parameter creator
|
|
13762
|
+
* @export
|
|
13763
|
+
*/
|
|
13764
|
+
export const AboutUsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
13765
|
+
return {
|
|
13766
|
+
/**
|
|
13767
|
+
*
|
|
13768
|
+
* @summary Get all AboutUsList.
|
|
13769
|
+
* @param {string} [hospitalId]
|
|
13770
|
+
* @param {string} [hospitalName]
|
|
13771
|
+
* @param {string} [hospitalSlug]
|
|
13772
|
+
* @param {string} [overviewTitle]
|
|
13773
|
+
* @param {string} [normalizedOverviewTitle]
|
|
13774
|
+
* @param {string} [overview]
|
|
13775
|
+
* @param {string} [content]
|
|
13776
|
+
* @param {string} [customStyle]
|
|
13777
|
+
* @param {string} [background]
|
|
13778
|
+
* @param {string} [backgroundThumbnail]
|
|
13779
|
+
* @param {string} [languageCode]
|
|
13780
|
+
* @param {boolean} [returnDefaultValue]
|
|
13781
|
+
* @param {boolean} [confirmed]
|
|
13782
|
+
* @param {number} [page]
|
|
13783
|
+
* @param {number} [limit]
|
|
13784
|
+
* @param {Date} [lastRetrieved]
|
|
13785
|
+
* @param {*} [options] Override http request option.
|
|
13786
|
+
* @throws {RequiredError}
|
|
13787
|
+
*/
|
|
13788
|
+
apiV1AboutusGet: async (hospitalId?: string, hospitalName?: string, hospitalSlug?: string, overviewTitle?: string, normalizedOverviewTitle?: string, overview?: string, content?: string, customStyle?: string, background?: string, backgroundThumbnail?: string, languageCode?: string, returnDefaultValue?: boolean, confirmed?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13789
|
+
const localVarPath = `/api/v1/aboutus`;
|
|
13790
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13791
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13792
|
+
let baseOptions;
|
|
13793
|
+
if (configuration) {
|
|
13794
|
+
baseOptions = configuration.baseOptions;
|
|
13795
|
+
}
|
|
13796
|
+
|
|
13797
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
13798
|
+
const localVarHeaderParameter = {} as any;
|
|
13799
|
+
const localVarQueryParameter = {} as any;
|
|
13800
|
+
|
|
13801
|
+
// authentication oauth2 required
|
|
13802
|
+
// oauth required
|
|
13803
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
13804
|
+
|
|
13805
|
+
if (hospitalId !== undefined) {
|
|
13806
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
13807
|
+
}
|
|
13808
|
+
|
|
13809
|
+
if (hospitalName !== undefined) {
|
|
13810
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
13811
|
+
}
|
|
13812
|
+
|
|
13813
|
+
if (hospitalSlug !== undefined) {
|
|
13814
|
+
localVarQueryParameter['HospitalSlug'] = hospitalSlug;
|
|
13815
|
+
}
|
|
13816
|
+
|
|
13817
|
+
if (overviewTitle !== undefined) {
|
|
13818
|
+
localVarQueryParameter['OverviewTitle'] = overviewTitle;
|
|
13819
|
+
}
|
|
13820
|
+
|
|
13821
|
+
if (normalizedOverviewTitle !== undefined) {
|
|
13822
|
+
localVarQueryParameter['NormalizedOverviewTitle'] = normalizedOverviewTitle;
|
|
13823
|
+
}
|
|
13824
|
+
|
|
13825
|
+
if (overview !== undefined) {
|
|
13826
|
+
localVarQueryParameter['Overview'] = overview;
|
|
13827
|
+
}
|
|
13828
|
+
|
|
13829
|
+
if (content !== undefined) {
|
|
13830
|
+
localVarQueryParameter['Content'] = content;
|
|
13831
|
+
}
|
|
13832
|
+
|
|
13833
|
+
if (customStyle !== undefined) {
|
|
13834
|
+
localVarQueryParameter['CustomStyle'] = customStyle;
|
|
13835
|
+
}
|
|
13836
|
+
|
|
13837
|
+
if (background !== undefined) {
|
|
13838
|
+
localVarQueryParameter['Background'] = background;
|
|
13839
|
+
}
|
|
13840
|
+
|
|
13841
|
+
if (backgroundThumbnail !== undefined) {
|
|
13842
|
+
localVarQueryParameter['BackgroundThumbnail'] = backgroundThumbnail;
|
|
13843
|
+
}
|
|
13844
|
+
|
|
13845
|
+
if (languageCode !== undefined) {
|
|
13846
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
13847
|
+
}
|
|
13848
|
+
|
|
13849
|
+
if (returnDefaultValue !== undefined) {
|
|
13850
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
13851
|
+
}
|
|
13852
|
+
|
|
13853
|
+
if (confirmed !== undefined) {
|
|
13854
|
+
localVarQueryParameter['Confirmed'] = confirmed;
|
|
13855
|
+
}
|
|
13856
|
+
|
|
13857
|
+
if (page !== undefined) {
|
|
13858
|
+
localVarQueryParameter['page'] = page;
|
|
13859
|
+
}
|
|
13860
|
+
|
|
13861
|
+
if (limit !== undefined) {
|
|
13862
|
+
localVarQueryParameter['limit'] = limit;
|
|
13863
|
+
}
|
|
13864
|
+
|
|
13865
|
+
if (lastRetrieved !== undefined) {
|
|
13866
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
13867
|
+
(lastRetrieved as any).toISOString() :
|
|
13868
|
+
lastRetrieved;
|
|
13869
|
+
}
|
|
13870
|
+
|
|
13871
|
+
|
|
13872
|
+
|
|
13873
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13874
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13875
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13876
|
+
|
|
13877
|
+
return {
|
|
13878
|
+
url: toPathString(localVarUrlObj),
|
|
13879
|
+
options: localVarRequestOptions,
|
|
13880
|
+
};
|
|
13881
|
+
},
|
|
13882
|
+
/**
|
|
13883
|
+
*
|
|
13884
|
+
* @summary Delete AboutUs.
|
|
13885
|
+
* @param {string} hospitalId
|
|
13886
|
+
* @param {*} [options] Override http request option.
|
|
13887
|
+
* @throws {RequiredError}
|
|
13888
|
+
*/
|
|
13889
|
+
apiV1AboutusHospitalIdDelete: async (hospitalId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13890
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
13891
|
+
assertParamExists('apiV1AboutusHospitalIdDelete', 'hospitalId', hospitalId)
|
|
13892
|
+
const localVarPath = `/api/v1/aboutus/{hospitalId}`
|
|
13893
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
13894
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13895
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13896
|
+
let baseOptions;
|
|
13897
|
+
if (configuration) {
|
|
13898
|
+
baseOptions = configuration.baseOptions;
|
|
13899
|
+
}
|
|
13900
|
+
|
|
13901
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
13902
|
+
const localVarHeaderParameter = {} as any;
|
|
13903
|
+
const localVarQueryParameter = {} as any;
|
|
13904
|
+
|
|
13905
|
+
// authentication oauth2 required
|
|
13906
|
+
// oauth required
|
|
13907
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
13908
|
+
|
|
13909
|
+
|
|
13910
|
+
|
|
13911
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13912
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13913
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13914
|
+
|
|
13915
|
+
return {
|
|
13916
|
+
url: toPathString(localVarUrlObj),
|
|
13917
|
+
options: localVarRequestOptions,
|
|
13918
|
+
};
|
|
13919
|
+
},
|
|
13920
|
+
/**
|
|
13921
|
+
*
|
|
13922
|
+
* @summary Get AboutUs.
|
|
13923
|
+
* @param {string} hospitalId
|
|
13924
|
+
* @param {string} [languageCode]
|
|
13925
|
+
* @param {boolean} [returnDefaultValue]
|
|
13926
|
+
* @param {*} [options] Override http request option.
|
|
13927
|
+
* @throws {RequiredError}
|
|
13928
|
+
*/
|
|
13929
|
+
apiV1AboutusHospitalIdGet: async (hospitalId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13930
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
13931
|
+
assertParamExists('apiV1AboutusHospitalIdGet', 'hospitalId', hospitalId)
|
|
13932
|
+
const localVarPath = `/api/v1/aboutus/{hospitalId}`
|
|
13933
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
13934
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13935
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13936
|
+
let baseOptions;
|
|
13937
|
+
if (configuration) {
|
|
13938
|
+
baseOptions = configuration.baseOptions;
|
|
13939
|
+
}
|
|
13940
|
+
|
|
13941
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
13942
|
+
const localVarHeaderParameter = {} as any;
|
|
13943
|
+
const localVarQueryParameter = {} as any;
|
|
13944
|
+
|
|
13945
|
+
// authentication oauth2 required
|
|
13946
|
+
// oauth required
|
|
13947
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
13948
|
+
|
|
13949
|
+
if (languageCode !== undefined) {
|
|
13950
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
13951
|
+
}
|
|
13952
|
+
|
|
13953
|
+
if (returnDefaultValue !== undefined) {
|
|
13954
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
13955
|
+
}
|
|
13956
|
+
|
|
13957
|
+
|
|
13958
|
+
|
|
13959
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13960
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13961
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13962
|
+
|
|
13963
|
+
return {
|
|
13964
|
+
url: toPathString(localVarUrlObj),
|
|
13965
|
+
options: localVarRequestOptions,
|
|
13966
|
+
};
|
|
13967
|
+
},
|
|
13968
|
+
/**
|
|
13969
|
+
*
|
|
13970
|
+
* @summary Update AboutUs.
|
|
13971
|
+
* @param {string} hospitalId
|
|
13972
|
+
* @param {UpdateAboutUsPageCommand} [updateAboutUsPageCommand]
|
|
13973
|
+
* @param {*} [options] Override http request option.
|
|
13974
|
+
* @throws {RequiredError}
|
|
13975
|
+
*/
|
|
13976
|
+
apiV1AboutusHospitalIdPut: async (hospitalId: string, updateAboutUsPageCommand?: UpdateAboutUsPageCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13977
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
13978
|
+
assertParamExists('apiV1AboutusHospitalIdPut', 'hospitalId', hospitalId)
|
|
13979
|
+
const localVarPath = `/api/v1/aboutus/{hospitalId}`
|
|
13980
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
13981
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13982
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13983
|
+
let baseOptions;
|
|
13984
|
+
if (configuration) {
|
|
13985
|
+
baseOptions = configuration.baseOptions;
|
|
13986
|
+
}
|
|
13987
|
+
|
|
13988
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
13989
|
+
const localVarHeaderParameter = {} as any;
|
|
13990
|
+
const localVarQueryParameter = {} as any;
|
|
13991
|
+
|
|
13992
|
+
// authentication oauth2 required
|
|
13993
|
+
// oauth required
|
|
13994
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
13995
|
+
|
|
13996
|
+
|
|
13997
|
+
|
|
13998
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13999
|
+
|
|
14000
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14001
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14002
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14003
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateAboutUsPageCommand, localVarRequestOptions, configuration)
|
|
14004
|
+
|
|
14005
|
+
return {
|
|
14006
|
+
url: toPathString(localVarUrlObj),
|
|
14007
|
+
options: localVarRequestOptions,
|
|
14008
|
+
};
|
|
14009
|
+
},
|
|
14010
|
+
/**
|
|
14011
|
+
*
|
|
14012
|
+
* @summary Create AboutUs.
|
|
14013
|
+
* @param {CreateAboutUsPageCommand} [createAboutUsPageCommand]
|
|
14014
|
+
* @param {*} [options] Override http request option.
|
|
14015
|
+
* @throws {RequiredError}
|
|
14016
|
+
*/
|
|
14017
|
+
apiV1AboutusPost: async (createAboutUsPageCommand?: CreateAboutUsPageCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14018
|
+
const localVarPath = `/api/v1/aboutus`;
|
|
14019
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14020
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14021
|
+
let baseOptions;
|
|
14022
|
+
if (configuration) {
|
|
14023
|
+
baseOptions = configuration.baseOptions;
|
|
14024
|
+
}
|
|
14025
|
+
|
|
14026
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
14027
|
+
const localVarHeaderParameter = {} as any;
|
|
14028
|
+
const localVarQueryParameter = {} as any;
|
|
14029
|
+
|
|
14030
|
+
// authentication oauth2 required
|
|
14031
|
+
// oauth required
|
|
14032
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
14033
|
+
|
|
14034
|
+
|
|
14035
|
+
|
|
14036
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14037
|
+
|
|
14038
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14039
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14040
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14041
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createAboutUsPageCommand, localVarRequestOptions, configuration)
|
|
14042
|
+
|
|
14043
|
+
return {
|
|
14044
|
+
url: toPathString(localVarUrlObj),
|
|
14045
|
+
options: localVarRequestOptions,
|
|
14046
|
+
};
|
|
14047
|
+
},
|
|
14048
|
+
/**
|
|
14049
|
+
*
|
|
14050
|
+
* @param {string} slug
|
|
14051
|
+
* @param {string} [languageCode]
|
|
14052
|
+
* @param {boolean} [returnDefaultValue]
|
|
14053
|
+
* @param {*} [options] Override http request option.
|
|
14054
|
+
* @throws {RequiredError}
|
|
14055
|
+
*/
|
|
14056
|
+
apiV1AboutusSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14057
|
+
// verify required parameter 'slug' is not null or undefined
|
|
14058
|
+
assertParamExists('apiV1AboutusSlugGet', 'slug', slug)
|
|
14059
|
+
const localVarPath = `/api/v1/aboutus/{slug}`
|
|
14060
|
+
.replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
|
|
14061
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14062
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14063
|
+
let baseOptions;
|
|
14064
|
+
if (configuration) {
|
|
14065
|
+
baseOptions = configuration.baseOptions;
|
|
14066
|
+
}
|
|
14067
|
+
|
|
14068
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
14069
|
+
const localVarHeaderParameter = {} as any;
|
|
14070
|
+
const localVarQueryParameter = {} as any;
|
|
14071
|
+
|
|
14072
|
+
// authentication oauth2 required
|
|
14073
|
+
// oauth required
|
|
14074
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
14075
|
+
|
|
14076
|
+
if (languageCode !== undefined) {
|
|
14077
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
14078
|
+
}
|
|
14079
|
+
|
|
14080
|
+
if (returnDefaultValue !== undefined) {
|
|
14081
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
14082
|
+
}
|
|
14083
|
+
|
|
14084
|
+
|
|
14085
|
+
|
|
14086
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14087
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14088
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14089
|
+
|
|
14090
|
+
return {
|
|
14091
|
+
url: toPathString(localVarUrlObj),
|
|
14092
|
+
options: localVarRequestOptions,
|
|
14093
|
+
};
|
|
14094
|
+
},
|
|
14095
|
+
}
|
|
14096
|
+
};
|
|
14097
|
+
|
|
14098
|
+
/**
|
|
14099
|
+
* AboutUsApi - functional programming interface
|
|
14100
|
+
* @export
|
|
14101
|
+
*/
|
|
14102
|
+
export const AboutUsApiFp = function(configuration?: Configuration) {
|
|
14103
|
+
const localVarAxiosParamCreator = AboutUsApiAxiosParamCreator(configuration)
|
|
14104
|
+
return {
|
|
14105
|
+
/**
|
|
14106
|
+
*
|
|
14107
|
+
* @summary Get all AboutUsList.
|
|
14108
|
+
* @param {string} [hospitalId]
|
|
14109
|
+
* @param {string} [hospitalName]
|
|
14110
|
+
* @param {string} [hospitalSlug]
|
|
14111
|
+
* @param {string} [overviewTitle]
|
|
14112
|
+
* @param {string} [normalizedOverviewTitle]
|
|
14113
|
+
* @param {string} [overview]
|
|
14114
|
+
* @param {string} [content]
|
|
14115
|
+
* @param {string} [customStyle]
|
|
14116
|
+
* @param {string} [background]
|
|
14117
|
+
* @param {string} [backgroundThumbnail]
|
|
14118
|
+
* @param {string} [languageCode]
|
|
14119
|
+
* @param {boolean} [returnDefaultValue]
|
|
14120
|
+
* @param {boolean} [confirmed]
|
|
14121
|
+
* @param {number} [page]
|
|
14122
|
+
* @param {number} [limit]
|
|
14123
|
+
* @param {Date} [lastRetrieved]
|
|
14124
|
+
* @param {*} [options] Override http request option.
|
|
14125
|
+
* @throws {RequiredError}
|
|
14126
|
+
*/
|
|
14127
|
+
async apiV1AboutusGet(hospitalId?: string, hospitalName?: string, hospitalSlug?: string, overviewTitle?: string, normalizedOverviewTitle?: string, overview?: string, content?: string, customStyle?: string, background?: string, backgroundThumbnail?: string, languageCode?: string, returnDefaultValue?: boolean, confirmed?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AboutUsPagesModel>> {
|
|
14128
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AboutusGet(hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options);
|
|
14129
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
14130
|
+
},
|
|
14131
|
+
/**
|
|
14132
|
+
*
|
|
14133
|
+
* @summary Delete AboutUs.
|
|
14134
|
+
* @param {string} hospitalId
|
|
14135
|
+
* @param {*} [options] Override http request option.
|
|
14136
|
+
* @throws {RequiredError}
|
|
14137
|
+
*/
|
|
14138
|
+
async apiV1AboutusHospitalIdDelete(hospitalId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
14139
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AboutusHospitalIdDelete(hospitalId, options);
|
|
14140
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
14141
|
+
},
|
|
14142
|
+
/**
|
|
14143
|
+
*
|
|
14144
|
+
* @summary Get AboutUs.
|
|
14145
|
+
* @param {string} hospitalId
|
|
14146
|
+
* @param {string} [languageCode]
|
|
14147
|
+
* @param {boolean} [returnDefaultValue]
|
|
14148
|
+
* @param {*} [options] Override http request option.
|
|
14149
|
+
* @throws {RequiredError}
|
|
14150
|
+
*/
|
|
14151
|
+
async apiV1AboutusHospitalIdGet(hospitalId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AboutUsPageModel>> {
|
|
14152
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AboutusHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options);
|
|
14153
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
14154
|
+
},
|
|
14155
|
+
/**
|
|
14156
|
+
*
|
|
14157
|
+
* @summary Update AboutUs.
|
|
14158
|
+
* @param {string} hospitalId
|
|
14159
|
+
* @param {UpdateAboutUsPageCommand} [updateAboutUsPageCommand]
|
|
14160
|
+
* @param {*} [options] Override http request option.
|
|
14161
|
+
* @throws {RequiredError}
|
|
14162
|
+
*/
|
|
14163
|
+
async apiV1AboutusHospitalIdPut(hospitalId: string, updateAboutUsPageCommand?: UpdateAboutUsPageCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AboutUsPageModel>> {
|
|
14164
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AboutusHospitalIdPut(hospitalId, updateAboutUsPageCommand, options);
|
|
14165
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
14166
|
+
},
|
|
14167
|
+
/**
|
|
14168
|
+
*
|
|
14169
|
+
* @summary Create AboutUs.
|
|
14170
|
+
* @param {CreateAboutUsPageCommand} [createAboutUsPageCommand]
|
|
14171
|
+
* @param {*} [options] Override http request option.
|
|
14172
|
+
* @throws {RequiredError}
|
|
14173
|
+
*/
|
|
14174
|
+
async apiV1AboutusPost(createAboutUsPageCommand?: CreateAboutUsPageCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AboutUsPageModel>> {
|
|
14175
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AboutusPost(createAboutUsPageCommand, options);
|
|
14176
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
14177
|
+
},
|
|
14178
|
+
/**
|
|
14179
|
+
*
|
|
14180
|
+
* @param {string} slug
|
|
14181
|
+
* @param {string} [languageCode]
|
|
14182
|
+
* @param {boolean} [returnDefaultValue]
|
|
14183
|
+
* @param {*} [options] Override http request option.
|
|
14184
|
+
* @throws {RequiredError}
|
|
14185
|
+
*/
|
|
14186
|
+
async apiV1AboutusSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AboutUsPageModel>> {
|
|
14187
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AboutusSlugGet(slug, languageCode, returnDefaultValue, options);
|
|
14188
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
14189
|
+
},
|
|
14190
|
+
}
|
|
14191
|
+
};
|
|
14192
|
+
|
|
14193
|
+
/**
|
|
14194
|
+
* AboutUsApi - factory interface
|
|
14195
|
+
* @export
|
|
14196
|
+
*/
|
|
14197
|
+
export const AboutUsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
14198
|
+
const localVarFp = AboutUsApiFp(configuration)
|
|
14199
|
+
return {
|
|
14200
|
+
/**
|
|
14201
|
+
*
|
|
14202
|
+
* @summary Get all AboutUsList.
|
|
14203
|
+
* @param {string} [hospitalId]
|
|
14204
|
+
* @param {string} [hospitalName]
|
|
14205
|
+
* @param {string} [hospitalSlug]
|
|
14206
|
+
* @param {string} [overviewTitle]
|
|
14207
|
+
* @param {string} [normalizedOverviewTitle]
|
|
14208
|
+
* @param {string} [overview]
|
|
14209
|
+
* @param {string} [content]
|
|
14210
|
+
* @param {string} [customStyle]
|
|
14211
|
+
* @param {string} [background]
|
|
14212
|
+
* @param {string} [backgroundThumbnail]
|
|
14213
|
+
* @param {string} [languageCode]
|
|
14214
|
+
* @param {boolean} [returnDefaultValue]
|
|
14215
|
+
* @param {boolean} [confirmed]
|
|
14216
|
+
* @param {number} [page]
|
|
14217
|
+
* @param {number} [limit]
|
|
14218
|
+
* @param {Date} [lastRetrieved]
|
|
14219
|
+
* @param {*} [options] Override http request option.
|
|
14220
|
+
* @throws {RequiredError}
|
|
14221
|
+
*/
|
|
14222
|
+
apiV1AboutusGet(hospitalId?: string, hospitalName?: string, hospitalSlug?: string, overviewTitle?: string, normalizedOverviewTitle?: string, overview?: string, content?: string, customStyle?: string, background?: string, backgroundThumbnail?: string, languageCode?: string, returnDefaultValue?: boolean, confirmed?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<AboutUsPagesModel> {
|
|
14223
|
+
return localVarFp.apiV1AboutusGet(hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
14224
|
+
},
|
|
14225
|
+
/**
|
|
14226
|
+
*
|
|
14227
|
+
* @summary Delete AboutUs.
|
|
14228
|
+
* @param {string} hospitalId
|
|
14229
|
+
* @param {*} [options] Override http request option.
|
|
14230
|
+
* @throws {RequiredError}
|
|
14231
|
+
*/
|
|
14232
|
+
apiV1AboutusHospitalIdDelete(hospitalId: string, options?: any): AxiosPromise<boolean> {
|
|
14233
|
+
return localVarFp.apiV1AboutusHospitalIdDelete(hospitalId, options).then((request) => request(axios, basePath));
|
|
14234
|
+
},
|
|
14235
|
+
/**
|
|
14236
|
+
*
|
|
14237
|
+
* @summary Get AboutUs.
|
|
14238
|
+
* @param {string} hospitalId
|
|
14239
|
+
* @param {string} [languageCode]
|
|
14240
|
+
* @param {boolean} [returnDefaultValue]
|
|
14241
|
+
* @param {*} [options] Override http request option.
|
|
14242
|
+
* @throws {RequiredError}
|
|
14243
|
+
*/
|
|
14244
|
+
apiV1AboutusHospitalIdGet(hospitalId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<AboutUsPageModel> {
|
|
14245
|
+
return localVarFp.apiV1AboutusHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
14246
|
+
},
|
|
14247
|
+
/**
|
|
14248
|
+
*
|
|
14249
|
+
* @summary Update AboutUs.
|
|
14250
|
+
* @param {string} hospitalId
|
|
14251
|
+
* @param {UpdateAboutUsPageCommand} [updateAboutUsPageCommand]
|
|
14252
|
+
* @param {*} [options] Override http request option.
|
|
14253
|
+
* @throws {RequiredError}
|
|
14254
|
+
*/
|
|
14255
|
+
apiV1AboutusHospitalIdPut(hospitalId: string, updateAboutUsPageCommand?: UpdateAboutUsPageCommand, options?: any): AxiosPromise<AboutUsPageModel> {
|
|
14256
|
+
return localVarFp.apiV1AboutusHospitalIdPut(hospitalId, updateAboutUsPageCommand, options).then((request) => request(axios, basePath));
|
|
14257
|
+
},
|
|
14258
|
+
/**
|
|
14259
|
+
*
|
|
14260
|
+
* @summary Create AboutUs.
|
|
14261
|
+
* @param {CreateAboutUsPageCommand} [createAboutUsPageCommand]
|
|
14262
|
+
* @param {*} [options] Override http request option.
|
|
14263
|
+
* @throws {RequiredError}
|
|
14264
|
+
*/
|
|
14265
|
+
apiV1AboutusPost(createAboutUsPageCommand?: CreateAboutUsPageCommand, options?: any): AxiosPromise<AboutUsPageModel> {
|
|
14266
|
+
return localVarFp.apiV1AboutusPost(createAboutUsPageCommand, options).then((request) => request(axios, basePath));
|
|
14267
|
+
},
|
|
14268
|
+
/**
|
|
14269
|
+
*
|
|
14270
|
+
* @param {string} slug
|
|
14271
|
+
* @param {string} [languageCode]
|
|
14272
|
+
* @param {boolean} [returnDefaultValue]
|
|
14273
|
+
* @param {*} [options] Override http request option.
|
|
14274
|
+
* @throws {RequiredError}
|
|
14275
|
+
*/
|
|
14276
|
+
apiV1AboutusSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<AboutUsPageModel> {
|
|
14277
|
+
return localVarFp.apiV1AboutusSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
14278
|
+
},
|
|
14279
|
+
};
|
|
14280
|
+
};
|
|
14281
|
+
|
|
14282
|
+
/**
|
|
14283
|
+
* AboutUsApi - object-oriented interface
|
|
14284
|
+
* @export
|
|
14285
|
+
* @class AboutUsApi
|
|
14286
|
+
* @extends {BaseAPI}
|
|
14287
|
+
*/
|
|
14288
|
+
export class AboutUsApi extends BaseAPI {
|
|
14289
|
+
/**
|
|
14290
|
+
*
|
|
14291
|
+
* @summary Get all AboutUsList.
|
|
14292
|
+
* @param {string} [hospitalId]
|
|
14293
|
+
* @param {string} [hospitalName]
|
|
14294
|
+
* @param {string} [hospitalSlug]
|
|
14295
|
+
* @param {string} [overviewTitle]
|
|
14296
|
+
* @param {string} [normalizedOverviewTitle]
|
|
14297
|
+
* @param {string} [overview]
|
|
14298
|
+
* @param {string} [content]
|
|
14299
|
+
* @param {string} [customStyle]
|
|
14300
|
+
* @param {string} [background]
|
|
14301
|
+
* @param {string} [backgroundThumbnail]
|
|
14302
|
+
* @param {string} [languageCode]
|
|
14303
|
+
* @param {boolean} [returnDefaultValue]
|
|
14304
|
+
* @param {boolean} [confirmed]
|
|
14305
|
+
* @param {number} [page]
|
|
14306
|
+
* @param {number} [limit]
|
|
14307
|
+
* @param {Date} [lastRetrieved]
|
|
14308
|
+
* @param {*} [options] Override http request option.
|
|
14309
|
+
* @throws {RequiredError}
|
|
14310
|
+
* @memberof AboutUsApi
|
|
14311
|
+
*/
|
|
14312
|
+
public apiV1AboutusGet(hospitalId?: string, hospitalName?: string, hospitalSlug?: string, overviewTitle?: string, normalizedOverviewTitle?: string, overview?: string, content?: string, customStyle?: string, background?: string, backgroundThumbnail?: string, languageCode?: string, returnDefaultValue?: boolean, confirmed?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
14313
|
+
return AboutUsApiFp(this.configuration).apiV1AboutusGet(hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
14314
|
+
}
|
|
14315
|
+
|
|
14316
|
+
/**
|
|
14317
|
+
*
|
|
14318
|
+
* @summary Delete AboutUs.
|
|
14319
|
+
* @param {string} hospitalId
|
|
14320
|
+
* @param {*} [options] Override http request option.
|
|
14321
|
+
* @throws {RequiredError}
|
|
14322
|
+
* @memberof AboutUsApi
|
|
14323
|
+
*/
|
|
14324
|
+
public apiV1AboutusHospitalIdDelete(hospitalId: string, options?: AxiosRequestConfig) {
|
|
14325
|
+
return AboutUsApiFp(this.configuration).apiV1AboutusHospitalIdDelete(hospitalId, options).then((request) => request(this.axios, this.basePath));
|
|
14326
|
+
}
|
|
14327
|
+
|
|
14328
|
+
/**
|
|
14329
|
+
*
|
|
14330
|
+
* @summary Get AboutUs.
|
|
14331
|
+
* @param {string} hospitalId
|
|
14332
|
+
* @param {string} [languageCode]
|
|
14333
|
+
* @param {boolean} [returnDefaultValue]
|
|
14334
|
+
* @param {*} [options] Override http request option.
|
|
14335
|
+
* @throws {RequiredError}
|
|
14336
|
+
* @memberof AboutUsApi
|
|
14337
|
+
*/
|
|
14338
|
+
public apiV1AboutusHospitalIdGet(hospitalId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
14339
|
+
return AboutUsApiFp(this.configuration).apiV1AboutusHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
14340
|
+
}
|
|
14341
|
+
|
|
14342
|
+
/**
|
|
14343
|
+
*
|
|
14344
|
+
* @summary Update AboutUs.
|
|
14345
|
+
* @param {string} hospitalId
|
|
14346
|
+
* @param {UpdateAboutUsPageCommand} [updateAboutUsPageCommand]
|
|
14347
|
+
* @param {*} [options] Override http request option.
|
|
14348
|
+
* @throws {RequiredError}
|
|
14349
|
+
* @memberof AboutUsApi
|
|
14350
|
+
*/
|
|
14351
|
+
public apiV1AboutusHospitalIdPut(hospitalId: string, updateAboutUsPageCommand?: UpdateAboutUsPageCommand, options?: AxiosRequestConfig) {
|
|
14352
|
+
return AboutUsApiFp(this.configuration).apiV1AboutusHospitalIdPut(hospitalId, updateAboutUsPageCommand, options).then((request) => request(this.axios, this.basePath));
|
|
14353
|
+
}
|
|
14354
|
+
|
|
14355
|
+
/**
|
|
14356
|
+
*
|
|
14357
|
+
* @summary Create AboutUs.
|
|
14358
|
+
* @param {CreateAboutUsPageCommand} [createAboutUsPageCommand]
|
|
14359
|
+
* @param {*} [options] Override http request option.
|
|
14360
|
+
* @throws {RequiredError}
|
|
14361
|
+
* @memberof AboutUsApi
|
|
14362
|
+
*/
|
|
14363
|
+
public apiV1AboutusPost(createAboutUsPageCommand?: CreateAboutUsPageCommand, options?: AxiosRequestConfig) {
|
|
14364
|
+
return AboutUsApiFp(this.configuration).apiV1AboutusPost(createAboutUsPageCommand, options).then((request) => request(this.axios, this.basePath));
|
|
14365
|
+
}
|
|
14366
|
+
|
|
14367
|
+
/**
|
|
14368
|
+
*
|
|
14369
|
+
* @param {string} slug
|
|
14370
|
+
* @param {string} [languageCode]
|
|
14371
|
+
* @param {boolean} [returnDefaultValue]
|
|
14372
|
+
* @param {*} [options] Override http request option.
|
|
14373
|
+
* @throws {RequiredError}
|
|
14374
|
+
* @memberof AboutUsApi
|
|
14375
|
+
*/
|
|
14376
|
+
public apiV1AboutusSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
14377
|
+
return AboutUsApiFp(this.configuration).apiV1AboutusSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
14378
|
+
}
|
|
14379
|
+
}
|
|
14380
|
+
|
|
12991
14381
|
|
|
12992
14382
|
/**
|
|
12993
14383
|
* AccreditationsApi - axios parameter creator
|
|
@@ -14496,6 +15886,7 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
14496
15886
|
* @param {string} [hospitalName]
|
|
14497
15887
|
* @param {string} [countryId]
|
|
14498
15888
|
* @param {string} [tag]
|
|
15889
|
+
* @param {string} [exceptArticleId]
|
|
14499
15890
|
* @param {string} [exceptHospitalId]
|
|
14500
15891
|
* @param {string} [contributorId]
|
|
14501
15892
|
* @param {string} [languageCode]
|
|
@@ -14507,7 +15898,7 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
14507
15898
|
* @param {*} [options] Override http request option.
|
|
14508
15899
|
* @throws {RequiredError}
|
|
14509
15900
|
*/
|
|
14510
|
-
apiV1ArticlesGet: async (id?: string, title?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15901
|
+
apiV1ArticlesGet: async (id?: string, title?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptArticleId?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14511
15902
|
const localVarPath = `/api/v1/articles`;
|
|
14512
15903
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14513
15904
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -14568,6 +15959,10 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
14568
15959
|
localVarQueryParameter['Tag'] = tag;
|
|
14569
15960
|
}
|
|
14570
15961
|
|
|
15962
|
+
if (exceptArticleId !== undefined) {
|
|
15963
|
+
localVarQueryParameter['ExceptArticleId'] = exceptArticleId;
|
|
15964
|
+
}
|
|
15965
|
+
|
|
14571
15966
|
if (exceptHospitalId !== undefined) {
|
|
14572
15967
|
localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
|
|
14573
15968
|
}
|
|
@@ -15009,6 +16404,7 @@ export const ArticlesApiFp = function(configuration?: Configuration) {
|
|
|
15009
16404
|
* @param {string} [hospitalName]
|
|
15010
16405
|
* @param {string} [countryId]
|
|
15011
16406
|
* @param {string} [tag]
|
|
16407
|
+
* @param {string} [exceptArticleId]
|
|
15012
16408
|
* @param {string} [exceptHospitalId]
|
|
15013
16409
|
* @param {string} [contributorId]
|
|
15014
16410
|
* @param {string} [languageCode]
|
|
@@ -15020,8 +16416,8 @@ export const ArticlesApiFp = function(configuration?: Configuration) {
|
|
|
15020
16416
|
* @param {*} [options] Override http request option.
|
|
15021
16417
|
* @throws {RequiredError}
|
|
15022
16418
|
*/
|
|
15023
|
-
async apiV1ArticlesGet(id?: string, title?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticlesModel>> {
|
|
15024
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
16419
|
+
async apiV1ArticlesGet(id?: string, title?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptArticleId?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticlesModel>> {
|
|
16420
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
15025
16421
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
15026
16422
|
},
|
|
15027
16423
|
/**
|
|
@@ -15336,6 +16732,7 @@ export const ArticlesApiFactory = function (configuration?: Configuration, baseP
|
|
|
15336
16732
|
* @param {string} [hospitalName]
|
|
15337
16733
|
* @param {string} [countryId]
|
|
15338
16734
|
* @param {string} [tag]
|
|
16735
|
+
* @param {string} [exceptArticleId]
|
|
15339
16736
|
* @param {string} [exceptHospitalId]
|
|
15340
16737
|
* @param {string} [contributorId]
|
|
15341
16738
|
* @param {string} [languageCode]
|
|
@@ -15347,8 +16744,8 @@ export const ArticlesApiFactory = function (configuration?: Configuration, baseP
|
|
|
15347
16744
|
* @param {*} [options] Override http request option.
|
|
15348
16745
|
* @throws {RequiredError}
|
|
15349
16746
|
*/
|
|
15350
|
-
apiV1ArticlesGet(id?: string, title?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ArticlesModel> {
|
|
15351
|
-
return localVarFp.apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
16747
|
+
apiV1ArticlesGet(id?: string, title?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptArticleId?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ArticlesModel> {
|
|
16748
|
+
return localVarFp.apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
15352
16749
|
},
|
|
15353
16750
|
/**
|
|
15354
16751
|
*
|
|
@@ -15704,6 +17101,7 @@ export class ArticlesApi extends BaseAPI {
|
|
|
15704
17101
|
* @param {string} [hospitalName]
|
|
15705
17102
|
* @param {string} [countryId]
|
|
15706
17103
|
* @param {string} [tag]
|
|
17104
|
+
* @param {string} [exceptArticleId]
|
|
15707
17105
|
* @param {string} [exceptHospitalId]
|
|
15708
17106
|
* @param {string} [contributorId]
|
|
15709
17107
|
* @param {string} [languageCode]
|
|
@@ -15716,8 +17114,8 @@ export class ArticlesApi extends BaseAPI {
|
|
|
15716
17114
|
* @throws {RequiredError}
|
|
15717
17115
|
* @memberof ArticlesApi
|
|
15718
17116
|
*/
|
|
15719
|
-
public apiV1ArticlesGet(id?: string, title?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
15720
|
-
return ArticlesApiFp(this.configuration).apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
17117
|
+
public apiV1ArticlesGet(id?: string, title?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptArticleId?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
17118
|
+
return ArticlesApiFp(this.configuration).apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
15721
17119
|
}
|
|
15722
17120
|
|
|
15723
17121
|
/**
|
|
@@ -28044,13 +29442,14 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
28044
29442
|
* @param {string} [languageCode]
|
|
28045
29443
|
* @param {Array<string>} [ids]
|
|
28046
29444
|
* @param {boolean} [returnDefaultValue]
|
|
29445
|
+
* @param {boolean} [paymentEnabled]
|
|
28047
29446
|
* @param {number} [page]
|
|
28048
29447
|
* @param {number} [limit]
|
|
28049
29448
|
* @param {Date} [lastRetrieved]
|
|
28050
29449
|
* @param {*} [options] Override http request option.
|
|
28051
29450
|
* @throws {RequiredError}
|
|
28052
29451
|
*/
|
|
28053
|
-
apiV1HospitalsGet: async (hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29452
|
+
apiV1HospitalsGet: async (hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28054
29453
|
const localVarPath = `/api/v1/hospitals`;
|
|
28055
29454
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28056
29455
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -28121,6 +29520,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
28121
29520
|
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
28122
29521
|
}
|
|
28123
29522
|
|
|
29523
|
+
if (paymentEnabled !== undefined) {
|
|
29524
|
+
localVarQueryParameter['PaymentEnabled'] = paymentEnabled;
|
|
29525
|
+
}
|
|
29526
|
+
|
|
28124
29527
|
if (page !== undefined) {
|
|
28125
29528
|
localVarQueryParameter['page'] = page;
|
|
28126
29529
|
}
|
|
@@ -29029,22 +30432,340 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
29029
30432
|
},
|
|
29030
30433
|
/**
|
|
29031
30434
|
*
|
|
29032
|
-
* @summary Get all HospitalEvaluations.
|
|
30435
|
+
* @summary Get all HospitalEvaluations.
|
|
30436
|
+
* @param {string} hospitalId
|
|
30437
|
+
* @param {string} [id]
|
|
30438
|
+
* @param {string} [name]
|
|
30439
|
+
* @param {number} [stars]
|
|
30440
|
+
* @param {number} [page]
|
|
30441
|
+
* @param {number} [limit]
|
|
30442
|
+
* @param {Date} [lastRetrieved]
|
|
30443
|
+
* @param {*} [options] Override http request option.
|
|
30444
|
+
* @throws {RequiredError}
|
|
30445
|
+
*/
|
|
30446
|
+
apiV1HospitalsHospitalIdEvaluationsGet: async (hospitalId: string, id?: string, name?: string, stars?: number, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30447
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
30448
|
+
assertParamExists('apiV1HospitalsHospitalIdEvaluationsGet', 'hospitalId', hospitalId)
|
|
30449
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/evaluations`
|
|
30450
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
30451
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30452
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30453
|
+
let baseOptions;
|
|
30454
|
+
if (configuration) {
|
|
30455
|
+
baseOptions = configuration.baseOptions;
|
|
30456
|
+
}
|
|
30457
|
+
|
|
30458
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
30459
|
+
const localVarHeaderParameter = {} as any;
|
|
30460
|
+
const localVarQueryParameter = {} as any;
|
|
30461
|
+
|
|
30462
|
+
// authentication oauth2 required
|
|
30463
|
+
// oauth required
|
|
30464
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
30465
|
+
|
|
30466
|
+
if (id !== undefined) {
|
|
30467
|
+
localVarQueryParameter['Id'] = id;
|
|
30468
|
+
}
|
|
30469
|
+
|
|
30470
|
+
if (name !== undefined) {
|
|
30471
|
+
localVarQueryParameter['Name'] = name;
|
|
30472
|
+
}
|
|
30473
|
+
|
|
30474
|
+
if (stars !== undefined) {
|
|
30475
|
+
localVarQueryParameter['Stars'] = stars;
|
|
30476
|
+
}
|
|
30477
|
+
|
|
30478
|
+
if (page !== undefined) {
|
|
30479
|
+
localVarQueryParameter['page'] = page;
|
|
30480
|
+
}
|
|
30481
|
+
|
|
30482
|
+
if (limit !== undefined) {
|
|
30483
|
+
localVarQueryParameter['limit'] = limit;
|
|
30484
|
+
}
|
|
30485
|
+
|
|
30486
|
+
if (lastRetrieved !== undefined) {
|
|
30487
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
30488
|
+
(lastRetrieved as any).toISOString() :
|
|
30489
|
+
lastRetrieved;
|
|
30490
|
+
}
|
|
30491
|
+
|
|
30492
|
+
|
|
30493
|
+
|
|
30494
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30495
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30496
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30497
|
+
|
|
30498
|
+
return {
|
|
30499
|
+
url: toPathString(localVarUrlObj),
|
|
30500
|
+
options: localVarRequestOptions,
|
|
30501
|
+
};
|
|
30502
|
+
},
|
|
30503
|
+
/**
|
|
30504
|
+
*
|
|
30505
|
+
* @summary Create HospitalEvaluation.
|
|
30506
|
+
* @param {string} hospitalId
|
|
30507
|
+
* @param {CreateHospitalEvaluationCommand} [createHospitalEvaluationCommand]
|
|
30508
|
+
* @param {*} [options] Override http request option.
|
|
30509
|
+
* @throws {RequiredError}
|
|
30510
|
+
*/
|
|
30511
|
+
apiV1HospitalsHospitalIdEvaluationsPost: async (hospitalId: string, createHospitalEvaluationCommand?: CreateHospitalEvaluationCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30512
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
30513
|
+
assertParamExists('apiV1HospitalsHospitalIdEvaluationsPost', 'hospitalId', hospitalId)
|
|
30514
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/evaluations`
|
|
30515
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
30516
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30517
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30518
|
+
let baseOptions;
|
|
30519
|
+
if (configuration) {
|
|
30520
|
+
baseOptions = configuration.baseOptions;
|
|
30521
|
+
}
|
|
30522
|
+
|
|
30523
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
30524
|
+
const localVarHeaderParameter = {} as any;
|
|
30525
|
+
const localVarQueryParameter = {} as any;
|
|
30526
|
+
|
|
30527
|
+
// authentication oauth2 required
|
|
30528
|
+
// oauth required
|
|
30529
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
30530
|
+
|
|
30531
|
+
|
|
30532
|
+
|
|
30533
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
30534
|
+
|
|
30535
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30536
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30537
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30538
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createHospitalEvaluationCommand, localVarRequestOptions, configuration)
|
|
30539
|
+
|
|
30540
|
+
return {
|
|
30541
|
+
url: toPathString(localVarUrlObj),
|
|
30542
|
+
options: localVarRequestOptions,
|
|
30543
|
+
};
|
|
30544
|
+
},
|
|
30545
|
+
/**
|
|
30546
|
+
*
|
|
30547
|
+
* @summary Get Hospital.
|
|
30548
|
+
* @param {string} hospitalId
|
|
30549
|
+
* @param {string} [languageCode]
|
|
30550
|
+
* @param {boolean} [returnDefaultValue]
|
|
30551
|
+
* @param {*} [options] Override http request option.
|
|
30552
|
+
* @throws {RequiredError}
|
|
30553
|
+
*/
|
|
30554
|
+
apiV1HospitalsHospitalIdGet: async (hospitalId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30555
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
30556
|
+
assertParamExists('apiV1HospitalsHospitalIdGet', 'hospitalId', hospitalId)
|
|
30557
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}`
|
|
30558
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
30559
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30560
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30561
|
+
let baseOptions;
|
|
30562
|
+
if (configuration) {
|
|
30563
|
+
baseOptions = configuration.baseOptions;
|
|
30564
|
+
}
|
|
30565
|
+
|
|
30566
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
30567
|
+
const localVarHeaderParameter = {} as any;
|
|
30568
|
+
const localVarQueryParameter = {} as any;
|
|
30569
|
+
|
|
30570
|
+
// authentication oauth2 required
|
|
30571
|
+
// oauth required
|
|
30572
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
30573
|
+
|
|
30574
|
+
if (languageCode !== undefined) {
|
|
30575
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
30576
|
+
}
|
|
30577
|
+
|
|
30578
|
+
if (returnDefaultValue !== undefined) {
|
|
30579
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
30580
|
+
}
|
|
30581
|
+
|
|
30582
|
+
|
|
30583
|
+
|
|
30584
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30585
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30586
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30587
|
+
|
|
30588
|
+
return {
|
|
30589
|
+
url: toPathString(localVarUrlObj),
|
|
30590
|
+
options: localVarRequestOptions,
|
|
30591
|
+
};
|
|
30592
|
+
},
|
|
30593
|
+
/**
|
|
30594
|
+
*
|
|
30595
|
+
* @summary Get all HospitalHandles.
|
|
30596
|
+
* @param {string} hospitalId
|
|
30597
|
+
* @param {string} [hospitalId2]
|
|
30598
|
+
* @param {string} [id]
|
|
30599
|
+
* @param {SnsType} [snsType]
|
|
30600
|
+
* @param {string} [handle]
|
|
30601
|
+
* @param {number} [page]
|
|
30602
|
+
* @param {number} [limit]
|
|
30603
|
+
* @param {Date} [lastRetrieved]
|
|
30604
|
+
* @param {*} [options] Override http request option.
|
|
30605
|
+
* @throws {RequiredError}
|
|
30606
|
+
*/
|
|
30607
|
+
apiV1HospitalsHospitalIdHandlesGet: async (hospitalId: string, hospitalId2?: string, id?: string, snsType?: SnsType, handle?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30608
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
30609
|
+
assertParamExists('apiV1HospitalsHospitalIdHandlesGet', 'hospitalId', hospitalId)
|
|
30610
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/handles`
|
|
30611
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
30612
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30613
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30614
|
+
let baseOptions;
|
|
30615
|
+
if (configuration) {
|
|
30616
|
+
baseOptions = configuration.baseOptions;
|
|
30617
|
+
}
|
|
30618
|
+
|
|
30619
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
30620
|
+
const localVarHeaderParameter = {} as any;
|
|
30621
|
+
const localVarQueryParameter = {} as any;
|
|
30622
|
+
|
|
30623
|
+
// authentication oauth2 required
|
|
30624
|
+
// oauth required
|
|
30625
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
30626
|
+
|
|
30627
|
+
if (hospitalId2 !== undefined) {
|
|
30628
|
+
localVarQueryParameter['HospitalId'] = hospitalId2;
|
|
30629
|
+
}
|
|
30630
|
+
|
|
30631
|
+
if (id !== undefined) {
|
|
30632
|
+
localVarQueryParameter['Id'] = id;
|
|
30633
|
+
}
|
|
30634
|
+
|
|
30635
|
+
if (snsType !== undefined) {
|
|
30636
|
+
localVarQueryParameter['SnsType'] = snsType;
|
|
30637
|
+
}
|
|
30638
|
+
|
|
30639
|
+
if (handle !== undefined) {
|
|
30640
|
+
localVarQueryParameter['Handle'] = handle;
|
|
30641
|
+
}
|
|
30642
|
+
|
|
30643
|
+
if (page !== undefined) {
|
|
30644
|
+
localVarQueryParameter['page'] = page;
|
|
30645
|
+
}
|
|
30646
|
+
|
|
30647
|
+
if (limit !== undefined) {
|
|
30648
|
+
localVarQueryParameter['limit'] = limit;
|
|
30649
|
+
}
|
|
30650
|
+
|
|
30651
|
+
if (lastRetrieved !== undefined) {
|
|
30652
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
30653
|
+
(lastRetrieved as any).toISOString() :
|
|
30654
|
+
lastRetrieved;
|
|
30655
|
+
}
|
|
30656
|
+
|
|
30657
|
+
|
|
30658
|
+
|
|
30659
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30660
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30661
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30662
|
+
|
|
30663
|
+
return {
|
|
30664
|
+
url: toPathString(localVarUrlObj),
|
|
30665
|
+
options: localVarRequestOptions,
|
|
30666
|
+
};
|
|
30667
|
+
},
|
|
30668
|
+
/**
|
|
30669
|
+
*
|
|
30670
|
+
* @summary Delete HospitalHandle.
|
|
30671
|
+
* @param {string} hospitalId
|
|
30672
|
+
* @param {string} handleId
|
|
30673
|
+
* @param {*} [options] Override http request option.
|
|
30674
|
+
* @throws {RequiredError}
|
|
30675
|
+
*/
|
|
30676
|
+
apiV1HospitalsHospitalIdHandlesHandleIdDelete: async (hospitalId: string, handleId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30677
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
30678
|
+
assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdDelete', 'hospitalId', hospitalId)
|
|
30679
|
+
// verify required parameter 'handleId' is not null or undefined
|
|
30680
|
+
assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdDelete', 'handleId', handleId)
|
|
30681
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/handles/{handleId}`
|
|
30682
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
30683
|
+
.replace(`{${"handleId"}}`, encodeURIComponent(String(handleId)));
|
|
30684
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30685
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30686
|
+
let baseOptions;
|
|
30687
|
+
if (configuration) {
|
|
30688
|
+
baseOptions = configuration.baseOptions;
|
|
30689
|
+
}
|
|
30690
|
+
|
|
30691
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
30692
|
+
const localVarHeaderParameter = {} as any;
|
|
30693
|
+
const localVarQueryParameter = {} as any;
|
|
30694
|
+
|
|
30695
|
+
// authentication oauth2 required
|
|
30696
|
+
// oauth required
|
|
30697
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
30698
|
+
|
|
30699
|
+
|
|
30700
|
+
|
|
30701
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30702
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30703
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30704
|
+
|
|
30705
|
+
return {
|
|
30706
|
+
url: toPathString(localVarUrlObj),
|
|
30707
|
+
options: localVarRequestOptions,
|
|
30708
|
+
};
|
|
30709
|
+
},
|
|
30710
|
+
/**
|
|
30711
|
+
*
|
|
30712
|
+
* @summary Get HospitalHandle.
|
|
30713
|
+
* @param {string} hospitalId
|
|
30714
|
+
* @param {string} handleId
|
|
30715
|
+
* @param {*} [options] Override http request option.
|
|
30716
|
+
* @throws {RequiredError}
|
|
30717
|
+
*/
|
|
30718
|
+
apiV1HospitalsHospitalIdHandlesHandleIdGet: async (hospitalId: string, handleId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30719
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
30720
|
+
assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdGet', 'hospitalId', hospitalId)
|
|
30721
|
+
// verify required parameter 'handleId' is not null or undefined
|
|
30722
|
+
assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdGet', 'handleId', handleId)
|
|
30723
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/handles/{handleId}`
|
|
30724
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
30725
|
+
.replace(`{${"handleId"}}`, encodeURIComponent(String(handleId)));
|
|
30726
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30727
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30728
|
+
let baseOptions;
|
|
30729
|
+
if (configuration) {
|
|
30730
|
+
baseOptions = configuration.baseOptions;
|
|
30731
|
+
}
|
|
30732
|
+
|
|
30733
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
30734
|
+
const localVarHeaderParameter = {} as any;
|
|
30735
|
+
const localVarQueryParameter = {} as any;
|
|
30736
|
+
|
|
30737
|
+
// authentication oauth2 required
|
|
30738
|
+
// oauth required
|
|
30739
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
30740
|
+
|
|
30741
|
+
|
|
30742
|
+
|
|
30743
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30744
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30745
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30746
|
+
|
|
30747
|
+
return {
|
|
30748
|
+
url: toPathString(localVarUrlObj),
|
|
30749
|
+
options: localVarRequestOptions,
|
|
30750
|
+
};
|
|
30751
|
+
},
|
|
30752
|
+
/**
|
|
30753
|
+
*
|
|
30754
|
+
* @summary Update HospitalHandle.
|
|
29033
30755
|
* @param {string} hospitalId
|
|
29034
|
-
* @param {string}
|
|
29035
|
-
* @param {
|
|
29036
|
-
* @param {number} [stars]
|
|
29037
|
-
* @param {number} [page]
|
|
29038
|
-
* @param {number} [limit]
|
|
29039
|
-
* @param {Date} [lastRetrieved]
|
|
30756
|
+
* @param {string} handleId
|
|
30757
|
+
* @param {UpdateHospitalSnsHandleCommand} [updateHospitalSnsHandleCommand]
|
|
29040
30758
|
* @param {*} [options] Override http request option.
|
|
29041
30759
|
* @throws {RequiredError}
|
|
29042
30760
|
*/
|
|
29043
|
-
|
|
30761
|
+
apiV1HospitalsHospitalIdHandlesHandleIdPut: async (hospitalId: string, handleId: string, updateHospitalSnsHandleCommand?: UpdateHospitalSnsHandleCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29044
30762
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
29045
|
-
assertParamExists('
|
|
29046
|
-
|
|
29047
|
-
|
|
30763
|
+
assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdPut', 'hospitalId', hospitalId)
|
|
30764
|
+
// verify required parameter 'handleId' is not null or undefined
|
|
30765
|
+
assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdPut', 'handleId', handleId)
|
|
30766
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/handles/{handleId}`
|
|
30767
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
30768
|
+
.replace(`{${"handleId"}}`, encodeURIComponent(String(handleId)));
|
|
29048
30769
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29049
30770
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29050
30771
|
let baseOptions;
|
|
@@ -29052,7 +30773,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
29052
30773
|
baseOptions = configuration.baseOptions;
|
|
29053
30774
|
}
|
|
29054
30775
|
|
|
29055
|
-
const localVarRequestOptions = { method: '
|
|
30776
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
29056
30777
|
const localVarHeaderParameter = {} as any;
|
|
29057
30778
|
const localVarQueryParameter = {} as any;
|
|
29058
30779
|
|
|
@@ -29060,37 +30781,14 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
29060
30781
|
// oauth required
|
|
29061
30782
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
29062
30783
|
|
|
29063
|
-
if (id !== undefined) {
|
|
29064
|
-
localVarQueryParameter['Id'] = id;
|
|
29065
|
-
}
|
|
29066
|
-
|
|
29067
|
-
if (name !== undefined) {
|
|
29068
|
-
localVarQueryParameter['Name'] = name;
|
|
29069
|
-
}
|
|
29070
|
-
|
|
29071
|
-
if (stars !== undefined) {
|
|
29072
|
-
localVarQueryParameter['Stars'] = stars;
|
|
29073
|
-
}
|
|
29074
|
-
|
|
29075
|
-
if (page !== undefined) {
|
|
29076
|
-
localVarQueryParameter['page'] = page;
|
|
29077
|
-
}
|
|
29078
|
-
|
|
29079
|
-
if (limit !== undefined) {
|
|
29080
|
-
localVarQueryParameter['limit'] = limit;
|
|
29081
|
-
}
|
|
29082
|
-
|
|
29083
|
-
if (lastRetrieved !== undefined) {
|
|
29084
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
29085
|
-
(lastRetrieved as any).toISOString() :
|
|
29086
|
-
lastRetrieved;
|
|
29087
|
-
}
|
|
29088
|
-
|
|
29089
30784
|
|
|
29090
30785
|
|
|
30786
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
30787
|
+
|
|
29091
30788
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29092
30789
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29093
30790
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30791
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalSnsHandleCommand, localVarRequestOptions, configuration)
|
|
29094
30792
|
|
|
29095
30793
|
return {
|
|
29096
30794
|
url: toPathString(localVarUrlObj),
|
|
@@ -29099,16 +30797,16 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
29099
30797
|
},
|
|
29100
30798
|
/**
|
|
29101
30799
|
*
|
|
29102
|
-
* @summary
|
|
30800
|
+
* @summary Get HospitalHandle.
|
|
29103
30801
|
* @param {string} hospitalId
|
|
29104
|
-
* @param {
|
|
30802
|
+
* @param {CreateHospitalSnsHandleCommand} [createHospitalSnsHandleCommand]
|
|
29105
30803
|
* @param {*} [options] Override http request option.
|
|
29106
30804
|
* @throws {RequiredError}
|
|
29107
30805
|
*/
|
|
29108
|
-
|
|
30806
|
+
apiV1HospitalsHospitalIdHandlesPost: async (hospitalId: string, createHospitalSnsHandleCommand?: CreateHospitalSnsHandleCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29109
30807
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
29110
|
-
assertParamExists('
|
|
29111
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/
|
|
30808
|
+
assertParamExists('apiV1HospitalsHospitalIdHandlesPost', 'hospitalId', hospitalId)
|
|
30809
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/handles`
|
|
29112
30810
|
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
29113
30811
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29114
30812
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -29132,55 +30830,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
29132
30830
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29133
30831
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29134
30832
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29135
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
29136
|
-
|
|
29137
|
-
return {
|
|
29138
|
-
url: toPathString(localVarUrlObj),
|
|
29139
|
-
options: localVarRequestOptions,
|
|
29140
|
-
};
|
|
29141
|
-
},
|
|
29142
|
-
/**
|
|
29143
|
-
*
|
|
29144
|
-
* @summary Get Hospital.
|
|
29145
|
-
* @param {string} hospitalId
|
|
29146
|
-
* @param {string} [languageCode]
|
|
29147
|
-
* @param {boolean} [returnDefaultValue]
|
|
29148
|
-
* @param {*} [options] Override http request option.
|
|
29149
|
-
* @throws {RequiredError}
|
|
29150
|
-
*/
|
|
29151
|
-
apiV1HospitalsHospitalIdGet: async (hospitalId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29152
|
-
// verify required parameter 'hospitalId' is not null or undefined
|
|
29153
|
-
assertParamExists('apiV1HospitalsHospitalIdGet', 'hospitalId', hospitalId)
|
|
29154
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}`
|
|
29155
|
-
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
29156
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29157
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29158
|
-
let baseOptions;
|
|
29159
|
-
if (configuration) {
|
|
29160
|
-
baseOptions = configuration.baseOptions;
|
|
29161
|
-
}
|
|
29162
|
-
|
|
29163
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
29164
|
-
const localVarHeaderParameter = {} as any;
|
|
29165
|
-
const localVarQueryParameter = {} as any;
|
|
29166
|
-
|
|
29167
|
-
// authentication oauth2 required
|
|
29168
|
-
// oauth required
|
|
29169
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
29170
|
-
|
|
29171
|
-
if (languageCode !== undefined) {
|
|
29172
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
29173
|
-
}
|
|
29174
|
-
|
|
29175
|
-
if (returnDefaultValue !== undefined) {
|
|
29176
|
-
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
29177
|
-
}
|
|
29178
|
-
|
|
29179
|
-
|
|
29180
|
-
|
|
29181
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29182
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29183
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30833
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createHospitalSnsHandleCommand, localVarRequestOptions, configuration)
|
|
29184
30834
|
|
|
29185
30835
|
return {
|
|
29186
30836
|
url: toPathString(localVarUrlObj),
|
|
@@ -30016,21 +31666,247 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
30016
31666
|
},
|
|
30017
31667
|
/**
|
|
30018
31668
|
*
|
|
30019
|
-
* @summary Create HospitalService.
|
|
31669
|
+
* @summary Create HospitalService.
|
|
31670
|
+
* @param {string} hospitalId
|
|
31671
|
+
* @param {string} specialtyId
|
|
31672
|
+
* @param {CreateHospitalServiceCommand} [createHospitalServiceCommand]
|
|
31673
|
+
* @param {*} [options] Override http request option.
|
|
31674
|
+
* @throws {RequiredError}
|
|
31675
|
+
*/
|
|
31676
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost: async (hospitalId: string, specialtyId: string, createHospitalServiceCommand?: CreateHospitalServiceCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
31677
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
31678
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost', 'hospitalId', hospitalId)
|
|
31679
|
+
// verify required parameter 'specialtyId' is not null or undefined
|
|
31680
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost', 'specialtyId', specialtyId)
|
|
31681
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services`
|
|
31682
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
31683
|
+
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
|
|
31684
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31685
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31686
|
+
let baseOptions;
|
|
31687
|
+
if (configuration) {
|
|
31688
|
+
baseOptions = configuration.baseOptions;
|
|
31689
|
+
}
|
|
31690
|
+
|
|
31691
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
31692
|
+
const localVarHeaderParameter = {} as any;
|
|
31693
|
+
const localVarQueryParameter = {} as any;
|
|
31694
|
+
|
|
31695
|
+
// authentication oauth2 required
|
|
31696
|
+
// oauth required
|
|
31697
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
31698
|
+
|
|
31699
|
+
|
|
31700
|
+
|
|
31701
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
31702
|
+
|
|
31703
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
31704
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31705
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
31706
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createHospitalServiceCommand, localVarRequestOptions, configuration)
|
|
31707
|
+
|
|
31708
|
+
return {
|
|
31709
|
+
url: toPathString(localVarUrlObj),
|
|
31710
|
+
options: localVarRequestOptions,
|
|
31711
|
+
};
|
|
31712
|
+
},
|
|
31713
|
+
/**
|
|
31714
|
+
*
|
|
31715
|
+
* @param {string} hospitalId
|
|
31716
|
+
* @param {string} specialtyId
|
|
31717
|
+
* @param {string} serviceId
|
|
31718
|
+
* @param {*} [options] Override http request option.
|
|
31719
|
+
* @throws {RequiredError}
|
|
31720
|
+
*/
|
|
31721
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete: async (hospitalId: string, specialtyId: string, serviceId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
31722
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
31723
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete', 'hospitalId', hospitalId)
|
|
31724
|
+
// verify required parameter 'specialtyId' is not null or undefined
|
|
31725
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete', 'specialtyId', specialtyId)
|
|
31726
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
31727
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete', 'serviceId', serviceId)
|
|
31728
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}`
|
|
31729
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
31730
|
+
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
|
|
31731
|
+
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
|
|
31732
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31733
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31734
|
+
let baseOptions;
|
|
31735
|
+
if (configuration) {
|
|
31736
|
+
baseOptions = configuration.baseOptions;
|
|
31737
|
+
}
|
|
31738
|
+
|
|
31739
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
31740
|
+
const localVarHeaderParameter = {} as any;
|
|
31741
|
+
const localVarQueryParameter = {} as any;
|
|
31742
|
+
|
|
31743
|
+
// authentication oauth2 required
|
|
31744
|
+
// oauth required
|
|
31745
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
31746
|
+
|
|
31747
|
+
|
|
31748
|
+
|
|
31749
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
31750
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31751
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
31752
|
+
|
|
31753
|
+
return {
|
|
31754
|
+
url: toPathString(localVarUrlObj),
|
|
31755
|
+
options: localVarRequestOptions,
|
|
31756
|
+
};
|
|
31757
|
+
},
|
|
31758
|
+
/**
|
|
31759
|
+
*
|
|
31760
|
+
* @param {string} hospitalId
|
|
31761
|
+
* @param {string} specialtyId
|
|
31762
|
+
* @param {string} serviceId
|
|
31763
|
+
* @param {string} [languageCode]
|
|
31764
|
+
* @param {boolean} [returnDefaultValue]
|
|
31765
|
+
* @param {*} [options] Override http request option.
|
|
31766
|
+
* @throws {RequiredError}
|
|
31767
|
+
*/
|
|
31768
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet: async (hospitalId: string, specialtyId: string, serviceId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
31769
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
31770
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet', 'hospitalId', hospitalId)
|
|
31771
|
+
// verify required parameter 'specialtyId' is not null or undefined
|
|
31772
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet', 'specialtyId', specialtyId)
|
|
31773
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
31774
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet', 'serviceId', serviceId)
|
|
31775
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}`
|
|
31776
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
31777
|
+
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
|
|
31778
|
+
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
|
|
31779
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31780
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31781
|
+
let baseOptions;
|
|
31782
|
+
if (configuration) {
|
|
31783
|
+
baseOptions = configuration.baseOptions;
|
|
31784
|
+
}
|
|
31785
|
+
|
|
31786
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
31787
|
+
const localVarHeaderParameter = {} as any;
|
|
31788
|
+
const localVarQueryParameter = {} as any;
|
|
31789
|
+
|
|
31790
|
+
// authentication oauth2 required
|
|
31791
|
+
// oauth required
|
|
31792
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
31793
|
+
|
|
31794
|
+
if (languageCode !== undefined) {
|
|
31795
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
31796
|
+
}
|
|
31797
|
+
|
|
31798
|
+
if (returnDefaultValue !== undefined) {
|
|
31799
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
31800
|
+
}
|
|
31801
|
+
|
|
31802
|
+
|
|
31803
|
+
|
|
31804
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
31805
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31806
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
31807
|
+
|
|
31808
|
+
return {
|
|
31809
|
+
url: toPathString(localVarUrlObj),
|
|
31810
|
+
options: localVarRequestOptions,
|
|
31811
|
+
};
|
|
31812
|
+
},
|
|
31813
|
+
/**
|
|
31814
|
+
*
|
|
31815
|
+
* @summary Get all HospitalServiceMedias.
|
|
31816
|
+
* @param {string} hospitalId
|
|
31817
|
+
* @param {string} specialtyId
|
|
31818
|
+
* @param {string} serviceId
|
|
31819
|
+
* @param {string} [id]
|
|
31820
|
+
* @param {MediaType} [mediaType]
|
|
31821
|
+
* @param {number} [page]
|
|
31822
|
+
* @param {number} [limit]
|
|
31823
|
+
* @param {Date} [lastRetrieved]
|
|
31824
|
+
* @param {*} [options] Override http request option.
|
|
31825
|
+
* @throws {RequiredError}
|
|
31826
|
+
*/
|
|
31827
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet: async (hospitalId: string, specialtyId: string, serviceId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
31828
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
31829
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet', 'hospitalId', hospitalId)
|
|
31830
|
+
// verify required parameter 'specialtyId' is not null or undefined
|
|
31831
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet', 'specialtyId', specialtyId)
|
|
31832
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
31833
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet', 'serviceId', serviceId)
|
|
31834
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/medias`
|
|
31835
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
31836
|
+
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
|
|
31837
|
+
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
|
|
31838
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31839
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31840
|
+
let baseOptions;
|
|
31841
|
+
if (configuration) {
|
|
31842
|
+
baseOptions = configuration.baseOptions;
|
|
31843
|
+
}
|
|
31844
|
+
|
|
31845
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
31846
|
+
const localVarHeaderParameter = {} as any;
|
|
31847
|
+
const localVarQueryParameter = {} as any;
|
|
31848
|
+
|
|
31849
|
+
// authentication oauth2 required
|
|
31850
|
+
// oauth required
|
|
31851
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
31852
|
+
|
|
31853
|
+
if (id !== undefined) {
|
|
31854
|
+
localVarQueryParameter['Id'] = id;
|
|
31855
|
+
}
|
|
31856
|
+
|
|
31857
|
+
if (mediaType !== undefined) {
|
|
31858
|
+
localVarQueryParameter['MediaType'] = mediaType;
|
|
31859
|
+
}
|
|
31860
|
+
|
|
31861
|
+
if (page !== undefined) {
|
|
31862
|
+
localVarQueryParameter['page'] = page;
|
|
31863
|
+
}
|
|
31864
|
+
|
|
31865
|
+
if (limit !== undefined) {
|
|
31866
|
+
localVarQueryParameter['limit'] = limit;
|
|
31867
|
+
}
|
|
31868
|
+
|
|
31869
|
+
if (lastRetrieved !== undefined) {
|
|
31870
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
31871
|
+
(lastRetrieved as any).toISOString() :
|
|
31872
|
+
lastRetrieved;
|
|
31873
|
+
}
|
|
31874
|
+
|
|
31875
|
+
|
|
31876
|
+
|
|
31877
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
31878
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31879
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
31880
|
+
|
|
31881
|
+
return {
|
|
31882
|
+
url: toPathString(localVarUrlObj),
|
|
31883
|
+
options: localVarRequestOptions,
|
|
31884
|
+
};
|
|
31885
|
+
},
|
|
31886
|
+
/**
|
|
31887
|
+
*
|
|
31888
|
+
* @summary Delete HospitalServiceMedia
|
|
30020
31889
|
* @param {string} hospitalId
|
|
30021
31890
|
* @param {string} specialtyId
|
|
30022
|
-
* @param {
|
|
31891
|
+
* @param {string} serviceId
|
|
31892
|
+
* @param {string} mediaId
|
|
30023
31893
|
* @param {*} [options] Override http request option.
|
|
30024
31894
|
* @throws {RequiredError}
|
|
30025
31895
|
*/
|
|
30026
|
-
|
|
31896
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete: async (hospitalId: string, specialtyId: string, serviceId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30027
31897
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
30028
|
-
assertParamExists('
|
|
31898
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete', 'hospitalId', hospitalId)
|
|
30029
31899
|
// verify required parameter 'specialtyId' is not null or undefined
|
|
30030
|
-
assertParamExists('
|
|
30031
|
-
|
|
31900
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete', 'specialtyId', specialtyId)
|
|
31901
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
31902
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete', 'serviceId', serviceId)
|
|
31903
|
+
// verify required parameter 'mediaId' is not null or undefined
|
|
31904
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete', 'mediaId', mediaId)
|
|
31905
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/medias/{mediaId}`
|
|
30032
31906
|
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
30033
|
-
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
|
|
31907
|
+
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
|
|
31908
|
+
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)))
|
|
31909
|
+
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
30034
31910
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30035
31911
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30036
31912
|
let baseOptions;
|
|
@@ -30038,7 +31914,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
30038
31914
|
baseOptions = configuration.baseOptions;
|
|
30039
31915
|
}
|
|
30040
31916
|
|
|
30041
|
-
const localVarRequestOptions = { method: '
|
|
31917
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
30042
31918
|
const localVarHeaderParameter = {} as any;
|
|
30043
31919
|
const localVarQueryParameter = {} as any;
|
|
30044
31920
|
|
|
@@ -30048,12 +31924,9 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
30048
31924
|
|
|
30049
31925
|
|
|
30050
31926
|
|
|
30051
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
30052
|
-
|
|
30053
31927
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30054
31928
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30055
31929
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30056
|
-
localVarRequestOptions.data = serializeDataIfNeeded(createHospitalServiceCommand, localVarRequestOptions, configuration)
|
|
30057
31930
|
|
|
30058
31931
|
return {
|
|
30059
31932
|
url: toPathString(localVarUrlObj),
|
|
@@ -30062,23 +31935,28 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
30062
31935
|
},
|
|
30063
31936
|
/**
|
|
30064
31937
|
*
|
|
31938
|
+
* @summary Get HospitalServiceMedia.
|
|
30065
31939
|
* @param {string} hospitalId
|
|
30066
31940
|
* @param {string} specialtyId
|
|
30067
31941
|
* @param {string} serviceId
|
|
31942
|
+
* @param {string} mediaId
|
|
30068
31943
|
* @param {*} [options] Override http request option.
|
|
30069
31944
|
* @throws {RequiredError}
|
|
30070
31945
|
*/
|
|
30071
|
-
|
|
31946
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet: async (hospitalId: string, specialtyId: string, serviceId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30072
31947
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
30073
|
-
assertParamExists('
|
|
31948
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet', 'hospitalId', hospitalId)
|
|
30074
31949
|
// verify required parameter 'specialtyId' is not null or undefined
|
|
30075
|
-
assertParamExists('
|
|
31950
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet', 'specialtyId', specialtyId)
|
|
30076
31951
|
// verify required parameter 'serviceId' is not null or undefined
|
|
30077
|
-
assertParamExists('
|
|
30078
|
-
|
|
31952
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet', 'serviceId', serviceId)
|
|
31953
|
+
// verify required parameter 'mediaId' is not null or undefined
|
|
31954
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet', 'mediaId', mediaId)
|
|
31955
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/medias/{mediaId}`
|
|
30079
31956
|
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
30080
31957
|
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
|
|
30081
|
-
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)))
|
|
31958
|
+
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)))
|
|
31959
|
+
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
30082
31960
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30083
31961
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30084
31962
|
let baseOptions;
|
|
@@ -30086,7 +31964,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
30086
31964
|
baseOptions = configuration.baseOptions;
|
|
30087
31965
|
}
|
|
30088
31966
|
|
|
30089
|
-
const localVarRequestOptions = { method: '
|
|
31967
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
30090
31968
|
const localVarHeaderParameter = {} as any;
|
|
30091
31969
|
const localVarQueryParameter = {} as any;
|
|
30092
31970
|
|
|
@@ -30107,25 +31985,29 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
30107
31985
|
},
|
|
30108
31986
|
/**
|
|
30109
31987
|
*
|
|
31988
|
+
* @summary Update HospitalServiceMedia.
|
|
30110
31989
|
* @param {string} hospitalId
|
|
30111
31990
|
* @param {string} specialtyId
|
|
30112
31991
|
* @param {string} serviceId
|
|
30113
|
-
* @param {string}
|
|
30114
|
-
* @param {
|
|
31992
|
+
* @param {string} mediaId
|
|
31993
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
30115
31994
|
* @param {*} [options] Override http request option.
|
|
30116
31995
|
* @throws {RequiredError}
|
|
30117
31996
|
*/
|
|
30118
|
-
|
|
31997
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut: async (hospitalId: string, specialtyId: string, serviceId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30119
31998
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
30120
|
-
assertParamExists('
|
|
31999
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut', 'hospitalId', hospitalId)
|
|
30121
32000
|
// verify required parameter 'specialtyId' is not null or undefined
|
|
30122
|
-
assertParamExists('
|
|
32001
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut', 'specialtyId', specialtyId)
|
|
30123
32002
|
// verify required parameter 'serviceId' is not null or undefined
|
|
30124
|
-
assertParamExists('
|
|
30125
|
-
|
|
32003
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut', 'serviceId', serviceId)
|
|
32004
|
+
// verify required parameter 'mediaId' is not null or undefined
|
|
32005
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut', 'mediaId', mediaId)
|
|
32006
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/medias/{mediaId}`
|
|
30126
32007
|
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
30127
32008
|
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
|
|
30128
|
-
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)))
|
|
32009
|
+
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)))
|
|
32010
|
+
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
30129
32011
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30130
32012
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30131
32013
|
let baseOptions;
|
|
@@ -30133,7 +32015,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
30133
32015
|
baseOptions = configuration.baseOptions;
|
|
30134
32016
|
}
|
|
30135
32017
|
|
|
30136
|
-
const localVarRequestOptions = { method: '
|
|
32018
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
30137
32019
|
const localVarHeaderParameter = {} as any;
|
|
30138
32020
|
const localVarQueryParameter = {} as any;
|
|
30139
32021
|
|
|
@@ -30141,19 +32023,14 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
30141
32023
|
// oauth required
|
|
30142
32024
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
30143
32025
|
|
|
30144
|
-
if (languageCode !== undefined) {
|
|
30145
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
30146
|
-
}
|
|
30147
|
-
|
|
30148
|
-
if (returnDefaultValue !== undefined) {
|
|
30149
|
-
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
30150
|
-
}
|
|
30151
|
-
|
|
30152
32026
|
|
|
30153
32027
|
|
|
32028
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
32029
|
+
|
|
30154
32030
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30155
32031
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30156
32032
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
32033
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateMediaCommand, localVarRequestOptions, configuration)
|
|
30157
32034
|
|
|
30158
32035
|
return {
|
|
30159
32036
|
url: toPathString(localVarUrlObj),
|
|
@@ -30162,25 +32039,21 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
30162
32039
|
},
|
|
30163
32040
|
/**
|
|
30164
32041
|
*
|
|
30165
|
-
* @summary
|
|
32042
|
+
* @summary Create HospitalServiceMedia.
|
|
30166
32043
|
* @param {string} hospitalId
|
|
30167
32044
|
* @param {string} specialtyId
|
|
30168
32045
|
* @param {string} serviceId
|
|
30169
|
-
* @param {
|
|
30170
|
-
* @param {MediaType} [mediaType]
|
|
30171
|
-
* @param {number} [page]
|
|
30172
|
-
* @param {number} [limit]
|
|
30173
|
-
* @param {Date} [lastRetrieved]
|
|
32046
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
30174
32047
|
* @param {*} [options] Override http request option.
|
|
30175
32048
|
* @throws {RequiredError}
|
|
30176
32049
|
*/
|
|
30177
|
-
|
|
32050
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost: async (hospitalId: string, specialtyId: string, serviceId: string, createMediaCommand?: CreateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30178
32051
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
30179
|
-
assertParamExists('
|
|
32052
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost', 'hospitalId', hospitalId)
|
|
30180
32053
|
// verify required parameter 'specialtyId' is not null or undefined
|
|
30181
|
-
assertParamExists('
|
|
32054
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost', 'specialtyId', specialtyId)
|
|
30182
32055
|
// verify required parameter 'serviceId' is not null or undefined
|
|
30183
|
-
assertParamExists('
|
|
32056
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost', 'serviceId', serviceId)
|
|
30184
32057
|
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/medias`
|
|
30185
32058
|
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
30186
32059
|
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
|
|
@@ -30192,7 +32065,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
30192
32065
|
baseOptions = configuration.baseOptions;
|
|
30193
32066
|
}
|
|
30194
32067
|
|
|
30195
|
-
const localVarRequestOptions = { method: '
|
|
32068
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
30196
32069
|
const localVarHeaderParameter = {} as any;
|
|
30197
32070
|
const localVarQueryParameter = {} as any;
|
|
30198
32071
|
|
|
@@ -30200,33 +32073,14 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
30200
32073
|
// oauth required
|
|
30201
32074
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
30202
32075
|
|
|
30203
|
-
if (id !== undefined) {
|
|
30204
|
-
localVarQueryParameter['Id'] = id;
|
|
30205
|
-
}
|
|
30206
|
-
|
|
30207
|
-
if (mediaType !== undefined) {
|
|
30208
|
-
localVarQueryParameter['MediaType'] = mediaType;
|
|
30209
|
-
}
|
|
30210
|
-
|
|
30211
|
-
if (page !== undefined) {
|
|
30212
|
-
localVarQueryParameter['page'] = page;
|
|
30213
|
-
}
|
|
30214
|
-
|
|
30215
|
-
if (limit !== undefined) {
|
|
30216
|
-
localVarQueryParameter['limit'] = limit;
|
|
30217
|
-
}
|
|
30218
|
-
|
|
30219
|
-
if (lastRetrieved !== undefined) {
|
|
30220
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
30221
|
-
(lastRetrieved as any).toISOString() :
|
|
30222
|
-
lastRetrieved;
|
|
30223
|
-
}
|
|
30224
|
-
|
|
30225
32076
|
|
|
30226
32077
|
|
|
32078
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
32079
|
+
|
|
30227
32080
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30228
32081
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30229
32082
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
32083
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createMediaCommand, localVarRequestOptions, configuration)
|
|
30230
32084
|
|
|
30231
32085
|
return {
|
|
30232
32086
|
url: toPathString(localVarUrlObj),
|
|
@@ -30235,28 +32089,25 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
30235
32089
|
},
|
|
30236
32090
|
/**
|
|
30237
32091
|
*
|
|
30238
|
-
* @summary
|
|
32092
|
+
* @summary Update HospitalService.
|
|
30239
32093
|
* @param {string} hospitalId
|
|
30240
32094
|
* @param {string} specialtyId
|
|
30241
32095
|
* @param {string} serviceId
|
|
30242
|
-
* @param {
|
|
32096
|
+
* @param {UpdateHospitalServiceCommand} [updateHospitalServiceCommand]
|
|
30243
32097
|
* @param {*} [options] Override http request option.
|
|
30244
32098
|
* @throws {RequiredError}
|
|
30245
32099
|
*/
|
|
30246
|
-
|
|
32100
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut: async (hospitalId: string, specialtyId: string, serviceId: string, updateHospitalServiceCommand?: UpdateHospitalServiceCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30247
32101
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
30248
|
-
assertParamExists('
|
|
32102
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut', 'hospitalId', hospitalId)
|
|
30249
32103
|
// verify required parameter 'specialtyId' is not null or undefined
|
|
30250
|
-
assertParamExists('
|
|
32104
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut', 'specialtyId', specialtyId)
|
|
30251
32105
|
// verify required parameter 'serviceId' is not null or undefined
|
|
30252
|
-
assertParamExists('
|
|
30253
|
-
|
|
30254
|
-
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete', 'mediaId', mediaId)
|
|
30255
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/medias/{mediaId}`
|
|
32106
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut', 'serviceId', serviceId)
|
|
32107
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}`
|
|
30256
32108
|
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
30257
32109
|
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
|
|
30258
|
-
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)))
|
|
30259
|
-
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
32110
|
+
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
|
|
30260
32111
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30261
32112
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30262
32113
|
let baseOptions;
|
|
@@ -30264,7 +32115,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
30264
32115
|
baseOptions = configuration.baseOptions;
|
|
30265
32116
|
}
|
|
30266
32117
|
|
|
30267
|
-
const localVarRequestOptions = { method: '
|
|
32118
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
30268
32119
|
const localVarHeaderParameter = {} as any;
|
|
30269
32120
|
const localVarQueryParameter = {} as any;
|
|
30270
32121
|
|
|
@@ -30274,9 +32125,12 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
30274
32125
|
|
|
30275
32126
|
|
|
30276
32127
|
|
|
32128
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
32129
|
+
|
|
30277
32130
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30278
32131
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30279
32132
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
32133
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalServiceCommand, localVarRequestOptions, configuration)
|
|
30280
32134
|
|
|
30281
32135
|
return {
|
|
30282
32136
|
url: toPathString(localVarUrlObj),
|
|
@@ -30285,28 +32139,25 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
30285
32139
|
},
|
|
30286
32140
|
/**
|
|
30287
32141
|
*
|
|
30288
|
-
* @summary Get
|
|
32142
|
+
* @summary Get all HospitalWorkingDays.
|
|
30289
32143
|
* @param {string} hospitalId
|
|
30290
|
-
* @param {string}
|
|
30291
|
-
* @param {string}
|
|
30292
|
-
* @param {string}
|
|
32144
|
+
* @param {string} [hospitalId2]
|
|
32145
|
+
* @param {string} [id]
|
|
32146
|
+
* @param {string} [dayOfWeek]
|
|
32147
|
+
* @param {Date} [timeFrom]
|
|
32148
|
+
* @param {Date} [timeTo]
|
|
32149
|
+
* @param {boolean} [checkHoliday]
|
|
32150
|
+
* @param {number} [page]
|
|
32151
|
+
* @param {number} [limit]
|
|
32152
|
+
* @param {Date} [lastRetrieved]
|
|
30293
32153
|
* @param {*} [options] Override http request option.
|
|
30294
32154
|
* @throws {RequiredError}
|
|
30295
32155
|
*/
|
|
30296
|
-
|
|
32156
|
+
apiV1HospitalsHospitalIdWorkingdaysGet: async (hospitalId: string, hospitalId2?: string, id?: string, dayOfWeek?: string, timeFrom?: Date, timeTo?: Date, checkHoliday?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30297
32157
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
30298
|
-
assertParamExists('
|
|
30299
|
-
|
|
30300
|
-
|
|
30301
|
-
// verify required parameter 'serviceId' is not null or undefined
|
|
30302
|
-
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet', 'serviceId', serviceId)
|
|
30303
|
-
// verify required parameter 'mediaId' is not null or undefined
|
|
30304
|
-
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet', 'mediaId', mediaId)
|
|
30305
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/medias/{mediaId}`
|
|
30306
|
-
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
30307
|
-
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
|
|
30308
|
-
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)))
|
|
30309
|
-
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
32158
|
+
assertParamExists('apiV1HospitalsHospitalIdWorkingdaysGet', 'hospitalId', hospitalId)
|
|
32159
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/workingdays`
|
|
32160
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
30310
32161
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30311
32162
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30312
32163
|
let baseOptions;
|
|
@@ -30322,6 +32173,48 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
30322
32173
|
// oauth required
|
|
30323
32174
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
30324
32175
|
|
|
32176
|
+
if (hospitalId2 !== undefined) {
|
|
32177
|
+
localVarQueryParameter['HospitalId'] = hospitalId2;
|
|
32178
|
+
}
|
|
32179
|
+
|
|
32180
|
+
if (id !== undefined) {
|
|
32181
|
+
localVarQueryParameter['Id'] = id;
|
|
32182
|
+
}
|
|
32183
|
+
|
|
32184
|
+
if (dayOfWeek !== undefined) {
|
|
32185
|
+
localVarQueryParameter['DayOfWeek'] = dayOfWeek;
|
|
32186
|
+
}
|
|
32187
|
+
|
|
32188
|
+
if (timeFrom !== undefined) {
|
|
32189
|
+
localVarQueryParameter['TimeFrom'] = (timeFrom as any instanceof Date) ?
|
|
32190
|
+
(timeFrom as any).toISOString() :
|
|
32191
|
+
timeFrom;
|
|
32192
|
+
}
|
|
32193
|
+
|
|
32194
|
+
if (timeTo !== undefined) {
|
|
32195
|
+
localVarQueryParameter['TimeTo'] = (timeTo as any instanceof Date) ?
|
|
32196
|
+
(timeTo as any).toISOString() :
|
|
32197
|
+
timeTo;
|
|
32198
|
+
}
|
|
32199
|
+
|
|
32200
|
+
if (checkHoliday !== undefined) {
|
|
32201
|
+
localVarQueryParameter['CheckHoliday'] = checkHoliday;
|
|
32202
|
+
}
|
|
32203
|
+
|
|
32204
|
+
if (page !== undefined) {
|
|
32205
|
+
localVarQueryParameter['page'] = page;
|
|
32206
|
+
}
|
|
32207
|
+
|
|
32208
|
+
if (limit !== undefined) {
|
|
32209
|
+
localVarQueryParameter['limit'] = limit;
|
|
32210
|
+
}
|
|
32211
|
+
|
|
32212
|
+
if (lastRetrieved !== undefined) {
|
|
32213
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
32214
|
+
(lastRetrieved as any).toISOString() :
|
|
32215
|
+
lastRetrieved;
|
|
32216
|
+
}
|
|
32217
|
+
|
|
30325
32218
|
|
|
30326
32219
|
|
|
30327
32220
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -30335,29 +32228,17 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
30335
32228
|
},
|
|
30336
32229
|
/**
|
|
30337
32230
|
*
|
|
30338
|
-
* @summary
|
|
32231
|
+
* @summary Create HospitalWorkingDay.
|
|
30339
32232
|
* @param {string} hospitalId
|
|
30340
|
-
* @param {
|
|
30341
|
-
* @param {string} serviceId
|
|
30342
|
-
* @param {string} mediaId
|
|
30343
|
-
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
32233
|
+
* @param {CreateHospitalWorkingDayCommand} [createHospitalWorkingDayCommand]
|
|
30344
32234
|
* @param {*} [options] Override http request option.
|
|
30345
32235
|
* @throws {RequiredError}
|
|
30346
32236
|
*/
|
|
30347
|
-
|
|
32237
|
+
apiV1HospitalsHospitalIdWorkingdaysPost: async (hospitalId: string, createHospitalWorkingDayCommand?: CreateHospitalWorkingDayCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30348
32238
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
30349
|
-
assertParamExists('
|
|
30350
|
-
|
|
30351
|
-
|
|
30352
|
-
// verify required parameter 'serviceId' is not null or undefined
|
|
30353
|
-
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut', 'serviceId', serviceId)
|
|
30354
|
-
// verify required parameter 'mediaId' is not null or undefined
|
|
30355
|
-
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut', 'mediaId', mediaId)
|
|
30356
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/medias/{mediaId}`
|
|
30357
|
-
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
30358
|
-
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
|
|
30359
|
-
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)))
|
|
30360
|
-
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
32239
|
+
assertParamExists('apiV1HospitalsHospitalIdWorkingdaysPost', 'hospitalId', hospitalId)
|
|
32240
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/workingdays`
|
|
32241
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
30361
32242
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30362
32243
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30363
32244
|
let baseOptions;
|
|
@@ -30365,7 +32246,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
30365
32246
|
baseOptions = configuration.baseOptions;
|
|
30366
32247
|
}
|
|
30367
32248
|
|
|
30368
|
-
const localVarRequestOptions = { method: '
|
|
32249
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
30369
32250
|
const localVarHeaderParameter = {} as any;
|
|
30370
32251
|
const localVarQueryParameter = {} as any;
|
|
30371
32252
|
|
|
@@ -30380,7 +32261,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
30380
32261
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30381
32262
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30382
32263
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30383
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
32264
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createHospitalWorkingDayCommand, localVarRequestOptions, configuration)
|
|
30384
32265
|
|
|
30385
32266
|
return {
|
|
30386
32267
|
url: toPathString(localVarUrlObj),
|
|
@@ -30389,25 +32270,20 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
30389
32270
|
},
|
|
30390
32271
|
/**
|
|
30391
32272
|
*
|
|
30392
|
-
* @summary
|
|
32273
|
+
* @summary Delete HospitalWorkingDay.
|
|
30393
32274
|
* @param {string} hospitalId
|
|
30394
|
-
* @param {string}
|
|
30395
|
-
* @param {string} serviceId
|
|
30396
|
-
* @param {CreateMediaCommand} [createMediaCommand]
|
|
32275
|
+
* @param {string} workingDayId
|
|
30397
32276
|
* @param {*} [options] Override http request option.
|
|
30398
32277
|
* @throws {RequiredError}
|
|
30399
32278
|
*/
|
|
30400
|
-
|
|
32279
|
+
apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete: async (hospitalId: string, workingDayId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30401
32280
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
30402
|
-
assertParamExists('
|
|
30403
|
-
// verify required parameter '
|
|
30404
|
-
assertParamExists('
|
|
30405
|
-
|
|
30406
|
-
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost', 'serviceId', serviceId)
|
|
30407
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/medias`
|
|
32281
|
+
assertParamExists('apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete', 'hospitalId', hospitalId)
|
|
32282
|
+
// verify required parameter 'workingDayId' is not null or undefined
|
|
32283
|
+
assertParamExists('apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete', 'workingDayId', workingDayId)
|
|
32284
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/workingdays/{workingDayId}`
|
|
30408
32285
|
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
30409
|
-
.replace(`{${"
|
|
30410
|
-
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
|
|
32286
|
+
.replace(`{${"workingDayId"}}`, encodeURIComponent(String(workingDayId)));
|
|
30411
32287
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30412
32288
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30413
32289
|
let baseOptions;
|
|
@@ -30415,7 +32291,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
30415
32291
|
baseOptions = configuration.baseOptions;
|
|
30416
32292
|
}
|
|
30417
32293
|
|
|
30418
|
-
const localVarRequestOptions = { method: '
|
|
32294
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
30419
32295
|
const localVarHeaderParameter = {} as any;
|
|
30420
32296
|
const localVarQueryParameter = {} as any;
|
|
30421
32297
|
|
|
@@ -30425,12 +32301,51 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
30425
32301
|
|
|
30426
32302
|
|
|
30427
32303
|
|
|
30428
|
-
|
|
32304
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32305
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32306
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30429
32307
|
|
|
32308
|
+
return {
|
|
32309
|
+
url: toPathString(localVarUrlObj),
|
|
32310
|
+
options: localVarRequestOptions,
|
|
32311
|
+
};
|
|
32312
|
+
},
|
|
32313
|
+
/**
|
|
32314
|
+
*
|
|
32315
|
+
* @summary Get HospitalWorkingDay.
|
|
32316
|
+
* @param {string} hospitalId
|
|
32317
|
+
* @param {string} workingDayId
|
|
32318
|
+
* @param {*} [options] Override http request option.
|
|
32319
|
+
* @throws {RequiredError}
|
|
32320
|
+
*/
|
|
32321
|
+
apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet: async (hospitalId: string, workingDayId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32322
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
32323
|
+
assertParamExists('apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet', 'hospitalId', hospitalId)
|
|
32324
|
+
// verify required parameter 'workingDayId' is not null or undefined
|
|
32325
|
+
assertParamExists('apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet', 'workingDayId', workingDayId)
|
|
32326
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/workingdays/{workingDayId}`
|
|
32327
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
32328
|
+
.replace(`{${"workingDayId"}}`, encodeURIComponent(String(workingDayId)));
|
|
32329
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32330
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32331
|
+
let baseOptions;
|
|
32332
|
+
if (configuration) {
|
|
32333
|
+
baseOptions = configuration.baseOptions;
|
|
32334
|
+
}
|
|
32335
|
+
|
|
32336
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
32337
|
+
const localVarHeaderParameter = {} as any;
|
|
32338
|
+
const localVarQueryParameter = {} as any;
|
|
32339
|
+
|
|
32340
|
+
// authentication oauth2 required
|
|
32341
|
+
// oauth required
|
|
32342
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
32343
|
+
|
|
32344
|
+
|
|
32345
|
+
|
|
30430
32346
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30431
32347
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30432
32348
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30433
|
-
localVarRequestOptions.data = serializeDataIfNeeded(createMediaCommand, localVarRequestOptions, configuration)
|
|
30434
32349
|
|
|
30435
32350
|
return {
|
|
30436
32351
|
url: toPathString(localVarUrlObj),
|
|
@@ -30439,25 +32354,21 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
30439
32354
|
},
|
|
30440
32355
|
/**
|
|
30441
32356
|
*
|
|
30442
|
-
* @summary Update
|
|
32357
|
+
* @summary Update HospitalWorkingDay.
|
|
30443
32358
|
* @param {string} hospitalId
|
|
30444
|
-
* @param {string}
|
|
30445
|
-
* @param {
|
|
30446
|
-
* @param {UpdateHospitalServiceCommand} [updateHospitalServiceCommand]
|
|
32359
|
+
* @param {string} workingDayId
|
|
32360
|
+
* @param {UpdateHospitalWorkingDayCommand} [updateHospitalWorkingDayCommand]
|
|
30447
32361
|
* @param {*} [options] Override http request option.
|
|
30448
32362
|
* @throws {RequiredError}
|
|
30449
32363
|
*/
|
|
30450
|
-
|
|
32364
|
+
apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut: async (hospitalId: string, workingDayId: string, updateHospitalWorkingDayCommand?: UpdateHospitalWorkingDayCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30451
32365
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
30452
|
-
assertParamExists('
|
|
30453
|
-
// verify required parameter '
|
|
30454
|
-
assertParamExists('
|
|
30455
|
-
|
|
30456
|
-
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut', 'serviceId', serviceId)
|
|
30457
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}`
|
|
32366
|
+
assertParamExists('apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut', 'hospitalId', hospitalId)
|
|
32367
|
+
// verify required parameter 'workingDayId' is not null or undefined
|
|
32368
|
+
assertParamExists('apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut', 'workingDayId', workingDayId)
|
|
32369
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/workingdays/{workingDayId}`
|
|
30458
32370
|
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
30459
|
-
.replace(`{${"
|
|
30460
|
-
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
|
|
32371
|
+
.replace(`{${"workingDayId"}}`, encodeURIComponent(String(workingDayId)));
|
|
30461
32372
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30462
32373
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30463
32374
|
let baseOptions;
|
|
@@ -30480,7 +32391,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
30480
32391
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30481
32392
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30482
32393
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30483
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
32394
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalWorkingDayCommand, localVarRequestOptions, configuration)
|
|
30484
32395
|
|
|
30485
32396
|
return {
|
|
30486
32397
|
url: toPathString(localVarUrlObj),
|
|
@@ -30541,13 +32452,14 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
30541
32452
|
* @param {string} [languageCode]
|
|
30542
32453
|
* @param {Array<string>} [ids]
|
|
30543
32454
|
* @param {boolean} [returnDefaultValue]
|
|
32455
|
+
* @param {boolean} [paymentEnabled]
|
|
30544
32456
|
* @param {number} [page]
|
|
30545
32457
|
* @param {number} [limit]
|
|
30546
32458
|
* @param {Date} [lastRetrieved]
|
|
30547
32459
|
* @param {*} [options] Override http request option.
|
|
30548
32460
|
* @throws {RequiredError}
|
|
30549
32461
|
*/
|
|
30550
|
-
apiV1HospitalsSimpleGet: async (hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32462
|
+
apiV1HospitalsSimpleGet: async (hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30551
32463
|
const localVarPath = `/api/v1/hospitals/simple`;
|
|
30552
32464
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30553
32465
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -30618,6 +32530,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
30618
32530
|
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
30619
32531
|
}
|
|
30620
32532
|
|
|
32533
|
+
if (paymentEnabled !== undefined) {
|
|
32534
|
+
localVarQueryParameter['PaymentEnabled'] = paymentEnabled;
|
|
32535
|
+
}
|
|
32536
|
+
|
|
30621
32537
|
if (page !== undefined) {
|
|
30622
32538
|
localVarQueryParameter['page'] = page;
|
|
30623
32539
|
}
|
|
@@ -30716,14 +32632,15 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
30716
32632
|
* @param {string} [languageCode]
|
|
30717
32633
|
* @param {Array<string>} [ids]
|
|
30718
32634
|
* @param {boolean} [returnDefaultValue]
|
|
32635
|
+
* @param {boolean} [paymentEnabled]
|
|
30719
32636
|
* @param {number} [page]
|
|
30720
32637
|
* @param {number} [limit]
|
|
30721
32638
|
* @param {Date} [lastRetrieved]
|
|
30722
32639
|
* @param {*} [options] Override http request option.
|
|
30723
32640
|
* @throws {RequiredError}
|
|
30724
32641
|
*/
|
|
30725
|
-
async apiV1HospitalsGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsModel>> {
|
|
30726
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
32642
|
+
async apiV1HospitalsGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsModel>> {
|
|
32643
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options);
|
|
30727
32644
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30728
32645
|
},
|
|
30729
32646
|
/**
|
|
@@ -31008,6 +32925,73 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
31008
32925
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options);
|
|
31009
32926
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
31010
32927
|
},
|
|
32928
|
+
/**
|
|
32929
|
+
*
|
|
32930
|
+
* @summary Get all HospitalHandles.
|
|
32931
|
+
* @param {string} hospitalId
|
|
32932
|
+
* @param {string} [hospitalId2]
|
|
32933
|
+
* @param {string} [id]
|
|
32934
|
+
* @param {SnsType} [snsType]
|
|
32935
|
+
* @param {string} [handle]
|
|
32936
|
+
* @param {number} [page]
|
|
32937
|
+
* @param {number} [limit]
|
|
32938
|
+
* @param {Date} [lastRetrieved]
|
|
32939
|
+
* @param {*} [options] Override http request option.
|
|
32940
|
+
* @throws {RequiredError}
|
|
32941
|
+
*/
|
|
32942
|
+
async apiV1HospitalsHospitalIdHandlesGet(hospitalId: string, hospitalId2?: string, id?: string, snsType?: SnsType, handle?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSnsHandlesModel>> {
|
|
32943
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdHandlesGet(hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options);
|
|
32944
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
32945
|
+
},
|
|
32946
|
+
/**
|
|
32947
|
+
*
|
|
32948
|
+
* @summary Delete HospitalHandle.
|
|
32949
|
+
* @param {string} hospitalId
|
|
32950
|
+
* @param {string} handleId
|
|
32951
|
+
* @param {*} [options] Override http request option.
|
|
32952
|
+
* @throws {RequiredError}
|
|
32953
|
+
*/
|
|
32954
|
+
async apiV1HospitalsHospitalIdHandlesHandleIdDelete(hospitalId: string, handleId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
32955
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdHandlesHandleIdDelete(hospitalId, handleId, options);
|
|
32956
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
32957
|
+
},
|
|
32958
|
+
/**
|
|
32959
|
+
*
|
|
32960
|
+
* @summary Get HospitalHandle.
|
|
32961
|
+
* @param {string} hospitalId
|
|
32962
|
+
* @param {string} handleId
|
|
32963
|
+
* @param {*} [options] Override http request option.
|
|
32964
|
+
* @throws {RequiredError}
|
|
32965
|
+
*/
|
|
32966
|
+
async apiV1HospitalsHospitalIdHandlesHandleIdGet(hospitalId: string, handleId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SnsHandleModel>> {
|
|
32967
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdHandlesHandleIdGet(hospitalId, handleId, options);
|
|
32968
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
32969
|
+
},
|
|
32970
|
+
/**
|
|
32971
|
+
*
|
|
32972
|
+
* @summary Update HospitalHandle.
|
|
32973
|
+
* @param {string} hospitalId
|
|
32974
|
+
* @param {string} handleId
|
|
32975
|
+
* @param {UpdateHospitalSnsHandleCommand} [updateHospitalSnsHandleCommand]
|
|
32976
|
+
* @param {*} [options] Override http request option.
|
|
32977
|
+
* @throws {RequiredError}
|
|
32978
|
+
*/
|
|
32979
|
+
async apiV1HospitalsHospitalIdHandlesHandleIdPut(hospitalId: string, handleId: string, updateHospitalSnsHandleCommand?: UpdateHospitalSnsHandleCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SnsHandleModel>> {
|
|
32980
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdHandlesHandleIdPut(hospitalId, handleId, updateHospitalSnsHandleCommand, options);
|
|
32981
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
32982
|
+
},
|
|
32983
|
+
/**
|
|
32984
|
+
*
|
|
32985
|
+
* @summary Get HospitalHandle.
|
|
32986
|
+
* @param {string} hospitalId
|
|
32987
|
+
* @param {CreateHospitalSnsHandleCommand} [createHospitalSnsHandleCommand]
|
|
32988
|
+
* @param {*} [options] Override http request option.
|
|
32989
|
+
* @throws {RequiredError}
|
|
32990
|
+
*/
|
|
32991
|
+
async apiV1HospitalsHospitalIdHandlesPost(hospitalId: string, createHospitalSnsHandleCommand?: CreateHospitalSnsHandleCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SnsHandleModel>> {
|
|
32992
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdHandlesPost(hospitalId, createHospitalSnsHandleCommand, options);
|
|
32993
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
32994
|
+
},
|
|
31011
32995
|
/**
|
|
31012
32996
|
*
|
|
31013
32997
|
* @summary Get all HospitalMedias.
|
|
@@ -31346,6 +33330,75 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
31346
33330
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options);
|
|
31347
33331
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
31348
33332
|
},
|
|
33333
|
+
/**
|
|
33334
|
+
*
|
|
33335
|
+
* @summary Get all HospitalWorkingDays.
|
|
33336
|
+
* @param {string} hospitalId
|
|
33337
|
+
* @param {string} [hospitalId2]
|
|
33338
|
+
* @param {string} [id]
|
|
33339
|
+
* @param {string} [dayOfWeek]
|
|
33340
|
+
* @param {Date} [timeFrom]
|
|
33341
|
+
* @param {Date} [timeTo]
|
|
33342
|
+
* @param {boolean} [checkHoliday]
|
|
33343
|
+
* @param {number} [page]
|
|
33344
|
+
* @param {number} [limit]
|
|
33345
|
+
* @param {Date} [lastRetrieved]
|
|
33346
|
+
* @param {*} [options] Override http request option.
|
|
33347
|
+
* @throws {RequiredError}
|
|
33348
|
+
*/
|
|
33349
|
+
async apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId: string, hospitalId2?: string, id?: string, dayOfWeek?: string, timeFrom?: Date, timeTo?: Date, checkHoliday?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkingDaysModel>> {
|
|
33350
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options);
|
|
33351
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33352
|
+
},
|
|
33353
|
+
/**
|
|
33354
|
+
*
|
|
33355
|
+
* @summary Create HospitalWorkingDay.
|
|
33356
|
+
* @param {string} hospitalId
|
|
33357
|
+
* @param {CreateHospitalWorkingDayCommand} [createHospitalWorkingDayCommand]
|
|
33358
|
+
* @param {*} [options] Override http request option.
|
|
33359
|
+
* @throws {RequiredError}
|
|
33360
|
+
*/
|
|
33361
|
+
async apiV1HospitalsHospitalIdWorkingdaysPost(hospitalId: string, createHospitalWorkingDayCommand?: CreateHospitalWorkingDayCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SnsHandleModel>> {
|
|
33362
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysPost(hospitalId, createHospitalWorkingDayCommand, options);
|
|
33363
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33364
|
+
},
|
|
33365
|
+
/**
|
|
33366
|
+
*
|
|
33367
|
+
* @summary Delete HospitalWorkingDay.
|
|
33368
|
+
* @param {string} hospitalId
|
|
33369
|
+
* @param {string} workingDayId
|
|
33370
|
+
* @param {*} [options] Override http request option.
|
|
33371
|
+
* @throws {RequiredError}
|
|
33372
|
+
*/
|
|
33373
|
+
async apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete(hospitalId: string, workingDayId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
33374
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete(hospitalId, workingDayId, options);
|
|
33375
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33376
|
+
},
|
|
33377
|
+
/**
|
|
33378
|
+
*
|
|
33379
|
+
* @summary Get HospitalWorkingDay.
|
|
33380
|
+
* @param {string} hospitalId
|
|
33381
|
+
* @param {string} workingDayId
|
|
33382
|
+
* @param {*} [options] Override http request option.
|
|
33383
|
+
* @throws {RequiredError}
|
|
33384
|
+
*/
|
|
33385
|
+
async apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet(hospitalId: string, workingDayId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkingDayModel>> {
|
|
33386
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet(hospitalId, workingDayId, options);
|
|
33387
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33388
|
+
},
|
|
33389
|
+
/**
|
|
33390
|
+
*
|
|
33391
|
+
* @summary Update HospitalWorkingDay.
|
|
33392
|
+
* @param {string} hospitalId
|
|
33393
|
+
* @param {string} workingDayId
|
|
33394
|
+
* @param {UpdateHospitalWorkingDayCommand} [updateHospitalWorkingDayCommand]
|
|
33395
|
+
* @param {*} [options] Override http request option.
|
|
33396
|
+
* @throws {RequiredError}
|
|
33397
|
+
*/
|
|
33398
|
+
async apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut(hospitalId: string, workingDayId: string, updateHospitalWorkingDayCommand?: UpdateHospitalWorkingDayCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkingDayModel>> {
|
|
33399
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut(hospitalId, workingDayId, updateHospitalWorkingDayCommand, options);
|
|
33400
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33401
|
+
},
|
|
31349
33402
|
/**
|
|
31350
33403
|
*
|
|
31351
33404
|
* @summary Create Hospital.
|
|
@@ -31373,14 +33426,15 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
31373
33426
|
* @param {string} [languageCode]
|
|
31374
33427
|
* @param {Array<string>} [ids]
|
|
31375
33428
|
* @param {boolean} [returnDefaultValue]
|
|
33429
|
+
* @param {boolean} [paymentEnabled]
|
|
31376
33430
|
* @param {number} [page]
|
|
31377
33431
|
* @param {number} [limit]
|
|
31378
33432
|
* @param {Date} [lastRetrieved]
|
|
31379
33433
|
* @param {*} [options] Override http request option.
|
|
31380
33434
|
* @throws {RequiredError}
|
|
31381
33435
|
*/
|
|
31382
|
-
async apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsSimpleModel>> {
|
|
31383
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
33436
|
+
async apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsSimpleModel>> {
|
|
33437
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options);
|
|
31384
33438
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
31385
33439
|
},
|
|
31386
33440
|
/**
|
|
@@ -31421,14 +33475,15 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
31421
33475
|
* @param {string} [languageCode]
|
|
31422
33476
|
* @param {Array<string>} [ids]
|
|
31423
33477
|
* @param {boolean} [returnDefaultValue]
|
|
33478
|
+
* @param {boolean} [paymentEnabled]
|
|
31424
33479
|
* @param {number} [page]
|
|
31425
33480
|
* @param {number} [limit]
|
|
31426
33481
|
* @param {Date} [lastRetrieved]
|
|
31427
33482
|
* @param {*} [options] Override http request option.
|
|
31428
33483
|
* @throws {RequiredError}
|
|
31429
33484
|
*/
|
|
31430
|
-
apiV1HospitalsGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsModel> {
|
|
31431
|
-
return localVarFp.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
33485
|
+
apiV1HospitalsGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsModel> {
|
|
33486
|
+
return localVarFp.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
31432
33487
|
},
|
|
31433
33488
|
/**
|
|
31434
33489
|
*
|
|
@@ -31691,6 +33746,68 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
31691
33746
|
apiV1HospitalsHospitalIdGet(hospitalId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<HospitalModel> {
|
|
31692
33747
|
return localVarFp.apiV1HospitalsHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
31693
33748
|
},
|
|
33749
|
+
/**
|
|
33750
|
+
*
|
|
33751
|
+
* @summary Get all HospitalHandles.
|
|
33752
|
+
* @param {string} hospitalId
|
|
33753
|
+
* @param {string} [hospitalId2]
|
|
33754
|
+
* @param {string} [id]
|
|
33755
|
+
* @param {SnsType} [snsType]
|
|
33756
|
+
* @param {string} [handle]
|
|
33757
|
+
* @param {number} [page]
|
|
33758
|
+
* @param {number} [limit]
|
|
33759
|
+
* @param {Date} [lastRetrieved]
|
|
33760
|
+
* @param {*} [options] Override http request option.
|
|
33761
|
+
* @throws {RequiredError}
|
|
33762
|
+
*/
|
|
33763
|
+
apiV1HospitalsHospitalIdHandlesGet(hospitalId: string, hospitalId2?: string, id?: string, snsType?: SnsType, handle?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSnsHandlesModel> {
|
|
33764
|
+
return localVarFp.apiV1HospitalsHospitalIdHandlesGet(hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
33765
|
+
},
|
|
33766
|
+
/**
|
|
33767
|
+
*
|
|
33768
|
+
* @summary Delete HospitalHandle.
|
|
33769
|
+
* @param {string} hospitalId
|
|
33770
|
+
* @param {string} handleId
|
|
33771
|
+
* @param {*} [options] Override http request option.
|
|
33772
|
+
* @throws {RequiredError}
|
|
33773
|
+
*/
|
|
33774
|
+
apiV1HospitalsHospitalIdHandlesHandleIdDelete(hospitalId: string, handleId: string, options?: any): AxiosPromise<boolean> {
|
|
33775
|
+
return localVarFp.apiV1HospitalsHospitalIdHandlesHandleIdDelete(hospitalId, handleId, options).then((request) => request(axios, basePath));
|
|
33776
|
+
},
|
|
33777
|
+
/**
|
|
33778
|
+
*
|
|
33779
|
+
* @summary Get HospitalHandle.
|
|
33780
|
+
* @param {string} hospitalId
|
|
33781
|
+
* @param {string} handleId
|
|
33782
|
+
* @param {*} [options] Override http request option.
|
|
33783
|
+
* @throws {RequiredError}
|
|
33784
|
+
*/
|
|
33785
|
+
apiV1HospitalsHospitalIdHandlesHandleIdGet(hospitalId: string, handleId: string, options?: any): AxiosPromise<SnsHandleModel> {
|
|
33786
|
+
return localVarFp.apiV1HospitalsHospitalIdHandlesHandleIdGet(hospitalId, handleId, options).then((request) => request(axios, basePath));
|
|
33787
|
+
},
|
|
33788
|
+
/**
|
|
33789
|
+
*
|
|
33790
|
+
* @summary Update HospitalHandle.
|
|
33791
|
+
* @param {string} hospitalId
|
|
33792
|
+
* @param {string} handleId
|
|
33793
|
+
* @param {UpdateHospitalSnsHandleCommand} [updateHospitalSnsHandleCommand]
|
|
33794
|
+
* @param {*} [options] Override http request option.
|
|
33795
|
+
* @throws {RequiredError}
|
|
33796
|
+
*/
|
|
33797
|
+
apiV1HospitalsHospitalIdHandlesHandleIdPut(hospitalId: string, handleId: string, updateHospitalSnsHandleCommand?: UpdateHospitalSnsHandleCommand, options?: any): AxiosPromise<SnsHandleModel> {
|
|
33798
|
+
return localVarFp.apiV1HospitalsHospitalIdHandlesHandleIdPut(hospitalId, handleId, updateHospitalSnsHandleCommand, options).then((request) => request(axios, basePath));
|
|
33799
|
+
},
|
|
33800
|
+
/**
|
|
33801
|
+
*
|
|
33802
|
+
* @summary Get HospitalHandle.
|
|
33803
|
+
* @param {string} hospitalId
|
|
33804
|
+
* @param {CreateHospitalSnsHandleCommand} [createHospitalSnsHandleCommand]
|
|
33805
|
+
* @param {*} [options] Override http request option.
|
|
33806
|
+
* @throws {RequiredError}
|
|
33807
|
+
*/
|
|
33808
|
+
apiV1HospitalsHospitalIdHandlesPost(hospitalId: string, createHospitalSnsHandleCommand?: CreateHospitalSnsHandleCommand, options?: any): AxiosPromise<SnsHandleModel> {
|
|
33809
|
+
return localVarFp.apiV1HospitalsHospitalIdHandlesPost(hospitalId, createHospitalSnsHandleCommand, options).then((request) => request(axios, basePath));
|
|
33810
|
+
},
|
|
31694
33811
|
/**
|
|
31695
33812
|
*
|
|
31696
33813
|
* @summary Get all HospitalMedias.
|
|
@@ -32007,6 +34124,70 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
32007
34124
|
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId: string, specialtyId: string, serviceId: string, updateHospitalServiceCommand?: UpdateHospitalServiceCommand, options?: any): AxiosPromise<HospitalServiceModel> {
|
|
32008
34125
|
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options).then((request) => request(axios, basePath));
|
|
32009
34126
|
},
|
|
34127
|
+
/**
|
|
34128
|
+
*
|
|
34129
|
+
* @summary Get all HospitalWorkingDays.
|
|
34130
|
+
* @param {string} hospitalId
|
|
34131
|
+
* @param {string} [hospitalId2]
|
|
34132
|
+
* @param {string} [id]
|
|
34133
|
+
* @param {string} [dayOfWeek]
|
|
34134
|
+
* @param {Date} [timeFrom]
|
|
34135
|
+
* @param {Date} [timeTo]
|
|
34136
|
+
* @param {boolean} [checkHoliday]
|
|
34137
|
+
* @param {number} [page]
|
|
34138
|
+
* @param {number} [limit]
|
|
34139
|
+
* @param {Date} [lastRetrieved]
|
|
34140
|
+
* @param {*} [options] Override http request option.
|
|
34141
|
+
* @throws {RequiredError}
|
|
34142
|
+
*/
|
|
34143
|
+
apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId: string, hospitalId2?: string, id?: string, dayOfWeek?: string, timeFrom?: Date, timeTo?: Date, checkHoliday?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<WorkingDaysModel> {
|
|
34144
|
+
return localVarFp.apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
34145
|
+
},
|
|
34146
|
+
/**
|
|
34147
|
+
*
|
|
34148
|
+
* @summary Create HospitalWorkingDay.
|
|
34149
|
+
* @param {string} hospitalId
|
|
34150
|
+
* @param {CreateHospitalWorkingDayCommand} [createHospitalWorkingDayCommand]
|
|
34151
|
+
* @param {*} [options] Override http request option.
|
|
34152
|
+
* @throws {RequiredError}
|
|
34153
|
+
*/
|
|
34154
|
+
apiV1HospitalsHospitalIdWorkingdaysPost(hospitalId: string, createHospitalWorkingDayCommand?: CreateHospitalWorkingDayCommand, options?: any): AxiosPromise<SnsHandleModel> {
|
|
34155
|
+
return localVarFp.apiV1HospitalsHospitalIdWorkingdaysPost(hospitalId, createHospitalWorkingDayCommand, options).then((request) => request(axios, basePath));
|
|
34156
|
+
},
|
|
34157
|
+
/**
|
|
34158
|
+
*
|
|
34159
|
+
* @summary Delete HospitalWorkingDay.
|
|
34160
|
+
* @param {string} hospitalId
|
|
34161
|
+
* @param {string} workingDayId
|
|
34162
|
+
* @param {*} [options] Override http request option.
|
|
34163
|
+
* @throws {RequiredError}
|
|
34164
|
+
*/
|
|
34165
|
+
apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete(hospitalId: string, workingDayId: string, options?: any): AxiosPromise<boolean> {
|
|
34166
|
+
return localVarFp.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete(hospitalId, workingDayId, options).then((request) => request(axios, basePath));
|
|
34167
|
+
},
|
|
34168
|
+
/**
|
|
34169
|
+
*
|
|
34170
|
+
* @summary Get HospitalWorkingDay.
|
|
34171
|
+
* @param {string} hospitalId
|
|
34172
|
+
* @param {string} workingDayId
|
|
34173
|
+
* @param {*} [options] Override http request option.
|
|
34174
|
+
* @throws {RequiredError}
|
|
34175
|
+
*/
|
|
34176
|
+
apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet(hospitalId: string, workingDayId: string, options?: any): AxiosPromise<WorkingDayModel> {
|
|
34177
|
+
return localVarFp.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet(hospitalId, workingDayId, options).then((request) => request(axios, basePath));
|
|
34178
|
+
},
|
|
34179
|
+
/**
|
|
34180
|
+
*
|
|
34181
|
+
* @summary Update HospitalWorkingDay.
|
|
34182
|
+
* @param {string} hospitalId
|
|
34183
|
+
* @param {string} workingDayId
|
|
34184
|
+
* @param {UpdateHospitalWorkingDayCommand} [updateHospitalWorkingDayCommand]
|
|
34185
|
+
* @param {*} [options] Override http request option.
|
|
34186
|
+
* @throws {RequiredError}
|
|
34187
|
+
*/
|
|
34188
|
+
apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut(hospitalId: string, workingDayId: string, updateHospitalWorkingDayCommand?: UpdateHospitalWorkingDayCommand, options?: any): AxiosPromise<WorkingDayModel> {
|
|
34189
|
+
return localVarFp.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut(hospitalId, workingDayId, updateHospitalWorkingDayCommand, options).then((request) => request(axios, basePath));
|
|
34190
|
+
},
|
|
32010
34191
|
/**
|
|
32011
34192
|
*
|
|
32012
34193
|
* @summary Create Hospital.
|
|
@@ -32033,14 +34214,15 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
32033
34214
|
* @param {string} [languageCode]
|
|
32034
34215
|
* @param {Array<string>} [ids]
|
|
32035
34216
|
* @param {boolean} [returnDefaultValue]
|
|
34217
|
+
* @param {boolean} [paymentEnabled]
|
|
32036
34218
|
* @param {number} [page]
|
|
32037
34219
|
* @param {number} [limit]
|
|
32038
34220
|
* @param {Date} [lastRetrieved]
|
|
32039
34221
|
* @param {*} [options] Override http request option.
|
|
32040
34222
|
* @throws {RequiredError}
|
|
32041
34223
|
*/
|
|
32042
|
-
apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsSimpleModel> {
|
|
32043
|
-
return localVarFp.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
34224
|
+
apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsSimpleModel> {
|
|
34225
|
+
return localVarFp.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
32044
34226
|
},
|
|
32045
34227
|
/**
|
|
32046
34228
|
*
|
|
@@ -32079,6 +34261,7 @@ export class HospitalsApi extends BaseAPI {
|
|
|
32079
34261
|
* @param {string} [languageCode]
|
|
32080
34262
|
* @param {Array<string>} [ids]
|
|
32081
34263
|
* @param {boolean} [returnDefaultValue]
|
|
34264
|
+
* @param {boolean} [paymentEnabled]
|
|
32082
34265
|
* @param {number} [page]
|
|
32083
34266
|
* @param {number} [limit]
|
|
32084
34267
|
* @param {Date} [lastRetrieved]
|
|
@@ -32086,8 +34269,8 @@ export class HospitalsApi extends BaseAPI {
|
|
|
32086
34269
|
* @throws {RequiredError}
|
|
32087
34270
|
* @memberof HospitalsApi
|
|
32088
34271
|
*/
|
|
32089
|
-
public apiV1HospitalsGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
32090
|
-
return HospitalsApiFp(this.configuration).apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
34272
|
+
public apiV1HospitalsGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
34273
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
32091
34274
|
}
|
|
32092
34275
|
|
|
32093
34276
|
/**
|
|
@@ -32393,6 +34576,78 @@ export class HospitalsApi extends BaseAPI {
|
|
|
32393
34576
|
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
32394
34577
|
}
|
|
32395
34578
|
|
|
34579
|
+
/**
|
|
34580
|
+
*
|
|
34581
|
+
* @summary Get all HospitalHandles.
|
|
34582
|
+
* @param {string} hospitalId
|
|
34583
|
+
* @param {string} [hospitalId2]
|
|
34584
|
+
* @param {string} [id]
|
|
34585
|
+
* @param {SnsType} [snsType]
|
|
34586
|
+
* @param {string} [handle]
|
|
34587
|
+
* @param {number} [page]
|
|
34588
|
+
* @param {number} [limit]
|
|
34589
|
+
* @param {Date} [lastRetrieved]
|
|
34590
|
+
* @param {*} [options] Override http request option.
|
|
34591
|
+
* @throws {RequiredError}
|
|
34592
|
+
* @memberof HospitalsApi
|
|
34593
|
+
*/
|
|
34594
|
+
public apiV1HospitalsHospitalIdHandlesGet(hospitalId: string, hospitalId2?: string, id?: string, snsType?: SnsType, handle?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
34595
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdHandlesGet(hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
34596
|
+
}
|
|
34597
|
+
|
|
34598
|
+
/**
|
|
34599
|
+
*
|
|
34600
|
+
* @summary Delete HospitalHandle.
|
|
34601
|
+
* @param {string} hospitalId
|
|
34602
|
+
* @param {string} handleId
|
|
34603
|
+
* @param {*} [options] Override http request option.
|
|
34604
|
+
* @throws {RequiredError}
|
|
34605
|
+
* @memberof HospitalsApi
|
|
34606
|
+
*/
|
|
34607
|
+
public apiV1HospitalsHospitalIdHandlesHandleIdDelete(hospitalId: string, handleId: string, options?: AxiosRequestConfig) {
|
|
34608
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdHandlesHandleIdDelete(hospitalId, handleId, options).then((request) => request(this.axios, this.basePath));
|
|
34609
|
+
}
|
|
34610
|
+
|
|
34611
|
+
/**
|
|
34612
|
+
*
|
|
34613
|
+
* @summary Get HospitalHandle.
|
|
34614
|
+
* @param {string} hospitalId
|
|
34615
|
+
* @param {string} handleId
|
|
34616
|
+
* @param {*} [options] Override http request option.
|
|
34617
|
+
* @throws {RequiredError}
|
|
34618
|
+
* @memberof HospitalsApi
|
|
34619
|
+
*/
|
|
34620
|
+
public apiV1HospitalsHospitalIdHandlesHandleIdGet(hospitalId: string, handleId: string, options?: AxiosRequestConfig) {
|
|
34621
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdHandlesHandleIdGet(hospitalId, handleId, options).then((request) => request(this.axios, this.basePath));
|
|
34622
|
+
}
|
|
34623
|
+
|
|
34624
|
+
/**
|
|
34625
|
+
*
|
|
34626
|
+
* @summary Update HospitalHandle.
|
|
34627
|
+
* @param {string} hospitalId
|
|
34628
|
+
* @param {string} handleId
|
|
34629
|
+
* @param {UpdateHospitalSnsHandleCommand} [updateHospitalSnsHandleCommand]
|
|
34630
|
+
* @param {*} [options] Override http request option.
|
|
34631
|
+
* @throws {RequiredError}
|
|
34632
|
+
* @memberof HospitalsApi
|
|
34633
|
+
*/
|
|
34634
|
+
public apiV1HospitalsHospitalIdHandlesHandleIdPut(hospitalId: string, handleId: string, updateHospitalSnsHandleCommand?: UpdateHospitalSnsHandleCommand, options?: AxiosRequestConfig) {
|
|
34635
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdHandlesHandleIdPut(hospitalId, handleId, updateHospitalSnsHandleCommand, options).then((request) => request(this.axios, this.basePath));
|
|
34636
|
+
}
|
|
34637
|
+
|
|
34638
|
+
/**
|
|
34639
|
+
*
|
|
34640
|
+
* @summary Get HospitalHandle.
|
|
34641
|
+
* @param {string} hospitalId
|
|
34642
|
+
* @param {CreateHospitalSnsHandleCommand} [createHospitalSnsHandleCommand]
|
|
34643
|
+
* @param {*} [options] Override http request option.
|
|
34644
|
+
* @throws {RequiredError}
|
|
34645
|
+
* @memberof HospitalsApi
|
|
34646
|
+
*/
|
|
34647
|
+
public apiV1HospitalsHospitalIdHandlesPost(hospitalId: string, createHospitalSnsHandleCommand?: CreateHospitalSnsHandleCommand, options?: AxiosRequestConfig) {
|
|
34648
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdHandlesPost(hospitalId, createHospitalSnsHandleCommand, options).then((request) => request(this.axios, this.basePath));
|
|
34649
|
+
}
|
|
34650
|
+
|
|
32396
34651
|
/**
|
|
32397
34652
|
*
|
|
32398
34653
|
* @summary Get all HospitalMedias.
|
|
@@ -32753,6 +35008,80 @@ export class HospitalsApi extends BaseAPI {
|
|
|
32753
35008
|
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options).then((request) => request(this.axios, this.basePath));
|
|
32754
35009
|
}
|
|
32755
35010
|
|
|
35011
|
+
/**
|
|
35012
|
+
*
|
|
35013
|
+
* @summary Get all HospitalWorkingDays.
|
|
35014
|
+
* @param {string} hospitalId
|
|
35015
|
+
* @param {string} [hospitalId2]
|
|
35016
|
+
* @param {string} [id]
|
|
35017
|
+
* @param {string} [dayOfWeek]
|
|
35018
|
+
* @param {Date} [timeFrom]
|
|
35019
|
+
* @param {Date} [timeTo]
|
|
35020
|
+
* @param {boolean} [checkHoliday]
|
|
35021
|
+
* @param {number} [page]
|
|
35022
|
+
* @param {number} [limit]
|
|
35023
|
+
* @param {Date} [lastRetrieved]
|
|
35024
|
+
* @param {*} [options] Override http request option.
|
|
35025
|
+
* @throws {RequiredError}
|
|
35026
|
+
* @memberof HospitalsApi
|
|
35027
|
+
*/
|
|
35028
|
+
public apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId: string, hospitalId2?: string, id?: string, dayOfWeek?: string, timeFrom?: Date, timeTo?: Date, checkHoliday?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
35029
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
35030
|
+
}
|
|
35031
|
+
|
|
35032
|
+
/**
|
|
35033
|
+
*
|
|
35034
|
+
* @summary Create HospitalWorkingDay.
|
|
35035
|
+
* @param {string} hospitalId
|
|
35036
|
+
* @param {CreateHospitalWorkingDayCommand} [createHospitalWorkingDayCommand]
|
|
35037
|
+
* @param {*} [options] Override http request option.
|
|
35038
|
+
* @throws {RequiredError}
|
|
35039
|
+
* @memberof HospitalsApi
|
|
35040
|
+
*/
|
|
35041
|
+
public apiV1HospitalsHospitalIdWorkingdaysPost(hospitalId: string, createHospitalWorkingDayCommand?: CreateHospitalWorkingDayCommand, options?: AxiosRequestConfig) {
|
|
35042
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdWorkingdaysPost(hospitalId, createHospitalWorkingDayCommand, options).then((request) => request(this.axios, this.basePath));
|
|
35043
|
+
}
|
|
35044
|
+
|
|
35045
|
+
/**
|
|
35046
|
+
*
|
|
35047
|
+
* @summary Delete HospitalWorkingDay.
|
|
35048
|
+
* @param {string} hospitalId
|
|
35049
|
+
* @param {string} workingDayId
|
|
35050
|
+
* @param {*} [options] Override http request option.
|
|
35051
|
+
* @throws {RequiredError}
|
|
35052
|
+
* @memberof HospitalsApi
|
|
35053
|
+
*/
|
|
35054
|
+
public apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete(hospitalId: string, workingDayId: string, options?: AxiosRequestConfig) {
|
|
35055
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete(hospitalId, workingDayId, options).then((request) => request(this.axios, this.basePath));
|
|
35056
|
+
}
|
|
35057
|
+
|
|
35058
|
+
/**
|
|
35059
|
+
*
|
|
35060
|
+
* @summary Get HospitalWorkingDay.
|
|
35061
|
+
* @param {string} hospitalId
|
|
35062
|
+
* @param {string} workingDayId
|
|
35063
|
+
* @param {*} [options] Override http request option.
|
|
35064
|
+
* @throws {RequiredError}
|
|
35065
|
+
* @memberof HospitalsApi
|
|
35066
|
+
*/
|
|
35067
|
+
public apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet(hospitalId: string, workingDayId: string, options?: AxiosRequestConfig) {
|
|
35068
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet(hospitalId, workingDayId, options).then((request) => request(this.axios, this.basePath));
|
|
35069
|
+
}
|
|
35070
|
+
|
|
35071
|
+
/**
|
|
35072
|
+
*
|
|
35073
|
+
* @summary Update HospitalWorkingDay.
|
|
35074
|
+
* @param {string} hospitalId
|
|
35075
|
+
* @param {string} workingDayId
|
|
35076
|
+
* @param {UpdateHospitalWorkingDayCommand} [updateHospitalWorkingDayCommand]
|
|
35077
|
+
* @param {*} [options] Override http request option.
|
|
35078
|
+
* @throws {RequiredError}
|
|
35079
|
+
* @memberof HospitalsApi
|
|
35080
|
+
*/
|
|
35081
|
+
public apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut(hospitalId: string, workingDayId: string, updateHospitalWorkingDayCommand?: UpdateHospitalWorkingDayCommand, options?: AxiosRequestConfig) {
|
|
35082
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut(hospitalId, workingDayId, updateHospitalWorkingDayCommand, options).then((request) => request(this.axios, this.basePath));
|
|
35083
|
+
}
|
|
35084
|
+
|
|
32756
35085
|
/**
|
|
32757
35086
|
*
|
|
32758
35087
|
* @summary Create Hospital.
|
|
@@ -32781,6 +35110,7 @@ export class HospitalsApi extends BaseAPI {
|
|
|
32781
35110
|
* @param {string} [languageCode]
|
|
32782
35111
|
* @param {Array<string>} [ids]
|
|
32783
35112
|
* @param {boolean} [returnDefaultValue]
|
|
35113
|
+
* @param {boolean} [paymentEnabled]
|
|
32784
35114
|
* @param {number} [page]
|
|
32785
35115
|
* @param {number} [limit]
|
|
32786
35116
|
* @param {Date} [lastRetrieved]
|
|
@@ -32788,8 +35118,8 @@ export class HospitalsApi extends BaseAPI {
|
|
|
32788
35118
|
* @throws {RequiredError}
|
|
32789
35119
|
* @memberof HospitalsApi
|
|
32790
35120
|
*/
|
|
32791
|
-
public apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
32792
|
-
return HospitalsApiFp(this.configuration).apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
35121
|
+
public apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
35122
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
32793
35123
|
}
|
|
32794
35124
|
|
|
32795
35125
|
/**
|