ch-api-client-typescript2 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/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
@@ -6051,6 +6246,30 @@ export interface HospitalModel {
6051
6246
  * @memberof HospitalModel
6052
6247
  */
6053
6248
  'languageCode'?: string | null;
6249
+ /**
6250
+ *
6251
+ * @type {string}
6252
+ * @memberof HospitalModel
6253
+ */
6254
+ 'contactTel'?: string | null;
6255
+ /**
6256
+ *
6257
+ * @type {string}
6258
+ * @memberof HospitalModel
6259
+ */
6260
+ 'contactEmail'?: string | null;
6261
+ /**
6262
+ *
6263
+ * @type {Array<WorkingDay>}
6264
+ * @memberof HospitalModel
6265
+ */
6266
+ 'hospitalWorkingDays'?: Array<WorkingDay> | null;
6267
+ /**
6268
+ *
6269
+ * @type {Array<SnsHandle>}
6270
+ * @memberof HospitalModel
6271
+ */
6272
+ 'hospitalSnsHandles'?: Array<SnsHandle> | null;
6054
6273
  }
6055
6274
  /**
6056
6275
  *
@@ -6190,6 +6409,12 @@ export interface HospitalServiceItemModel {
6190
6409
  * @memberof HospitalServiceItemModel
6191
6410
  */
6192
6411
  'order'?: number;
6412
+ /**
6413
+ *
6414
+ * @type {Array<LocalizedUrlModel>}
6415
+ * @memberof HospitalServiceItemModel
6416
+ */
6417
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
6193
6418
  /**
6194
6419
  *
6195
6420
  * @type {boolean}
@@ -6359,6 +6584,12 @@ export interface HospitalServiceModel {
6359
6584
  * @memberof HospitalServiceModel
6360
6585
  */
6361
6586
  'order'?: number;
6587
+ /**
6588
+ *
6589
+ * @type {Array<LocalizedUrlModel>}
6590
+ * @memberof HospitalServiceModel
6591
+ */
6592
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
6362
6593
  /**
6363
6594
  *
6364
6595
  * @type {boolean}
@@ -6440,6 +6671,25 @@ export interface HospitalSimpleItemModel {
6440
6671
  */
6441
6672
  'confirmed'?: boolean;
6442
6673
  }
6674
+ /**
6675
+ *
6676
+ * @export
6677
+ * @interface HospitalSnsHandlesModel
6678
+ */
6679
+ export interface HospitalSnsHandlesModel {
6680
+ /**
6681
+ *
6682
+ * @type {Array<SnsHandleModel>}
6683
+ * @memberof HospitalSnsHandlesModel
6684
+ */
6685
+ 'items'?: Array<SnsHandleModel> | null;
6686
+ /**
6687
+ *
6688
+ * @type {PagedListMetaData}
6689
+ * @memberof HospitalSnsHandlesModel
6690
+ */
6691
+ 'metaData'?: PagedListMetaData;
6692
+ }
6443
6693
  /**
6444
6694
  *
6445
6695
  * @export
@@ -6616,6 +6866,12 @@ export interface HospitalSpecialtyItemModel {
6616
6866
  * @memberof HospitalSpecialtyItemModel
6617
6867
  */
6618
6868
  'backgroundThumbnail'?: string | null;
6869
+ /**
6870
+ *
6871
+ * @type {Array<LocalizedUrlModel>}
6872
+ * @memberof HospitalSpecialtyItemModel
6873
+ */
6874
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
6619
6875
  /**
6620
6876
  *
6621
6877
  * @type {Array<MediaModel>}
@@ -6767,6 +7023,12 @@ export interface HospitalSpecialtyModel {
6767
7023
  * @memberof HospitalSpecialtyModel
6768
7024
  */
6769
7025
  'backgroundThumbnail'?: string | null;
7026
+ /**
7027
+ *
7028
+ * @type {Array<LocalizedUrlModel>}
7029
+ * @memberof HospitalSpecialtyModel
7030
+ */
7031
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
6770
7032
  /**
6771
7033
  *
6772
7034
  * @type {Array<MediaModel>}
@@ -6828,6 +7090,12 @@ export interface HospitalSpecialtySimpleItemModel {
6828
7090
  * @memberof HospitalSpecialtySimpleItemModel
6829
7091
  */
6830
7092
  'confirmed'?: boolean;
7093
+ /**
7094
+ *
7095
+ * @type {Array<LocalizedUrlModel>}
7096
+ * @memberof HospitalSpecialtySimpleItemModel
7097
+ */
7098
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
6831
7099
  }
6832
7100
  /**
6833
7101
  *
@@ -8577,6 +8845,31 @@ export interface ServiceReviewsModel {
8577
8845
  */
8578
8846
  'metaData'?: PagedListMetaData;
8579
8847
  }
8848
+ /**
8849
+ *
8850
+ * @export
8851
+ * @interface SnsHandle
8852
+ */
8853
+ export interface SnsHandle {
8854
+ /**
8855
+ *
8856
+ * @type {string}
8857
+ * @memberof SnsHandle
8858
+ */
8859
+ 'id'?: string;
8860
+ /**
8861
+ *
8862
+ * @type {SnsType}
8863
+ * @memberof SnsHandle
8864
+ */
8865
+ 'snsType'?: SnsType;
8866
+ /**
8867
+ *
8868
+ * @type {string}
8869
+ * @memberof SnsHandle
8870
+ */
8871
+ 'handle'?: string | null;
8872
+ }
8580
8873
  /**
8581
8874
  *
8582
8875
  * @export
@@ -8611,7 +8904,9 @@ export interface SnsHandleModel {
8611
8904
  export enum SnsType {
8612
8905
  Twitter = 'Twitter',
8613
8906
  Facebook = 'Facebook',
8614
- Instagram = 'Instagram'
8907
+ Instagram = 'Instagram',
8908
+ LinkedIn = 'LinkedIn',
8909
+ Youtube = 'Youtube'
8615
8910
  }
8616
8911
 
8617
8912
  /**
@@ -8730,6 +9025,12 @@ export interface SpecialtyItemModel {
8730
9025
  * @memberof SpecialtyItemModel
8731
9026
  */
8732
9027
  'confirmed'?: boolean;
9028
+ /**
9029
+ *
9030
+ * @type {Array<LocalizedUrlModel>}
9031
+ * @memberof SpecialtyItemModel
9032
+ */
9033
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
8733
9034
  /**
8734
9035
  *
8735
9036
  * @type {AuditableEntity}
@@ -8815,6 +9116,12 @@ export interface SpecialtyModel {
8815
9116
  * @memberof SpecialtyModel
8816
9117
  */
