ch-api-client-typescript2 2.9.6 → 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 +487 -41
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +524 -88
- package/package.json +1 -1
- package/src/api.ts +761 -101
package/src/api.ts
CHANGED
|
@@ -6246,6 +6246,30 @@ export interface HospitalModel {
|
|
|
6246
6246
|
* @memberof HospitalModel
|
|
6247
6247
|
*/
|
|
6248
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;
|
|
6249
6273
|
}
|
|
6250
6274
|
/**
|
|
6251
6275
|
*
|
|
@@ -6385,6 +6409,12 @@ export interface HospitalServiceItemModel {
|
|
|
6385
6409
|
* @memberof HospitalServiceItemModel
|
|
6386
6410
|
*/
|
|
6387
6411
|
'order'?: number;
|
|
6412
|
+
/**
|
|
6413
|
+
*
|
|
6414
|
+
* @type {Array<LocalizedUrlModel>}
|
|
6415
|
+
* @memberof HospitalServiceItemModel
|
|
6416
|
+
*/
|
|
6417
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
6388
6418
|
/**
|
|
6389
6419
|
*
|
|
6390
6420
|
* @type {boolean}
|
|
@@ -6554,6 +6584,12 @@ export interface HospitalServiceModel {
|
|
|
6554
6584
|
* @memberof HospitalServiceModel
|
|
6555
6585
|
*/
|
|
6556
6586
|
'order'?: number;
|
|
6587
|
+
/**
|
|
6588
|
+
*
|
|
6589
|
+
* @type {Array<LocalizedUrlModel>}
|
|
6590
|
+
* @memberof HospitalServiceModel
|
|
6591
|
+
*/
|
|
6592
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
6557
6593
|
/**
|
|
6558
6594
|
*
|
|
6559
6595
|
* @type {boolean}
|
|
@@ -6635,6 +6671,25 @@ export interface HospitalSimpleItemModel {
|
|
|
6635
6671
|
*/
|
|
6636
6672
|
'confirmed'?: boolean;
|
|
6637
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
|
+
}
|
|
6638
6693
|
/**
|
|
6639
6694
|
*
|
|
6640
6695
|
* @export
|
|
@@ -6811,6 +6866,12 @@ export interface HospitalSpecialtyItemModel {
|
|
|
6811
6866
|
* @memberof HospitalSpecialtyItemModel
|
|
6812
6867
|
*/
|
|
6813
6868
|
'backgroundThumbnail'?: string | null;
|
|
6869
|
+
/**
|
|
6870
|
+
*
|
|
6871
|
+
* @type {Array<LocalizedUrlModel>}
|
|
6872
|
+
* @memberof HospitalSpecialtyItemModel
|
|
6873
|
+
*/
|
|
6874
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
6814
6875
|
/**
|
|
6815
6876
|
*
|
|
6816
6877
|
* @type {Array<MediaModel>}
|
|
@@ -6962,6 +7023,12 @@ export interface HospitalSpecialtyModel {
|
|
|
6962
7023
|
* @memberof HospitalSpecialtyModel
|
|
6963
7024
|
*/
|
|
6964
7025
|
'backgroundThumbnail'?: string | null;
|
|
7026
|
+
/**
|
|
7027
|
+
*
|
|
7028
|
+
* @type {Array<LocalizedUrlModel>}
|
|
7029
|
+
* @memberof HospitalSpecialtyModel
|
|
7030
|
+
*/
|
|
7031
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
6965
7032
|
/**
|
|
6966
7033
|
*
|
|
6967
7034
|
* @type {Array<MediaModel>}
|
|
@@ -7023,6 +7090,12 @@ export interface HospitalSpecialtySimpleItemModel {
|
|
|
7023
7090
|
* @memberof HospitalSpecialtySimpleItemModel
|
|
7024
7091
|
*/
|
|
7025
7092
|
'confirmed'?: boolean;
|
|
7093
|
+
/**
|
|
7094
|
+
*
|
|
7095
|
+
* @type {Array<LocalizedUrlModel>}
|
|
7096
|
+
* @memberof HospitalSpecialtySimpleItemModel
|
|
7097
|
+
*/
|
|
7098
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
7026
7099
|
}
|
|
7027
7100
|
/**
|
|
7028
7101
|
*
|
|
@@ -8772,6 +8845,31 @@ export interface ServiceReviewsModel {
|
|
|
8772
8845
|
*/
|
|
8773
8846
|
'metaData'?: PagedListMetaData;
|
|
8774
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
|
+
}
|
|
8775
8873
|
/**
|
|
8776
8874
|
*
|
|
8777
8875
|
* @export
|
|
@@ -8806,7 +8904,9 @@ export interface SnsHandleModel {
|
|
|
8806
8904
|
export enum SnsType {
|
|
8807
8905
|
Twitter = 'Twitter',
|
|
8808
8906
|
Facebook = 'Facebook',
|
|
8809
|
-
Instagram = 'Instagram'
|
|
8907
|
+
Instagram = 'Instagram',
|
|
8908
|
+
LinkedIn = 'LinkedIn',
|
|
8909
|
+
Youtube = 'Youtube'
|
|
8810
8910
|
}
|
|
8811
8911
|
|
|
8812
8912
|
/**
|
|
@@ -8925,6 +9025,12 @@ export interface SpecialtyItemModel {
|
|
|
8925
9025
|
* @memberof SpecialtyItemModel
|
|
8926
9026
|
*/
|
|
8927
9027
|
'confirmed'?: boolean;
|
|
9028
|
+
/**
|
|
9029
|
+
*
|
|
9030
|
+
* @type {Array<LocalizedUrlModel>}
|
|
9031
|
+
* @memberof SpecialtyItemModel
|
|
9032
|
+
*/
|
|
9033
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
8928
9034
|
/**
|
|
8929
9035
|
*
|
|
8930
9036
|
* @type {AuditableEntity}
|
|
@@ -9010,6 +9116,12 @@ export interface SpecialtyModel {
|
|
|
9010
9116
|
* @memberof SpecialtyModel
|
|
9011
9117
|
*/
|
|
9012
9118
|
'confirmed'?: boolean;
|
|
9119
|
+
/**
|
|
9120
|
+
*
|
|
9121
|
+
* @type {Array<LocalizedUrlModel>}
|
|
9122
|
+
* @memberof SpecialtyModel
|
|
9123
|
+
*/
|
|
9124
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
9013
9125
|
/**
|
|
9014
9126
|
*
|
|
9015
9127
|
* @type {AuditableEntity}
|
|
@@ -9947,6 +10059,136 @@ export interface UserModel {
|
|
|
9947
10059
|
*/
|
|
9948
10060
|
'locations'?: Array<UserLocationModel> | null;
|
|
9949
10061
|
}
|
|
10062
|
+
/**
|
|
10063
|
+
*
|
|
10064
|
+
* @export
|
|
10065
|
+
* @interface WorkingDay
|
|
10066
|
+
*/
|
|
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
|
+
}
|
|
9950
10192
|
|
|
9951
10193
|
/**
|
|
9952
10194
|
* AboutUsApi - axios parameter creator
|
|
@@ -9954,50 +10196,6 @@ export interface UserModel {
|
|
|
9954
10196
|
*/
|
|
9955
10197
|
export const AboutUsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
9956
10198
|
return {
|
|
9957
|
-
/**
|
|
9958
|
-
*
|
|
9959
|
-
* @summary Get AboutUs.
|
|
9960
|
-
* @param {string} aboutUsId
|
|
9961
|
-
* @param {string} [languageCode]
|
|
9962
|
-
* @param {boolean} [returnDefaultValue]
|
|
9963
|
-
* @param {*} [options] Override http request option.
|
|
9964
|
-
* @throws {RequiredError}
|
|
9965
|
-
*/
|
|
9966
|
-
apiV2AboutusAboutUsIdGet: async (aboutUsId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9967
|
-
// verify required parameter 'aboutUsId' is not null or undefined
|
|
9968
|
-
assertParamExists('apiV2AboutusAboutUsIdGet', 'aboutUsId', aboutUsId)
|
|
9969
|
-
const localVarPath = `/api/v2/aboutus/{aboutUsId}`
|
|
9970
|
-
.replace(`{${"aboutUsId"}}`, encodeURIComponent(String(aboutUsId)));
|
|
9971
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9972
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9973
|
-
let baseOptions;
|
|
9974
|
-
if (configuration) {
|
|
9975
|
-
baseOptions = configuration.baseOptions;
|
|
9976
|
-
}
|
|
9977
|
-
|
|
9978
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
9979
|
-
const localVarHeaderParameter = {} as any;
|
|
9980
|
-
const localVarQueryParameter = {} as any;
|
|
9981
|
-
|
|
9982
|
-
if (languageCode !== undefined) {
|
|
9983
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
9984
|
-
}
|
|
9985
|
-
|
|
9986
|
-
if (returnDefaultValue !== undefined) {
|
|
9987
|
-
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
9988
|
-
}
|
|
9989
|
-
|
|
9990
|
-
|
|
9991
|
-
|
|
9992
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9993
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9994
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9995
|
-
|
|
9996
|
-
return {
|
|
9997
|
-
url: toPathString(localVarUrlObj),
|
|
9998
|
-
options: localVarRequestOptions,
|
|
9999
|
-
};
|
|
10000
|
-
},
|
|
10001
10199
|
/**
|
|
10002
10200
|
*
|
|
10003
10201
|
* @summary Get all AboutUsList.
|
|
@@ -10112,17 +10310,18 @@ export const AboutUsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
10112
10310
|
},
|
|
10113
10311
|
/**
|
|
10114
10312
|
*
|
|
10115
|
-
* @
|
|
10313
|
+
* @summary Get AboutUs.
|
|
10314
|
+
* @param {string} hospitalId
|
|
10116
10315
|
* @param {string} [languageCode]
|
|
10117
10316
|
* @param {boolean} [returnDefaultValue]
|
|
10118
10317
|
* @param {*} [options] Override http request option.
|
|
10119
10318
|
* @throws {RequiredError}
|
|
10120
10319
|
*/
|
|
10121
|
-
|
|
10122
|
-
// verify required parameter '
|
|
10123
|
-
assertParamExists('
|
|
10124
|
-
const localVarPath = `/api/v2/aboutus/{
|
|
10125
|
-
.replace(`{${"
|
|
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)));
|
|
10126
10325
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10127
10326
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10128
10327
|
let baseOptions;
|
|
@@ -10153,37 +10352,67 @@ export const AboutUsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
10153
10352
|
options: localVarRequestOptions,
|
|
10154
10353
|
};
|
|
10155
10354
|
},
|
|
10156
|
-
}
|
|
10157
|
-
};
|
|
10158
|
-
|
|
10159
|
-
/**
|
|
10160
|
-
* AboutUsApi - functional programming interface
|
|
10161
|
-
* @export
|
|
10162
|
-
*/
|
|
10163
|
-
export const AboutUsApiFp = function(configuration?: Configuration) {
|
|
10164
|
-
const localVarAxiosParamCreator = AboutUsApiAxiosParamCreator(configuration)
|
|
10165
|
-
return {
|
|
10166
10355
|
/**
|
|
10167
10356
|
*
|
|
10168
|
-
* @
|
|
10169
|
-
* @param {string} aboutUsId
|
|
10357
|
+
* @param {string} slug
|
|
10170
10358
|
* @param {string} [languageCode]
|
|
10171
10359
|
* @param {boolean} [returnDefaultValue]
|
|
10172
10360
|
* @param {*} [options] Override http request option.
|
|
10173
10361
|
* @throws {RequiredError}
|
|
10174
10362
|
*/
|
|
10175
|
-
async
|
|
10176
|
-
|
|
10177
|
-
|
|
10178
|
-
|
|
10179
|
-
|
|
10180
|
-
|
|
10181
|
-
|
|
10182
|
-
|
|
10183
|
-
|
|
10184
|
-
|
|
10185
|
-
|
|
10186
|
-
|
|
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]
|
|
10187
10416
|
* @param {string} [overview]
|
|
10188
10417
|
* @param {string} [content]
|
|
10189
10418
|
* @param {string} [customStyle]
|
|
@@ -10202,6 +10431,19 @@ export const AboutUsApiFp = function(configuration?: Configuration) {
|
|
|
10202
10431
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2AboutusGet(hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options);
|
|
10203
10432
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
10204
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
|
+
},
|
|
10205
10447
|
/**
|
|
10206
10448
|
*
|
|
10207
10449
|
* @param {string} slug
|
|
@@ -10224,18 +10466,6 @@ export const AboutUsApiFp = function(configuration?: Configuration) {
|
|
|
10224
10466
|
export const AboutUsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
10225
10467
|
const localVarFp = AboutUsApiFp(configuration)
|
|
10226
10468
|
return {
|
|
10227
|
-
/**
|
|
10228
|
-
*
|
|
10229
|
-
* @summary Get AboutUs.
|
|
10230
|
-
* @param {string} aboutUsId
|
|
10231
|
-
* @param {string} [languageCode]
|
|
10232
|
-
* @param {boolean} [returnDefaultValue]
|
|
10233
|
-
* @param {*} [options] Override http request option.
|
|
10234
|
-
* @throws {RequiredError}
|
|
10235
|
-
*/
|
|
10236
|
-
apiV2AboutusAboutUsIdGet(aboutUsId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<AboutUsPageModel> {
|
|
10237
|
-
return localVarFp.apiV2AboutusAboutUsIdGet(aboutUsId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
10238
|
-
},
|
|
10239
10469
|
/**
|
|
10240
10470
|
*
|
|
10241
10471
|
* @summary Get all AboutUsList.
|
|
@@ -10261,6 +10491,18 @@ export const AboutUsApiFactory = function (configuration?: Configuration, basePa
|
|
|
10261
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> {
|
|
10262
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));
|
|
10263
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
|
+
},
|
|
10264
10506
|
/**
|
|
10265
10507
|
*
|
|
10266
10508
|
* @param {string} slug
|
|
@@ -10282,20 +10524,6 @@ export const AboutUsApiFactory = function (configuration?: Configuration, basePa
|
|
|
10282
10524
|
* @extends {BaseAPI}
|
|
10283
10525
|
*/
|
|
10284
10526
|
export class AboutUsApi extends BaseAPI {
|
|
10285
|
-
/**
|
|
10286
|
-
*
|
|
10287
|
-
* @summary Get AboutUs.
|
|
10288
|
-
* @param {string} aboutUsId
|
|
10289
|
-
* @param {string} [languageCode]
|
|
10290
|
-
* @param {boolean} [returnDefaultValue]
|
|
10291
|
-
* @param {*} [options] Override http request option.
|
|
10292
|
-
* @throws {RequiredError}
|
|
10293
|
-
* @memberof AboutUsApi
|
|
10294
|
-
*/
|
|
10295
|
-
public apiV2AboutusAboutUsIdGet(aboutUsId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
10296
|
-
return AboutUsApiFp(this.configuration).apiV2AboutusAboutUsIdGet(aboutUsId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
10297
|
-
}
|
|
10298
|
-
|
|
10299
10527
|
/**
|
|
10300
10528
|
*
|
|
10301
10529
|
* @summary Get all AboutUsList.
|
|
@@ -10323,6 +10551,20 @@ export class AboutUsApi extends BaseAPI {
|
|
|
10323
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));
|
|
10324
10552
|
}
|
|
10325
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
|
+
|
|
10326
10568
|
/**
|
|
10327
10569
|
*
|
|
10328
10570
|
* @param {string} slug
|
|
@@ -19724,6 +19966,115 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
19724
19966
|
|
|
19725
19967
|
|
|
19726
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;
|
|
20018
|
+
}
|
|
20019
|
+
|
|
20020
|
+
if (handle !== undefined) {
|
|
20021
|
+
localVarQueryParameter['Handle'] = handle;
|
|
20022
|
+
}
|
|
20023
|
+
|
|
20024
|
+
if (page !== undefined) {
|
|
20025
|
+
localVarQueryParameter['page'] = page;
|
|
20026
|
+
}
|
|
20027
|
+
|
|
20028
|
+
if (limit !== undefined) {
|
|
20029
|
+
localVarQueryParameter['limit'] = limit;
|
|
20030
|
+
}
|
|
20031
|
+
|
|
20032
|
+
if (lastRetrieved !== undefined) {
|
|
20033
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
20034
|
+
(lastRetrieved as any).toISOString() :
|
|
20035
|
+
lastRetrieved;
|
|
20036
|
+
}
|
|
20037
|
+
|
|
20038
|
+
|
|
20039
|
+
|
|
20040
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20041
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20042
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
20043
|
+
|
|
20044
|
+
return {
|
|
20045
|
+
url: toPathString(localVarUrlObj),
|
|
20046
|
+
options: localVarRequestOptions,
|
|
20047
|
+
};
|
|
20048
|
+
},
|
|
20049
|
+
/**
|
|
20050
|
+
*
|
|
20051
|
+
* @summary Get HospitalHandle.
|
|
20052
|
+
* @param {string} hospitalId
|
|
20053
|
+
* @param {string} handleId
|
|
20054
|
+
* @param {*} [options] Override http request option.
|
|
20055
|
+
* @throws {RequiredError}
|
|
20056
|
+
*/
|
|
20057
|
+
apiV2HospitalsHospitalIdHandlesHandleIdGet: async (hospitalId: string, handleId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20058
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
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)));
|
|
20065
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20066
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20067
|
+
let baseOptions;
|
|
20068
|
+
if (configuration) {
|
|
20069
|
+
baseOptions = configuration.baseOptions;
|
|
20070
|
+
}
|
|
20071
|
+
|
|
20072
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
20073
|
+
const localVarHeaderParameter = {} as any;
|
|
20074
|
+
const localVarQueryParameter = {} as any;
|
|
20075
|
+
|
|
20076
|
+
|
|
20077
|
+
|
|
19727
20078
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19728
20079
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19729
20080
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -20392,6 +20743,129 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
20392
20743
|
|
|
20393
20744
|
|
|
20394
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
|
+
|
|
20395
20869
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20396
20870
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20397
20871
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -20726,6 +21200,36 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
20726
21200
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options);
|
|
20727
21201
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
20728
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
|
+
},
|
|
20729
21233
|
/**
|
|
20730
21234
|
*
|
|
20731
21235
|
* @summary Get all HospitalMedias.
|
|
@@ -20897,6 +21401,38 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
20897
21401
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet(hospitalId, specialtyId, serviceId, mediaId, options);
|
|
20898
21402
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
20899
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
|
+
},
|
|
20900
21436
|
/**
|
|
20901
21437
|
*
|
|
20902
21438
|
* @summary Get all Hospitals.
|
|
@@ -21093,6 +21629,34 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
21093
21629
|
apiV2HospitalsHospitalIdGet(hospitalId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<HospitalModel> {
|
|
21094
21630
|
return localVarFp.apiV2HospitalsHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
21095
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
|
+
},
|
|
21096
21660
|
/**
|
|
21097
21661
|
*
|
|
21098
21662
|
* @summary Get all HospitalMedias.
|
|
@@ -21255,6 +21819,36 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
21255
21819
|
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet(hospitalId: string, specialtyId: string, serviceId: string, mediaId: string, options?: any): AxiosPromise<MediaModel> {
|
|
21256
21820
|
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet(hospitalId, specialtyId, serviceId, mediaId, options).then((request) => request(axios, basePath));
|
|
21257
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
|
+
},
|
|
21258
21852
|
/**
|
|
21259
21853
|
*
|
|
21260
21854
|
* @summary Get all Hospitals.
|
|
@@ -21469,6 +22063,38 @@ export class HospitalsApi extends BaseAPI {
|
|
|
21469
22063
|
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
21470
22064
|
}
|
|
21471
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
|
+
|
|
21472
22098
|
/**
|
|
21473
22099
|
*
|
|
21474
22100
|
* @summary Get all HospitalMedias.
|
|
@@ -21649,6 +22275,40 @@ export class HospitalsApi extends BaseAPI {
|
|
|
21649
22275
|
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet(hospitalId, specialtyId, serviceId, mediaId, options).then((request) => request(this.axios, this.basePath));
|
|
21650
22276
|
}
|
|
21651
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
|
+
|
|
21652
22312
|
/**
|
|
21653
22313
|
*
|
|
21654
22314
|
* @summary Get all Hospitals.
|