8817
9118
  'confirmed'?: boolean;
9119
+ /**
9120
+ *
9121
+ * @type {Array<LocalizedUrlModel>}
9122
+ * @memberof SpecialtyModel
9123
+ */
9124
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
8818
9125
  /**
8819
9126
  *
8820
9127
  * @type {AuditableEntity}
@@ -9752,13 +10059,533 @@ export interface UserModel {
9752
10059
  */
9753
10060
  'locations'?: Array<UserLocationModel> | null;
9754
10061
  }
9755
-
9756
10062
  /**
9757
- * AccreditationsApi - axios parameter creator
10063
+ *
9758
10064
  * @export
10065
+ * @interface WorkingDay
9759
10066
  */
9760
- export const AccreditationsApiAxiosParamCreator = function (configuration?: Configuration) {
9761
- return {
10067
+ export interface WorkingDay {
10068
+ /**
10069
+ *
10070
+ * @type {string}
10071
+ * @memberof WorkingDay
10072
+ */
10073
+ 'id'?: string;
10074
+ /**
10075
+ *
10076
+ * @type {string}
10077
+ * @memberof WorkingDay
10078
+ */
10079
+ 'dayOfWeek'?: string | null;
10080
+ /**
10081
+ *
10082
+ * @type {Date}
10083
+ * @memberof WorkingDay
10084
+ */
10085
+ 'timeFrom'?: Date;
10086
+ /**
10087
+ *
10088
+ * @type {Date}
10089
+ * @memberof WorkingDay
10090
+ */
10091
+ 'timeTo'?: Date;
10092
+ /**
10093
+ *
10094
+ * @type {boolean}
10095
+ * @memberof WorkingDay
10096
+ */
10097
+ 'checkHoliday'?: boolean;
10098
+ }
10099
+ /**
10100
+ *
10101
+ * @export
10102
+ * @interface WorkingDayItemModel
10103
+ */
10104
+ export interface WorkingDayItemModel {
10105
+ /**
10106
+ *
10107
+ * @type {string}
10108
+ * @memberof WorkingDayItemModel
10109
+ */
10110
+ 'id'?: string;
10111
+ /**
10112
+ *
10113
+ * @type {string}
10114
+ * @memberof WorkingDayItemModel
10115
+ */
10116
+ 'dayOfWeek'?: string | null;
10117
+ /**
10118
+ *
10119
+ * @type {Date}
10120
+ * @memberof WorkingDayItemModel
10121
+ */
10122
+ 'timeFrom'?: Date;
10123
+ /**
10124
+ *
10125
+ * @type {Date}
10126
+ * @memberof WorkingDayItemModel
10127
+ */
10128
+ 'timeTo'?: Date;
10129
+ /**
10130
+ *
10131
+ * @type {boolean}
10132
+ * @memberof WorkingDayItemModel
10133
+ */
10134
+ 'checkHoliday'?: boolean;
10135
+ }
10136
+ /**
10137
+ *
10138
+ * @export
10139
+ * @interface WorkingDayModel
10140
+ */
10141
+ export interface WorkingDayModel {
10142
+ /**
10143
+ *
10144
+ * @type {string}
10145
+ * @memberof WorkingDayModel
10146
+ */
10147
+ 'id'?: string;
10148
+ /**
10149
+ *
10150
+ * @type {string}
10151
+ * @memberof WorkingDayModel
10152
+ */
10153
+ 'dayOfWeek'?: string | null;
10154
+ /**
10155
+ *
10156
+ * @type {Date}
10157
+ * @memberof WorkingDayModel
10158
+ */
10159
+ 'timeFrom'?: Date;
10160
+ /**
10161
+ *
10162
+ * @type {Date}
10163
+ * @memberof WorkingDayModel
10164
+ */
10165
+ 'timeTo'?: Date;
10166
+ /**
10167
+ *
10168
+ * @type {boolean}
10169
+ * @memberof WorkingDayModel
10170
+ */
10171
+ 'checkHoliday'?: boolean;
10172
+ }
10173
+ /**
10174
+ *
10175
+ * @export
10176
+ * @interface WorkingDaysModel
10177
+ */
10178
+ export interface WorkingDaysModel {
10179
+ /**
10180
+ *
10181
+ * @type {Array<WorkingDayItemModel>}
10182
+ * @memberof WorkingDaysModel
10183
+ */
10184
+ 'items'?: Array<WorkingDayItemModel> | null;
10185
+ /**
10186
+ *
10187
+ * @type {PagedListMetaData}
10188
+ * @memberof WorkingDaysModel
10189
+ */
10190
+ 'metaData'?: PagedListMetaData;
10191
+ }
10192
+
10193
+ /**
10194
+ * AboutUsApi - axios parameter creator
10195
+ * @export
10196
+ */
10197
+ export const AboutUsApiAxiosParamCreator = function (configuration?: Configuration) {
10198
+ return {
10199
+ /**
10200
+ *
10201
+ * @summary Get all AboutUsList.
10202
+ * @param {string} [hospitalId]
10203
+ * @param {string} [hospitalName]
10204
+ * @param {string} [hospitalSlug]
10205
+ * @param {string} [overviewTitle]
10206
+ * @param {string} [normalizedOverviewTitle]
10207
+ * @param {string} [overview]
10208
+ * @param {string} [content]
10209
+ * @param {string} [customStyle]
10210
+ * @param {string} [background]
10211
+ * @param {string} [backgroundThumbnail]
10212
+ * @param {string} [languageCode]
10213
+ * @param {boolean} [returnDefaultValue]
10214
+ * @param {boolean} [confirmed]
10215
+ * @param {number} [page]
10216
+ * @param {number} [limit]
10217
+ * @param {Date} [lastRetrieved]
10218
+ * @param {*} [options] Override http request option.
10219
+ * @throws {RequiredError}
10220
+ */
10221
+ apiV2AboutusGet: 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> => {
10222
+ const localVarPath = `/api/v2/aboutus`;
10223
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10224
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10225
+ let baseOptions;
10226
+ if (configuration) {
10227
+ baseOptions = configuration.baseOptions;
10228
+ }
10229
+
10230
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
10231
+ const localVarHeaderParameter = {} as any;
10232
+ const localVarQueryParameter = {} as any;
10233
+
10234
+ if (hospitalId !== undefined) {
10235
+ localVarQueryParameter['HospitalId'] = hospitalId;
10236
+ }
10237
+
10238
+ if (hospitalName !== undefined) {
10239
+ localVarQueryParameter['HospitalName'] = hospitalName;
10240
+ }
10241
+
10242
+ if (hospitalSlug !== undefined) {
10243
+ localVarQueryParameter['HospitalSlug'] = hospitalSlug;
10244
+ }
10245
+
10246
+ if (overviewTitle !== undefined) {
10247
+ localVarQueryParameter['OverviewTitle'] = overviewTitle;
10248
+ }
10249
+
10250
+ if (normalizedOverviewTitle !== undefined) {
10251
+ localVarQueryParameter['NormalizedOverviewTitle'] = normalizedOverviewTitle;
10252
+ }
10253
+
10254
+ if (overview !== undefined) {
10255
+ localVarQueryParameter['Overview'] = overview;
10256
+ }
10257
+
10258
+ if (content !== undefined) {
10259
+ localVarQueryParameter['Content'] = content;
10260
+ }
10261
+
10262
+ if (customStyle !== undefined) {
10263
+ localVarQueryParameter['CustomStyle'] = customStyle;
10264
+ }
10265
+
10266
+ if (background !== undefined) {
10267
+ localVarQueryParameter['Background'] = background;
10268
+ }
10269
+
10270
+ if (backgroundThumbnail !== undefined) {
10271
+ localVarQueryParameter['BackgroundThumbnail'] = backgroundThumbnail;
10272
+ }
10273
+
10274
+ if (languageCode !== undefined) {
10275
+ localVarQueryParameter['LanguageCode'] = languageCode;
10276
+ }
10277
+
10278
+ if (returnDefaultValue !== undefined) {
10279
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
10280
+ }
10281
+
10282
+ if (confirmed !== undefined) {
10283
+ localVarQueryParameter['Confirmed'] = confirmed;
10284
+ }
10285
+
10286
+ if (page !== undefined) {
10287
+ localVarQueryParameter['page'] = page;
10288
+ }
10289
+
10290
+ if (limit !== undefined) {
10291
+ localVarQueryParameter['limit'] = limit;
10292
+ }
10293
+
10294
+ if (lastRetrieved !== undefined) {
10295
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
10296
+ (lastRetrieved as any).toISOString() :
10297
+ lastRetrieved;
10298
+ }
10299
+
10300
+
10301
+
10302
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10303
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10304
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10305
+
10306
+ return {
10307
+ url: toPathString(localVarUrlObj),
10308
+ options: localVarRequestOptions,
10309
+ };
10310
+ },
10311
+ /**
10312
+ *
10313
+ * @summary Get AboutUs.
10314
+ * @param {string} hospitalId
10315
+ * @param {string} [languageCode]
10316
+ * @param {boolean} [returnDefaultValue]
10317
+ * @param {*} [options] Override http request option.
10318
+ * @throws {RequiredError}
10319
+ */
10320
+ apiV2AboutusHospitalIdGet: async (hospitalId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
10321
+ // verify required parameter 'hospitalId' is not null or undefined
10322
+ assertParamExists('apiV2AboutusHospitalIdGet', 'hospitalId', hospitalId)
10323
+ const localVarPath = `/api/v2/aboutus/{hospitalId}`
10324
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
10325
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10326
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10327
+ let baseOptions;
10328
+ if (configuration) {
10329
+ baseOptions = configuration.baseOptions;
10330
+ }
10331
+
10332
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
10333
+ const localVarHeaderParameter = {} as any;
10334
+ const localVarQueryParameter = {} as any;
10335
+
10336
+ if (languageCode !== undefined) {
10337
+ localVarQueryParameter['languageCode'] = languageCode;
10338
+ }
10339
+
10340
+ if (returnDefaultValue !== undefined) {
10341
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
10342
+ }
10343
+
10344
+
10345
+
10346
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10347
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10348
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10349
+
10350
+ return {
10351
+ url: toPathString(localVarUrlObj),
10352
+ options: localVarRequestOptions,
10353
+ };
10354
+ },
10355
+ /**
10356
+ *
10357
+ * @param {string} slug
10358
+ * @param {string} [languageCode]
10359
+ * @param {boolean} [returnDefaultValue]
10360
+ * @param {*} [options] Override http request option.
10361
+ * @throws {RequiredError}
10362
+ */
10363
+ apiV2AboutusSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
10364
+ // verify required parameter 'slug' is not null or undefined
10365
+ assertParamExists('apiV2AboutusSlugGet', 'slug', slug)
10366
+ const localVarPath = `/api/v2/aboutus/{slug}`
10367
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
10368
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10369
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10370
+ let baseOptions;
10371
+ if (configuration) {
10372
+ baseOptions = configuration.baseOptions;
10373
+ }
10374
+
10375
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
10376
+ const localVarHeaderParameter = {} as any;
10377
+ const localVarQueryParameter = {} as any;
10378
+
10379
+ if (languageCode !== undefined) {
10380
+ localVarQueryParameter['languageCode'] = languageCode;
10381
+ }
10382
+
10383
+ if (returnDefaultValue !== undefined) {
10384
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
10385
+ }
10386
+
10387
+
10388
+
10389
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10390
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10391
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10392
+
10393
+ return {
10394
+ url: toPathString(localVarUrlObj),
10395
+ options: localVarRequestOptions,
10396
+ };
10397
+ },
10398
+ }
10399
+ };
10400
+
10401
+ /**
10402
+ * AboutUsApi - functional programming interface
10403
+ * @export
10404
+ */
10405
+ export const AboutUsApiFp = function(configuration?: Configuration) {
10406
+ const localVarAxiosParamCreator = AboutUsApiAxiosParamCreator(configuration)
10407
+ return {
10408
+ /**
10409
+ *
10410
+ * @summary Get all AboutUsList.
10411
+ * @param {string} [hospitalId]
10412
+ * @param {string} [hospitalName]
10413
+ * @param {string} [hospitalSlug]
10414
+ * @param {string} [overviewTitle]
10415
+ * @param {string} [normalizedOverviewTitle]
10416
+ * @param {string} [overview]
10417
+ * @param {string} [content]
10418
+ * @param {string} [customStyle]
10419
+ * @param {string} [background]
10420
+ * @param {string} [backgroundThumbnail]
10421
+ * @param {string} [languageCode]
10422
+ * @param {boolean} [returnDefaultValue]
10423
+ * @param {boolean} [confirmed]
10424
+ * @param {number} [page]
10425
+ * @param {number} [limit]
10426
+ * @param {Date} [lastRetrieved]
10427
+ * @param {*} [options] Override http request option.
10428
+ * @throws {RequiredError}
10429
+ */
10430
+ async apiV2AboutusGet(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>> {
10431
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2AboutusGet(hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options);
10432
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
10433
+ },
10434
+ /**
10435
+ *
10436
+ * @summary Get AboutUs.
10437
+ * @param {string} hospitalId
10438
+ * @param {string} [languageCode]
10439
+ * @param {boolean} [returnDefaultValue]
10440
+ * @param {*} [options] Override http request option.
10441
+ * @throws {RequiredError}
10442
+ */
10443
+ async apiV2AboutusHospitalIdGet(hospitalId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AboutUsPageModel>> {
10444
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2AboutusHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options);
10445
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
10446
+ },
10447
+ /**
10448
+ *
10449
+ * @param {string} slug
10450
+ * @param {string} [languageCode]
10451
+ * @param {boolean} [returnDefaultValue]
10452
+ * @param {*} [options] Override http request option.
10453
+ * @throws {RequiredError}
10454
+ */
10455
+ async apiV2AboutusSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AboutUsPageModel>> {
10456
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2AboutusSlugGet(slug, languageCode, returnDefaultValue, options);
10457
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
10458
+ },
10459
+ }
10460
+ };
10461
+
10462
+ /**
10463
+ * AboutUsApi - factory interface
10464
+ * @export
10465
+ */
10466
+ export const AboutUsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
10467
+ const localVarFp = AboutUsApiFp(configuration)
10468
+ return {
10469
+ /**
10470
+ *
10471
+ * @summary Get all AboutUsList.
10472
+ * @param {string} [hospitalId]
10473
+ * @param {string} [hospitalName]
10474
+ * @param {string} [hospitalSlug]
10475
+ * @param {string} [overviewTitle]
10476
+ * @param {string} [normalizedOverviewTitle]
10477
+ * @param {string} [overview]
10478
+ * @param {string} [content]
10479
+ * @param {string} [customStyle]
10480
+ * @param {string} [background]
10481
+ * @param {string} [backgroundThumbnail]
10482
+ * @param {string} [languageCode]
10483
+ * @param {boolean} [returnDefaultValue]
10484
+ * @param {boolean} [confirmed]
10485
+ * @param {number} [page]
10486
+ * @param {number} [limit]
10487
+ * @param {Date} [lastRetrieved]
10488
+ * @param {*} [options] Override http request option.
10489
+ * @throws {RequiredError}
10490
+ */
10491
+ apiV2AboutusGet(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> {
10492
+ return localVarFp.apiV2AboutusGet(hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
10493
+ },
10494
+ /**
10495
+ *
10496
+ * @summary Get AboutUs.
10497
+ * @param {string} hospitalId
10498
+ * @param {string} [languageCode]
10499
+ * @param {boolean} [returnDefaultValue]
10500
+ * @param {*} [options] Override http request option.
10501
+ * @throws {RequiredError}
10502
+ */
10503
+ apiV2AboutusHospitalIdGet(hospitalId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<AboutUsPageModel> {
10504
+ return localVarFp.apiV2AboutusHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
10505
+ },
10506
+ /**
10507
+ *
10508
+ * @param {string} slug
10509
+ * @param {string} [languageCode]
10510
+ * @param {boolean} [returnDefaultValue]
10511
+ * @param {*} [options] Override http request option.
10512
+ * @throws {RequiredError}
10513
+ */
10514
+ apiV2AboutusSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<AboutUsPageModel> {
10515
+ return localVarFp.apiV2AboutusSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
10516
+ },
10517
+ };
10518
+ };
10519
+
10520
+ /**
10521
+ * AboutUsApi - object-oriented interface
10522
+ * @export
10523
+ * @class AboutUsApi
10524
+ * @extends {BaseAPI}
10525
+ */
10526
+ export class AboutUsApi extends BaseAPI {
10527
+ /**
10528
+ *
10529
+ * @summary Get all AboutUsList.
10530
+ * @param {string} [hospitalId]
10531
+ * @param {string} [hospitalName]
10532
+ * @param {string} [hospitalSlug]
10533
+ * @param {string} [overviewTitle]
10534
+ * @param {string} [normalizedOverviewTitle]
10535
+ * @param {string} [overview]
10536
+ * @param {string} [content]
10537
+ * @param {string} [customStyle]
10538
+ * @param {string} [background]
10539
+ * @param {string} [backgroundThumbnail]
10540
+ * @param {string} [languageCode]
10541
+ * @param {boolean} [returnDefaultValue]
10542
+ * @param {boolean} [confirmed]
10543
+ * @param {number} [page]
10544
+ * @param {number} [limit]
10545
+ * @param {Date} [lastRetrieved]
10546
+ * @param {*} [options] Override http request option.
10547
+ * @throws {RequiredError}
10548
+ * @memberof AboutUsApi
10549
+ */
10550
+ public apiV2AboutusGet(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) {
10551
+ return AboutUsApiFp(this.configuration).apiV2AboutusGet(hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
10552
+ }
10553
+
10554
+ /**
10555
+ *
10556
+ * @summary Get AboutUs.
10557
+ * @param {string} hospitalId
10558
+ * @param {string} [languageCode]
10559
+ * @param {boolean} [returnDefaultValue]
10560
+ * @param {*} [options] Override http request option.
10561
+ * @throws {RequiredError}
10562
+ * @memberof AboutUsApi
10563
+ */
10564
+ public apiV2AboutusHospitalIdGet(hospitalId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
10565
+ return AboutUsApiFp(this.configuration).apiV2AboutusHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
10566
+ }
10567
+
10568
+ /**
10569
+ *
10570
+ * @param {string} slug
10571
+ * @param {string} [languageCode]
10572
+ * @param {boolean} [returnDefaultValue]
10573
+ * @param {*} [options] Override http request option.
10574
+ * @throws {RequiredError}
10575
+ * @memberof AboutUsApi
10576
+ */
10577
+ public apiV2AboutusSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
10578
+ return AboutUsApiFp(this.configuration).apiV2AboutusSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
10579
+ }
10580
+ }
10581
+
10582
+
10583
+ /**
10584
+ * AccreditationsApi - axios parameter creator
10585
+ * @export
10586
+ */
10587
+ export const AccreditationsApiAxiosParamCreator = function (configuration?: Configuration) {
10588
+ return {
9762
10589
  /**
9763
10590
  *
9764
10591
  * @summary Get Accreditation.
@@ -10438,6 +11265,7 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
10438
11265
  * @param {string} [hospitalName]
10439
11266
  * @param {string} [countryId]
10440
11267
  * @param {string} [tag]
11268
+ * @param {string} [exceptArticleId]
10441
11269
  * @param {string} [exceptHospitalId]
10442
11270
  * @param {string} [contributorId]
10443
11271
  * @param {string} [languageCode]
@@ -10449,7 +11277,7 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
10449
11277
  * @param {*} [options] Override http request option.
10450
11278
  * @throws {RequiredError}
10451
11279
  */
10452
- apiV2ArticlesGet: 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> => {
11280
+ apiV2ArticlesGet: 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> => {
10453
11281
  const localVarPath = `/api/v2/articles`;
10454
11282
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
10455
11283
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -10506,6 +11334,10 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
10506
11334
  localVarQueryParameter['Tag'] = tag;
10507
11335
  }
10508
11336
 
11337
+ if (exceptArticleId !== undefined) {
11338
+ localVarQueryParameter['ExceptArticleId'] = exceptArticleId;
11339
+ }
11340
+
10509
11341
  if (exceptHospitalId !== undefined) {
10510
11342
  localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
10511
11343
  }
@@ -10745,6 +11577,7 @@ export const ArticlesApiFp = function(configuration?: Configuration) {
10745
11577
  * @param {string} [hospitalName]
10746
11578
  * @param {string} [countryId]
10747
11579
  * @param {string} [tag]
11580
+ * @param {string} [exceptArticleId]
10748
11581
  * @param {string} [exceptHospitalId]
10749
11582
  * @param {string} [contributorId]
10750
11583
  * @param {string} [languageCode]
@@ -10756,8 +11589,8 @@ export const ArticlesApiFp = function(configuration?: Configuration) {
10756
11589
  * @param {*} [options] Override http request option.
10757
11590
  * @throws {RequiredError}
10758
11591
  */
10759
- async apiV2ArticlesGet(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>> {
10760
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
11592
+ async apiV2ArticlesGet(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>> {
11593
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
10761
11594
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
10762
11595
  },
10763
11596
  /**
@@ -10914,6 +11747,7 @@ export const ArticlesApiFactory = function (configuration?: Configuration, baseP
10914
11747
  * @param {string} [hospitalName]
10915
11748
  * @param {string} [countryId]
10916
11749
  * @param {string} [tag]
11750
+ * @param {string} [exceptArticleId]
10917
11751
  * @param {string} [exceptHospitalId]
10918
11752
  * @param {string} [contributorId]
10919
11753
  * @param {string} [languageCode]
@@ -10925,8 +11759,8 @@ export const ArticlesApiFactory = function (configuration?: Configuration, baseP
10925
11759
  * @param {*} [options] Override http request option.
10926
11760
  * @throws {RequiredError}
10927
11761
  */
10928
- apiV2ArticlesGet(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> {
10929
- return localVarFp.apiV2ArticlesGet(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));
11762
+ apiV2ArticlesGet(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> {
11763
+ return localVarFp.apiV2ArticlesGet(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));
10930
11764
  },
10931
11765
  /**
10932
11766
  *
@@ -11099,6 +11933,7 @@ export class ArticlesApi extends BaseAPI {
11099
11933
  * @param {string} [hospitalName]
11100
11934
  * @param {string} [countryId]
11101
11935
  * @param {string} [tag]
11936
+ * @param {string} [exceptArticleId]
11102
11937
  * @param {string} [exceptHospitalId]
11103
11938
  * @param {string} [contributorId]
11104
11939
  * @param {string} [languageCode]
@@ -11111,8 +11946,8 @@ export class ArticlesApi extends BaseAPI {
11111
11946
  * @throws {RequiredError}
11112
11947
  * @memberof ArticlesApi
11113
11948
  */
11114
- public apiV2ArticlesGet(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) {
11115
- return ArticlesApiFp(this.configuration).apiV2ArticlesGet(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));
11949
+ public apiV2ArticlesGet(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) {
11950
+ return ArticlesApiFp(this.configuration).apiV2ArticlesGet(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));
11116
11951
  }
11117
11952
 
11118
11953
  /**
@@ -19064,12 +19899,126 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
19064
19899
  localVarQueryParameter['Id'] = id;
19065
19900
  }
19066
19901
 
19067
- if (name !== undefined) {
19068
- localVarQueryParameter['Name'] = name;
19902
+ if (name !== undefined) {
19903
+ localVarQueryParameter['Name'] = name;
19904
+ }
19905
+
19906
+ if (stars !== undefined) {
19907
+ localVarQueryParameter['Stars'] = stars;
19908
+ }
19909
+
19910
+ if (page !== undefined) {
19911
+ localVarQueryParameter['page'] = page;
19912
+ }
19913
+
19914
+ if (limit !== undefined) {
19915
+ localVarQueryParameter['limit'] = limit;
19916
+ }
19917
+
19918
+ if (lastRetrieved !== undefined) {
19919
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
19920
+ (lastRetrieved as any).toISOString() :
19921
+ lastRetrieved;
19922
+ }
19923
+
19924
+
19925
+
19926
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
19927
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19928
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
19929
+
19930
+ return {
19931
+ url: toPathString(localVarUrlObj),
19932
+ options: localVarRequestOptions,
19933
+ };
19934
+ },
19935
+ /**
19936
+ *
19937
+ * @param {string} hospitalId
19938
+ * @param {string} [languageCode]
19939
+ * @param {boolean} [returnDefaultValue]
19940
+ * @param {*} [options] Override http request option.
19941
+ * @throws {RequiredError}
19942
+ */
19943
+ apiV2HospitalsHospitalIdGet: async (hospitalId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
19944
+ // verify required parameter 'hospitalId' is not null or undefined
19945
+ assertParamExists('apiV2HospitalsHospitalIdGet', 'hospitalId', hospitalId)
19946
+ const localVarPath = `/api/v2/hospitals/{hospitalId}`
19947
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
19948
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
19949
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
19950
+ let baseOptions;
19951
+ if (configuration) {
19952
+ baseOptions = configuration.baseOptions;
19953
+ }
19954
+
19955
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
19956
+ const localVarHeaderParameter = {} as any;
19957
+ const localVarQueryParameter = {} as any;
19958
+
19959
+ if (languageCode !== undefined) {
19960
+ localVarQueryParameter['languageCode'] = languageCode;
19961
+ }
19962
+
19963
+ if (returnDefaultValue !== undefined) {
19964
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
19965
+ }
19966
+
19967
+
19968
+
19969
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
19970
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19971
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
19972
+
19973
+ return {
19974
+ url: toPathString(localVarUrlObj),
19975
+ options: localVarRequestOptions,
19976
+ };
19977
+ },
19978
+ /**
19979
+ *
19980
+ * @summary Get all HospitalHandles.
19981
+ * @param {string} hospitalId
19982
+ * @param {string} [hospitalId2]
19983
+ * @param {string} [id]
19984
+ * @param {SnsType} [snsType]
19985
+ * @param {string} [handle]
19986
+ * @param {number} [page]
19987
+ * @param {number} [limit]
19988
+ * @param {Date} [lastRetrieved]
19989
+ * @param {*} [options] Override http request option.
19990
+ * @throws {RequiredError}
19991
+ */
19992
+ apiV2HospitalsHospitalIdHandlesGet: async (hospitalId: string, hospitalId2?: string, id?: string, snsType?: SnsType, handle?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
19993
+ // verify required parameter 'hospitalId' is not null or undefined
19994
+ assertParamExists('apiV2HospitalsHospitalIdHandlesGet', 'hospitalId', hospitalId)
19995
+ const localVarPath = `/api/v2/hospitals/{hospitalId}/handles`
19996
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
19997
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
19998
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
19999
+ let baseOptions;
20000
+ if (configuration) {
20001
+ baseOptions = configuration.baseOptions;
20002
+ }
20003
+
20004
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
20005
+ const localVarHeaderParameter = {} as any;
20006
+ const localVarQueryParameter = {} as any;
20007
+
20008
+ if (hospitalId2 !== undefined) {
20009
+ localVarQueryParameter['HospitalId'] = hospitalId2;
20010
+ }
20011
+
20012
+ if (id !== undefined) {
20013
+ localVarQueryParameter['Id'] = id;
20014
+ }
20015
+
20016
+ if (snsType !== undefined) {
20017
+ localVarQueryParameter['SnsType'] = snsType;
19069
20018
  }
19070
20019
 
19071
- if (stars !== undefined) {
19072
- localVarQueryParameter['Stars'] = stars;
20020
+ if (handle !== undefined) {
20021
+ localVarQueryParameter['Handle'] = handle;
19073
20022
  }
19074
20023
 
19075
20024
  if (page !== undefined) {
@@ -19099,17 +20048,20 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
19099
20048
  },
19100
20049
  /**
19101
20050
  *
20051
+ * @summary Get HospitalHandle.
19102
20052
  * @param {string} hospitalId
19103
- * @param {string} [languageCode]
19104
- * @param {boolean} [returnDefaultValue]
20053
+ * @param {string} handleId
19105
20054
  * @param {*} [options] Override http request option.
19106
20055
  * @throws {RequiredError}
19107
20056
  */
19108
- apiV2HospitalsHospitalIdGet: async (hospitalId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
20057
+ apiV2HospitalsHospitalIdHandlesHandleIdGet: async (hospitalId: string, handleId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
19109
20058
  // verify required parameter 'hospitalId' is not null or undefined
19110
- assertParamExists('apiV2HospitalsHospitalIdGet', 'hospitalId', hospitalId)
19111
- const localVarPath = `/api/v2/hospitals/{hospitalId}`
19112
- .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
20059
+ assertParamExists('apiV2HospitalsHospitalIdHandlesHandleIdGet', 'hospitalId', hospitalId)
20060
+ // verify required parameter 'handleId' is not null or undefined
20061
+ assertParamExists('apiV2HospitalsHospitalIdHandlesHandleIdGet', 'handleId', handleId)
20062
+ const localVarPath = `/api/v2/hospitals/{hospitalId}/handles/{handleId}`
20063
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
20064
+ .replace(`{${"handleId"}}`, encodeURIComponent(String(handleId)));
19113
20065
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
19114
20066
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
19115
20067
  let baseOptions;
@@ -19121,14 +20073,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
19121
20073
  const localVarHeaderParameter = {} as any;
19122
20074
  const localVarQueryParameter = {} as any;
19123
20075
 
19124
- if (languageCode !== undefined) {
19125
- localVarQueryParameter['languageCode'] = languageCode;
19126
- }
19127
-
19128
- if (returnDefaultValue !== undefined) {
19129
- localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
19130
- }
19131
-
19132
20076
 
19133
20077
 
19134
20078
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -19799,6 +20743,129 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
19799
20743
 
19800
20744
 
19801
20745
 
20746
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
20747
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20748
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
20749
+
20750
+ return {
20751
+ url: toPathString(localVarUrlObj),
20752
+ options: localVarRequestOptions,
20753
+ };
20754
+ },
20755
+ /**
20756
+ *
20757
+ * @summary Get all HospitalWorkingDays.
20758
+ * @param {string} hospitalId
20759
+ * @param {string} [hospitalId2]
20760
+ * @param {string} [id]
20761
+ * @param {string} [dayOfWeek]
20762
+ * @param {Date} [timeFrom]
20763
+ * @param {Date} [timeTo]
20764
+ * @param {boolean} [checkHoliday]
20765
+ * @param {number} [page]
20766
+ * @param {number} [limit]
20767
+ * @param {Date} [lastRetrieved]
20768
+ * @param {*} [options] Override http request option.
20769
+ * @throws {RequiredError}
20770
+ */
20771
+ apiV2HospitalsHospitalIdWorkingdaysGet: 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> => {
20772
+ // verify required parameter 'hospitalId' is not null or undefined
20773
+ assertParamExists('apiV2HospitalsHospitalIdWorkingdaysGet', 'hospitalId', hospitalId)
20774
+ const localVarPath = `/api/v2/hospitals/{hospitalId}/workingdays`
20775
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
20776
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
20777
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
20778
+ let baseOptions;
20779
+ if (configuration) {
20780
+ baseOptions = configuration.baseOptions;
20781
+ }
20782
+
20783
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
20784
+ const localVarHeaderParameter = {} as any;
20785
+ const localVarQueryParameter = {} as any;
20786
+
20787
+ if (hospitalId2 !== undefined) {
20788
+ localVarQueryParameter['HospitalId'] = hospitalId2;
20789
+ }
20790
+
20791
+ if (id !== undefined) {
20792
+ localVarQueryParameter['Id'] = id;
20793
+ }
20794
+
20795
+ if (dayOfWeek !== undefined) {
20796
+ localVarQueryParameter['DayOfWeek'] = dayOfWeek;
20797
+ }
20798
+
20799
+ if (timeFrom !== undefined) {
20800
+ localVarQueryParameter['TimeFrom'] = (timeFrom as any instanceof Date) ?
20801
+ (timeFrom as any).toISOString() :
20802
+ timeFrom;
20803
+ }
20804
+
20805
+ if (timeTo !== undefined) {
20806
+ localVarQueryParameter['TimeTo'] = (timeTo as any instanceof Date) ?
20807
+ (timeTo as any).toISOString() :
20808
+ timeTo;
20809
+ }
20810
+
20811
+ if (checkHoliday !== undefined) {
20812
+ localVarQueryParameter['CheckHoliday'] = checkHoliday;
20813
+ }
20814
+
20815
+ if (page !== undefined) {
20816
+ localVarQueryParameter['page'] = page;
20817
+ }
20818
+
20819
+ if (limit !== undefined) {
20820
+ localVarQueryParameter['limit'] = limit;
20821
+ }
20822
+
20823
+ if (lastRetrieved !== undefined) {
20824
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
20825
+ (lastRetrieved as any).toISOString() :
20826
+ lastRetrieved;
20827
+ }
20828
+
20829
+
20830
+
20831
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
20832
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20833
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
20834
+
20835
+ return {
20836
+ url: toPathString(localVarUrlObj),
20837
+ options: localVarRequestOptions,
20838
+ };
20839
+ },
20840
+ /**
20841
+ *
20842
+ * @summary Get HospitalWorkingDay.
20843
+ * @param {string} hospitalId
20844
+ * @param {string} workingDayId
20845
+ * @param {*} [options] Override http request option.
20846
+ * @throws {RequiredError}
20847
+ */
20848
+ apiV2HospitalsHospitalIdWorkingdaysWorkingDayIdGet: async (hospitalId: string, workingDayId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
20849
+ // verify required parameter 'hospitalId' is not null or undefined
20850
+ assertParamExists('apiV2HospitalsHospitalIdWorkingdaysWorkingDayIdGet', 'hospitalId', hospitalId)
20851
+ // verify required parameter 'workingDayId' is not null or undefined
20852
+ assertParamExists('apiV2HospitalsHospitalIdWorkingdaysWorkingDayIdGet', 'workingDayId', workingDayId)
20853
+ const localVarPath = `/api/v2/hospitals/{hospitalId}/workingdays/{workingDayId}`
20854
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
20855
+ .replace(`{${"workingDayId"}}`, encodeURIComponent(String(workingDayId)));
20856
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
20857
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
20858
+ let baseOptions;
20859
+ if (configuration) {
20860
+ baseOptions = configuration.baseOptions;
20861
+ }
20862
+
20863
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
20864
+ const localVarHeaderParameter = {} as any;
20865
+ const localVarQueryParameter = {} as any;
20866
+
20867
+
20868
+
19802
20869
  setSearchParams(localVarUrlObj, localVarQueryParameter);
19803
20870
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19804
20871
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -20133,6 +21200,36 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
20133
21200
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options);
20134
21201
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
20135
21202
  },
21203
+ /**
21204
+ *
21205
+ * @summary Get all HospitalHandles.
21206
+ * @param {string} hospitalId
21207
+ * @param {string} [hospitalId2]
21208
+ * @param {string} [id]
21209
+ * @param {SnsType} [snsType]
21210
+ * @param {string} [handle]
21211
+ * @param {number} [page]
21212
+ * @param {number} [limit]
21213
+ * @param {Date} [lastRetrieved]
21214
+ * @param {*} [options] Override http request option.
21215
+ * @throws {RequiredError}
21216
+ */
21217
+ async apiV2HospitalsHospitalIdHandlesGet(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>> {
21218
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdHandlesGet(hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options);
21219
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
21220
+ },
21221
+ /**
21222
+ *
21223
+ * @summary Get HospitalHandle.
21224
+ * @param {string} hospitalId
21225
+ * @param {string} handleId
21226
+ * @param {*} [options] Override http request option.
21227
+ * @throws {RequiredError}
21228
+ */
21229
+ async apiV2HospitalsHospitalIdHandlesHandleIdGet(hospitalId: string, handleId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SnsHandleModel>> {
21230
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdHandlesHandleIdGet(hospitalId, handleId, options);
21231
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
21232
+ },
20136
21233
  /**
20137
21234
  *
20138
21235
  * @summary Get all HospitalMedias.
@@ -20304,6 +21401,38 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
20304
21401
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet(hospitalId, specialtyId, serviceId, mediaId, options);
20305
21402
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
20306
21403
  },
21404
+ /**
21405
+ *
21406
+ * @summary Get all HospitalWorkingDays.
21407
+ * @param {string} hospitalId
21408
+ * @param {string} [hospitalId2]
21409
+ * @param {string} [id]
21410
+ * @param {string} [dayOfWeek]
21411
+ * @param {Date} [timeFrom]
21412
+ * @param {Date} [timeTo]
21413
+ * @param {boolean} [checkHoliday]
21414
+ * @param {number} [page]
21415
+ * @param {number} [limit]
21416
+ * @param {Date} [lastRetrieved]
21417
+ * @param {*} [options] Override http request option.
21418
+ * @throws {RequiredError}
21419
+ */
21420
+ async apiV2HospitalsHospitalIdWorkingdaysGet(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>> {
21421
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdWorkingdaysGet(hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options);
21422
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
21423
+ },
21424
+ /**
21425
+ *
21426
+ * @summary Get HospitalWorkingDay.
21427
+ * @param {string} hospitalId
21428
+ * @param {string} workingDayId
21429
+ * @param {*} [options] Override http request option.
21430
+ * @throws {RequiredError}
21431
+ */
21432
+ async apiV2HospitalsHospitalIdWorkingdaysWorkingDayIdGet(hospitalId: string, workingDayId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkingDayModel>> {
21433
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdWorkingdaysWorkingDayIdGet(hospitalId, workingDayId, options);
21434
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
21435
+ },
20307
21436
  /**
20308
21437
  *
20309
21438
  * @summary Get all Hospitals.
@@ -20500,6 +21629,34 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
20500
21629
  apiV2HospitalsHospitalIdGet(hospitalId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<HospitalModel> {
20501
21630
  return localVarFp.apiV2HospitalsHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
20502
21631
  },
21632
+ /**
21633
+ *
21634
+ * @summary Get all HospitalHandles.
21635
+ * @param {string} hospitalId
21636
+ * @param {string} [hospitalId2]
21637
+ * @param {string} [id]
21638
+ * @param {SnsType} [snsType]
21639
+ * @param {string} [handle]
21640
+ * @param {number} [page]
21641
+ * @param {number} [limit]
21642
+ * @param {Date} [lastRetrieved]
21643
+ * @param {*} [options] Override http request option.
21644
+ * @throws {RequiredError}
21645
+ */
21646
+ apiV2HospitalsHospitalIdHandlesGet(hospitalId: string, hospitalId2?: string, id?: string, snsType?: SnsType, handle?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSnsHandlesModel> {
21647
+ return localVarFp.apiV2HospitalsHospitalIdHandlesGet(hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
21648
+ },
21649
+ /**
21650
+ *
21651
+ * @summary Get HospitalHandle.
21652
+ * @param {string} hospitalId
21653
+ * @param {string} handleId
21654
+ * @param {*} [options] Override http request option.
21655
+ * @throws {RequiredError}
21656
+ */
21657
+ apiV2HospitalsHospitalIdHandlesHandleIdGet(hospitalId: string, handleId: string, options?: any): AxiosPromise<SnsHandleModel> {
21658
+ return localVarFp.apiV2HospitalsHospitalIdHandlesHandleIdGet(hospitalId, handleId, options).then((request) => request(axios, basePath));
21659
+ },
20503
21660
  /**
20504
21661
  *
20505
21662
  * @summary Get all HospitalMedias.
@@ -20662,6 +21819,36 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
20662
21819
  apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet(hospitalId: string, specialtyId: string, serviceId: string, mediaId: string, options?: any): AxiosPromise<MediaModel> {
20663
21820
  return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet(hospitalId, specialtyId, serviceId, mediaId, options).then((request) => request(axios, basePath));
20664
21821
  },
21822
+ /**
21823
+ *
21824
+ * @summary Get all HospitalWorkingDays.
21825
+ * @param {string} hospitalId
21826
+ * @param {string} [hospitalId2]
21827
+ * @param {string} [id]
21828
+ * @param {string} [dayOfWeek]
21829
+ * @param {Date} [timeFrom]
21830
+ * @param {Date} [timeTo]
21831
+ * @param {boolean} [checkHoliday]
21832
+ * @param {number} [page]
21833
+ * @param {number} [limit]
21834
+ * @param {Date} [lastRetrieved]
21835
+ * @param {*} [options] Override http request option.
21836
+ * @throws {RequiredError}
21837
+ */
21838
+ apiV2HospitalsHospitalIdWorkingdaysGet(hospitalId: string, hospitalId2?: string, id?: string, dayOfWeek?: string, timeFrom?: Date, timeTo?: Date, checkHoliday?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<WorkingDaysModel> {
21839
+ return localVarFp.apiV2HospitalsHospitalIdWorkingdaysGet(hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
21840
+ },
21841
+ /**
21842
+ *
21843
+ * @summary Get HospitalWorkingDay.
21844
+ * @param {string} hospitalId
21845
+ * @param {string} workingDayId
21846
+ * @param {*} [options] Override http request option.
21847
+ * @throws {RequiredError}
21848
+ */
21849
+ apiV2HospitalsHospitalIdWorkingdaysWorkingDayIdGet(hospitalId: string, workingDayId: string, options?: any): AxiosPromise<WorkingDayModel> {
21850
+ return localVarFp.apiV2HospitalsHospitalIdWorkingdaysWorkingDayIdGet(hospitalId, workingDayId, options).then((request) => request(axios, basePath));
21851
+ },
20665
21852
  /**
20666
21853
  *
20667
21854
  * @summary Get all Hospitals.
@@ -20876,6 +22063,38 @@ export class HospitalsApi extends BaseAPI {
20876
22063
  return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
20877
22064
  }
20878
22065
 
22066
+ /**
22067
+ *
22068
+ * @summary Get all HospitalHandles.
22069
+ * @param {string} hospitalId
22070
+ * @param {string} [hospitalId2]
22071
+ * @param {string} [id]
22072
+ * @param {SnsType} [snsType]
22073
+ * @param {string} [handle]
22074
+ * @param {number} [page]
22075
+ * @param {number} [limit]
22076
+ * @param {Date} [lastRetrieved]
22077
+ * @param {*} [options] Override http request option.
22078
+ * @throws {RequiredError}
22079
+ * @memberof HospitalsApi
22080
+ */
22081
+ public apiV2HospitalsHospitalIdHandlesGet(hospitalId: string, hospitalId2?: string, id?: string, snsType?: SnsType, handle?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
22082
+ return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdHandlesGet(hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
22083
+ }
22084
+
22085
+ /**
22086
+ *
22087
+ * @summary Get HospitalHandle.
22088
+ * @param {string} hospitalId
22089
+ * @param {string} handleId
22090
+ * @param {*} [options] Override http request option.
22091
+ * @throws {RequiredError}
22092
+ * @memberof HospitalsApi
22093
+ */
22094
+ public apiV2HospitalsHospitalIdHandlesHandleIdGet(hospitalId: string, handleId: string, options?: AxiosRequestConfig) {
22095
+ return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdHandlesHandleIdGet(hospitalId, handleId, options).then((request) => request(this.axios, this.basePath));
22096
+ }
22097
+
20879
22098
  /**
20880
22099
  *
20881
22100
  * @summary Get all HospitalMedias.
@@ -21056,6 +22275,40 @@ export class HospitalsApi extends BaseAPI {
21056
22275
  return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet(hospitalId, specialtyId, serviceId, mediaId, options).then((request) => request(this.axios, this.basePath));
21057
22276
  }
21058
22277
 
22278
+ /**
22279
+ *
22280
+ * @summary Get all HospitalWorkingDays.
22281
+ * @param {string} hospitalId
22282
+ * @param {string} [hospitalId2]
22283
+ * @param {string} [id]
22284
+ * @param {string} [dayOfWeek]
22285
+ * @param {Date} [timeFrom]
22286
+ * @param {Date} [timeTo]
22287
+ * @param {boolean} [checkHoliday]
22288
+ * @param {number} [page]
22289
+ * @param {number} [limit]
22290
+ * @param {Date} [lastRetrieved]
22291
+ * @param {*} [options] Override http request option.
22292
+ * @throws {RequiredError}
22293
+ * @memberof HospitalsApi
22294
+ */
22295
+ public apiV2HospitalsHospitalIdWorkingdaysGet(hospitalId: string, hospitalId2?: string, id?: string, dayOfWeek?: string, timeFrom?: Date, timeTo?: Date, checkHoliday?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
22296
+ return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdWorkingdaysGet(hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
22297
+ }
22298
+
22299
+ /**
22300
+ *
22301
+ * @summary Get HospitalWorkingDay.
22302
+ * @param {string} hospitalId
22303
+ * @param {string} workingDayId
22304
+ * @param {*} [options] Override http request option.
22305
+ * @throws {RequiredError}
22306
+ * @memberof HospitalsApi
22307
+ */
22308
+ public apiV2HospitalsHospitalIdWorkingdaysWorkingDayIdGet(hospitalId: string, workingDayId: string, options?: AxiosRequestConfig) {
22309
+ return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdWorkingdaysWorkingDayIdGet(hospitalId, workingDayId, options).then((request) => request(this.axios, this.basePath));
22310
+ }
22311
+
21059
22312
  /**
21060
22313
  *
21061
22314
  * @summary Get all Hospitals.