ch-api-client-typescript2 3.1.1 → 3.1.4
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 +114 -24
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +230 -36
- package/package.json +1 -1
- package/src/api.ts +219 -38
package/src/api.ts
CHANGED
|
@@ -16126,7 +16126,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
16126
16126
|
},
|
|
16127
16127
|
/**
|
|
16128
16128
|
*
|
|
16129
|
-
* @summary Get all
|
|
16129
|
+
* @summary Get all DoctorLanguages.
|
|
16130
16130
|
* @param {string} doctorId
|
|
16131
16131
|
* @param {string} [language]
|
|
16132
16132
|
* @param {number} [page]
|
|
@@ -16182,7 +16182,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
16182
16182
|
},
|
|
16183
16183
|
/**
|
|
16184
16184
|
*
|
|
16185
|
-
* @summary Get
|
|
16185
|
+
* @summary Get DoctorLanguage.
|
|
16186
16186
|
* @param {string} doctorId
|
|
16187
16187
|
* @param {string} languageId
|
|
16188
16188
|
* @param {*} [options] Override http request option.
|
|
@@ -16913,7 +16913,7 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
16913
16913
|
},
|
|
16914
16914
|
/**
|
|
16915
16915
|
*
|
|
16916
|
-
* @summary Get all
|
|
16916
|
+
* @summary Get all DoctorLanguages.
|
|
16917
16917
|
* @param {string} doctorId
|
|
16918
16918
|
* @param {string} [language]
|
|
16919
16919
|
* @param {number} [page]
|
|
@@ -16928,7 +16928,7 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
16928
16928
|
},
|
|
16929
16929
|
/**
|
|
16930
16930
|
*
|
|
16931
|
-
* @summary Get
|
|
16931
|
+
* @summary Get DoctorLanguage.
|
|
16932
16932
|
* @param {string} doctorId
|
|
16933
16933
|
* @param {string} languageId
|
|
16934
16934
|
* @param {*} [options] Override http request option.
|
|
@@ -17194,7 +17194,7 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
17194
17194
|
},
|
|
17195
17195
|
/**
|
|
17196
17196
|
*
|
|
17197
|
-
* @summary Get all
|
|
17197
|
+
* @summary Get all DoctorLanguages.
|
|
17198
17198
|
* @param {string} doctorId
|
|
17199
17199
|
* @param {string} [language]
|
|
17200
17200
|
* @param {number} [page]
|
|
@@ -17208,7 +17208,7 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
17208
17208
|
},
|
|
17209
17209
|
/**
|
|
17210
17210
|
*
|
|
17211
|
-
* @summary Get
|
|
17211
|
+
* @summary Get DoctorLanguage.
|
|
17212
17212
|
* @param {string} doctorId
|
|
17213
17213
|
* @param {string} languageId
|
|
17214
17214
|
* @param {*} [options] Override http request option.
|
|
@@ -17478,7 +17478,7 @@ export class DoctorsApi extends BaseAPI {
|
|
|
17478
17478
|
|
|
17479
17479
|
/**
|
|
17480
17480
|
*
|
|
17481
|
-
* @summary Get all
|
|
17481
|
+
* @summary Get all DoctorLanguages.
|
|
17482
17482
|
* @param {string} doctorId
|
|
17483
17483
|
* @param {string} [language]
|
|
17484
17484
|
* @param {number} [page]
|
|
@@ -17494,7 +17494,7 @@ export class DoctorsApi extends BaseAPI {
|
|
|
17494
17494
|
|
|
17495
17495
|
/**
|
|
17496
17496
|
*
|
|
17497
|
-
* @summary Get
|
|
17497
|
+
* @summary Get DoctorLanguage.
|
|
17498
17498
|
* @param {string} doctorId
|
|
17499
17499
|
* @param {string} languageId
|
|
17500
17500
|
* @param {*} [options] Override http request option.
|
|
@@ -19508,7 +19508,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
19508
19508
|
*
|
|
19509
19509
|
* @summary Get all HospitalHandles.
|
|
19510
19510
|
* @param {string} hospitalId
|
|
19511
|
-
* @param {string} [hospitalId2]
|
|
19512
19511
|
* @param {string} [id]
|
|
19513
19512
|
* @param {SnsType} [snsType]
|
|
19514
19513
|
* @param {string} [handle]
|
|
@@ -19518,7 +19517,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
19518
19517
|
* @param {*} [options] Override http request option.
|
|
19519
19518
|
* @throws {RequiredError}
|
|
19520
19519
|
*/
|
|
19521
|
-
apiV2HospitalsHospitalIdHandlesGet: async (hospitalId: string,
|
|
19520
|
+
apiV2HospitalsHospitalIdHandlesGet: async (hospitalId: string, id?: string, snsType?: SnsType, handle?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19522
19521
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
19523
19522
|
assertParamExists('apiV2HospitalsHospitalIdHandlesGet', 'hospitalId', hospitalId)
|
|
19524
19523
|
const localVarPath = `/api/v2/hospitals/{hospitalId}/handles`
|
|
@@ -19534,10 +19533,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
19534
19533
|
const localVarHeaderParameter = {} as any;
|
|
19535
19534
|
const localVarQueryParameter = {} as any;
|
|
19536
19535
|
|
|
19537
|
-
if (hospitalId2 !== undefined) {
|
|
19538
|
-
localVarQueryParameter['HospitalId'] = hospitalId2;
|
|
19539
|
-
}
|
|
19540
|
-
|
|
19541
19536
|
if (id !== undefined) {
|
|
19542
19537
|
localVarQueryParameter['Id'] = id;
|
|
19543
19538
|
}
|
|
@@ -19814,6 +19809,113 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
19814
19809
|
|
|
19815
19810
|
|
|
19816
19811
|
|
|
19812
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19813
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19814
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
19815
|
+
|
|
19816
|
+
return {
|
|
19817
|
+
url: toPathString(localVarUrlObj),
|
|
19818
|
+
options: localVarRequestOptions,
|
|
19819
|
+
};
|
|
19820
|
+
},
|
|
19821
|
+
/**
|
|
19822
|
+
*
|
|
19823
|
+
* @summary Get all HospitalServiceMedias.
|
|
19824
|
+
* @param {string} hospitalId
|
|
19825
|
+
* @param {string} hospitalSpecialtyId
|
|
19826
|
+
* @param {string} [id]
|
|
19827
|
+
* @param {MediaType} [mediaType]
|
|
19828
|
+
* @param {number} [page]
|
|
19829
|
+
* @param {number} [limit]
|
|
19830
|
+
* @param {Date} [lastRetrieved]
|
|
19831
|
+
* @param {*} [options] Override http request option.
|
|
19832
|
+
* @throws {RequiredError}
|
|
19833
|
+
*/
|
|
19834
|
+
apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet: async (hospitalId: string, hospitalSpecialtyId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19835
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
19836
|
+
assertParamExists('apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet', 'hospitalId', hospitalId)
|
|
19837
|
+
// verify required parameter 'hospitalSpecialtyId' is not null or undefined
|
|
19838
|
+
assertParamExists('apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet', 'hospitalSpecialtyId', hospitalSpecialtyId)
|
|
19839
|
+
const localVarPath = `/api/v2/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}/medias`
|
|
19840
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
19841
|
+
.replace(`{${"hospitalSpecialtyId"}}`, encodeURIComponent(String(hospitalSpecialtyId)));
|
|
19842
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19843
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19844
|
+
let baseOptions;
|
|
19845
|
+
if (configuration) {
|
|
19846
|
+
baseOptions = configuration.baseOptions;
|
|
19847
|
+
}
|
|
19848
|
+
|
|
19849
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
19850
|
+
const localVarHeaderParameter = {} as any;
|
|
19851
|
+
const localVarQueryParameter = {} as any;
|
|
19852
|
+
|
|
19853
|
+
if (id !== undefined) {
|
|
19854
|
+
localVarQueryParameter['Id'] = id;
|
|
19855
|
+
}
|
|
19856
|
+
|
|
19857
|
+
if (mediaType !== undefined) {
|
|
19858
|
+
localVarQueryParameter['MediaType'] = mediaType;
|
|
19859
|
+
}
|
|
19860
|
+
|
|
19861
|
+
if (page !== undefined) {
|
|
19862
|
+
localVarQueryParameter['page'] = page;
|
|
19863
|
+
}
|
|
19864
|
+
|
|
19865
|
+
if (limit !== undefined) {
|
|
19866
|
+
localVarQueryParameter['limit'] = limit;
|
|
19867
|
+
}
|
|
19868
|
+
|
|
19869
|
+
if (lastRetrieved !== undefined) {
|
|
19870
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
19871
|
+
(lastRetrieved as any).toISOString() :
|
|
19872
|
+
lastRetrieved;
|
|
19873
|
+
}
|
|
19874
|
+
|
|
19875
|
+
|
|
19876
|
+
|
|
19877
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19878
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19879
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
19880
|
+
|
|
19881
|
+
return {
|
|
19882
|
+
url: toPathString(localVarUrlObj),
|
|
19883
|
+
options: localVarRequestOptions,
|
|
19884
|
+
};
|
|
19885
|
+
},
|
|
19886
|
+
/**
|
|
19887
|
+
*
|
|
19888
|
+
* @summary Get HospitalServiceMedia.
|
|
19889
|
+
* @param {string} hospitalId
|
|
19890
|
+
* @param {string} hospitalSpecialtyId
|
|
19891
|
+
* @param {string} mediaId
|
|
19892
|
+
* @param {*} [options] Override http request option.
|
|
19893
|
+
* @throws {RequiredError}
|
|
19894
|
+
*/
|
|
19895
|
+
apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet: async (hospitalId: string, hospitalSpecialtyId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19896
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
19897
|
+
assertParamExists('apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet', 'hospitalId', hospitalId)
|
|
19898
|
+
// verify required parameter 'hospitalSpecialtyId' is not null or undefined
|
|
19899
|
+
assertParamExists('apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet', 'hospitalSpecialtyId', hospitalSpecialtyId)
|
|
19900
|
+
// verify required parameter 'mediaId' is not null or undefined
|
|
19901
|
+
assertParamExists('apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet', 'mediaId', mediaId)
|
|
19902
|
+
const localVarPath = `/api/v2/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}/medias/{mediaId}`
|
|
19903
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
19904
|
+
.replace(`{${"hospitalSpecialtyId"}}`, encodeURIComponent(String(hospitalSpecialtyId)))
|
|
19905
|
+
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
19906
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19907
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19908
|
+
let baseOptions;
|
|
19909
|
+
if (configuration) {
|
|
19910
|
+
baseOptions = configuration.baseOptions;
|
|
19911
|
+
}
|
|
19912
|
+
|
|
19913
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
19914
|
+
const localVarHeaderParameter = {} as any;
|
|
19915
|
+
const localVarQueryParameter = {} as any;
|
|
19916
|
+
|
|
19917
|
+
|
|
19918
|
+
|
|
19817
19919
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19818
19920
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19819
19921
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -20285,7 +20387,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
20285
20387
|
*
|
|
20286
20388
|
* @summary Get all HospitalWorkingDays.
|
|
20287
20389
|
* @param {string} hospitalId
|
|
20288
|
-
* @param {string} [hospitalId2]
|
|
20289
20390
|
* @param {string} [id]
|
|
20290
20391
|
* @param {string} [dayOfWeek]
|
|
20291
20392
|
* @param {Date} [timeFrom]
|
|
@@ -20297,7 +20398,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
20297
20398
|
* @param {*} [options] Override http request option.
|
|
20298
20399
|
* @throws {RequiredError}
|
|
20299
20400
|
*/
|
|
20300
|
-
apiV2HospitalsHospitalIdWorkingdaysGet: async (hospitalId: string,
|
|
20401
|
+
apiV2HospitalsHospitalIdWorkingdaysGet: async (hospitalId: string, id?: string, dayOfWeek?: string, timeFrom?: Date, timeTo?: Date, checkHoliday?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20301
20402
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
20302
20403
|
assertParamExists('apiV2HospitalsHospitalIdWorkingdaysGet', 'hospitalId', hospitalId)
|
|
20303
20404
|
const localVarPath = `/api/v2/hospitals/{hospitalId}/workingdays`
|
|
@@ -20313,10 +20414,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
20313
20414
|
const localVarHeaderParameter = {} as any;
|
|
20314
20415
|
const localVarQueryParameter = {} as any;
|
|
20315
20416
|
|
|
20316
|
-
if (hospitalId2 !== undefined) {
|
|
20317
|
-
localVarQueryParameter['HospitalId'] = hospitalId2;
|
|
20318
|
-
}
|
|
20319
|
-
|
|
20320
20417
|
if (id !== undefined) {
|
|
20321
20418
|
localVarQueryParameter['Id'] = id;
|
|
20322
20419
|
}
|
|
@@ -20733,7 +20830,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
20733
20830
|
*
|
|
20734
20831
|
* @summary Get all HospitalHandles.
|
|
20735
20832
|
* @param {string} hospitalId
|
|
20736
|
-
* @param {string} [hospitalId2]
|
|
20737
20833
|
* @param {string} [id]
|
|
20738
20834
|
* @param {SnsType} [snsType]
|
|
20739
20835
|
* @param {string} [handle]
|
|
@@ -20743,8 +20839,8 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
20743
20839
|
* @param {*} [options] Override http request option.
|
|
20744
20840
|
* @throws {RequiredError}
|
|
20745
20841
|
*/
|
|
20746
|
-
async apiV2HospitalsHospitalIdHandlesGet(hospitalId: string,
|
|
20747
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdHandlesGet(hospitalId,
|
|
20842
|
+
async apiV2HospitalsHospitalIdHandlesGet(hospitalId: string, id?: string, snsType?: SnsType, handle?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSnsHandlesModel>> {
|
|
20843
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdHandlesGet(hospitalId, id, snsType, handle, page, limit, lastRetrieved, options);
|
|
20748
20844
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
20749
20845
|
},
|
|
20750
20846
|
/**
|
|
@@ -20813,6 +20909,36 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
20813
20909
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options);
|
|
20814
20910
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
20815
20911
|
},
|
|
20912
|
+
/**
|
|
20913
|
+
*
|
|
20914
|
+
* @summary Get all HospitalServiceMedias.
|
|
20915
|
+
* @param {string} hospitalId
|
|
20916
|
+
* @param {string} hospitalSpecialtyId
|
|
20917
|
+
* @param {string} [id]
|
|
20918
|
+
* @param {MediaType} [mediaType]
|
|
20919
|
+
* @param {number} [page]
|
|
20920
|
+
* @param {number} [limit]
|
|
20921
|
+
* @param {Date} [lastRetrieved]
|
|
20922
|
+
* @param {*} [options] Override http request option.
|
|
20923
|
+
* @throws {RequiredError}
|
|
20924
|
+
*/
|
|
20925
|
+
async apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet(hospitalId: string, hospitalSpecialtyId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediasModel>> {
|
|
20926
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet(hospitalId, hospitalSpecialtyId, id, mediaType, page, limit, lastRetrieved, options);
|
|
20927
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
20928
|
+
},
|
|
20929
|
+
/**
|
|
20930
|
+
*
|
|
20931
|
+
* @summary Get HospitalServiceMedia.
|
|
20932
|
+
* @param {string} hospitalId
|
|
20933
|
+
* @param {string} hospitalSpecialtyId
|
|
20934
|
+
* @param {string} mediaId
|
|
20935
|
+
* @param {*} [options] Override http request option.
|
|
20936
|
+
* @throws {RequiredError}
|
|
20937
|
+
*/
|
|
20938
|
+
async apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet(hospitalId: string, hospitalSpecialtyId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
|
|
20939
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet(hospitalId, hospitalSpecialtyId, mediaId, options);
|
|
20940
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
20941
|
+
},
|
|
20816
20942
|
/**
|
|
20817
20943
|
*
|
|
20818
20944
|
* @summary Get all HospitalSpecialties.
|
|
@@ -20934,7 +21060,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
20934
21060
|
*
|
|
20935
21061
|
* @summary Get all HospitalWorkingDays.
|
|
20936
21062
|
* @param {string} hospitalId
|
|
20937
|
-
* @param {string} [hospitalId2]
|
|
20938
21063
|
* @param {string} [id]
|
|
20939
21064
|
* @param {string} [dayOfWeek]
|
|
20940
21065
|
* @param {Date} [timeFrom]
|
|
@@ -20946,8 +21071,8 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
20946
21071
|
* @param {*} [options] Override http request option.
|
|
20947
21072
|
* @throws {RequiredError}
|
|
20948
21073
|
*/
|
|
20949
|
-
async apiV2HospitalsHospitalIdWorkingdaysGet(hospitalId: string,
|
|
20950
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdWorkingdaysGet(hospitalId,
|
|
21074
|
+
async apiV2HospitalsHospitalIdWorkingdaysGet(hospitalId: 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>> {
|
|
21075
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdWorkingdaysGet(hospitalId, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options);
|
|
20951
21076
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
20952
21077
|
},
|
|
20953
21078
|
/**
|
|
@@ -21162,7 +21287,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
21162
21287
|
*
|
|
21163
21288
|
* @summary Get all HospitalHandles.
|
|
21164
21289
|
* @param {string} hospitalId
|
|
21165
|
-
* @param {string} [hospitalId2]
|
|
21166
21290
|
* @param {string} [id]
|
|
21167
21291
|
* @param {SnsType} [snsType]
|
|
21168
21292
|
* @param {string} [handle]
|
|
@@ -21172,8 +21296,8 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
21172
21296
|
* @param {*} [options] Override http request option.
|
|
21173
21297
|
* @throws {RequiredError}
|
|
21174
21298
|
*/
|
|
21175
|
-
apiV2HospitalsHospitalIdHandlesGet(hospitalId: string,
|
|
21176
|
-
return localVarFp.apiV2HospitalsHospitalIdHandlesGet(hospitalId,
|
|
21299
|
+
apiV2HospitalsHospitalIdHandlesGet(hospitalId: string, id?: string, snsType?: SnsType, handle?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSnsHandlesModel> {
|
|
21300
|
+
return localVarFp.apiV2HospitalsHospitalIdHandlesGet(hospitalId, id, snsType, handle, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
21177
21301
|
},
|
|
21178
21302
|
/**
|
|
21179
21303
|
*
|
|
@@ -21237,6 +21361,34 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
21237
21361
|
apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, hospitalSpecialtySlug?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSpecialtiesModel> {
|
|
21238
21362
|
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
21239
21363
|
},
|
|
21364
|
+
/**
|
|
21365
|
+
*
|
|
21366
|
+
* @summary Get all HospitalServiceMedias.
|
|
21367
|
+
* @param {string} hospitalId
|
|
21368
|
+
* @param {string} hospitalSpecialtyId
|
|
21369
|
+
* @param {string} [id]
|
|
21370
|
+
* @param {MediaType} [mediaType]
|
|
21371
|
+
* @param {number} [page]
|
|
21372
|
+
* @param {number} [limit]
|
|
21373
|
+
* @param {Date} [lastRetrieved]
|
|
21374
|
+
* @param {*} [options] Override http request option.
|
|
21375
|
+
* @throws {RequiredError}
|
|
21376
|
+
*/
|
|
21377
|
+
apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet(hospitalId: string, hospitalSpecialtyId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<MediasModel> {
|
|
21378
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet(hospitalId, hospitalSpecialtyId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
21379
|
+
},
|
|
21380
|
+
/**
|
|
21381
|
+
*
|
|
21382
|
+
* @summary Get HospitalServiceMedia.
|
|
21383
|
+
* @param {string} hospitalId
|
|
21384
|
+
* @param {string} hospitalSpecialtyId
|
|
21385
|
+
* @param {string} mediaId
|
|
21386
|
+
* @param {*} [options] Override http request option.
|
|
21387
|
+
* @throws {RequiredError}
|
|
21388
|
+
*/
|
|
21389
|
+
apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet(hospitalId: string, hospitalSpecialtyId: string, mediaId: string, options?: any): AxiosPromise<MediaModel> {
|
|
21390
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet(hospitalId, hospitalSpecialtyId, mediaId, options).then((request) => request(axios, basePath));
|
|
21391
|
+
},
|
|
21240
21392
|
/**
|
|
21241
21393
|
*
|
|
21242
21394
|
* @summary Get all HospitalSpecialties.
|
|
@@ -21352,7 +21504,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
21352
21504
|
*
|
|
21353
21505
|
* @summary Get all HospitalWorkingDays.
|
|
21354
21506
|
* @param {string} hospitalId
|
|
21355
|
-
* @param {string} [hospitalId2]
|
|
21356
21507
|
* @param {string} [id]
|
|
21357
21508
|
* @param {string} [dayOfWeek]
|
|
21358
21509
|
* @param {Date} [timeFrom]
|
|
@@ -21364,8 +21515,8 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
21364
21515
|
* @param {*} [options] Override http request option.
|
|
21365
21516
|
* @throws {RequiredError}
|
|
21366
21517
|
*/
|
|
21367
|
-
apiV2HospitalsHospitalIdWorkingdaysGet(hospitalId: string,
|
|
21368
|
-
return localVarFp.apiV2HospitalsHospitalIdWorkingdaysGet(hospitalId,
|
|
21518
|
+
apiV2HospitalsHospitalIdWorkingdaysGet(hospitalId: string, id?: string, dayOfWeek?: string, timeFrom?: Date, timeTo?: Date, checkHoliday?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<WorkingDaysModel> {
|
|
21519
|
+
return localVarFp.apiV2HospitalsHospitalIdWorkingdaysGet(hospitalId, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
21369
21520
|
},
|
|
21370
21521
|
/**
|
|
21371
21522
|
*
|
|
@@ -21596,7 +21747,6 @@ export class HospitalsApi extends BaseAPI {
|
|
|
21596
21747
|
*
|
|
21597
21748
|
* @summary Get all HospitalHandles.
|
|
21598
21749
|
* @param {string} hospitalId
|
|
21599
|
-
* @param {string} [hospitalId2]
|
|
21600
21750
|
* @param {string} [id]
|
|
21601
21751
|
* @param {SnsType} [snsType]
|
|
21602
21752
|
* @param {string} [handle]
|
|
@@ -21607,8 +21757,8 @@ export class HospitalsApi extends BaseAPI {
|
|
|
21607
21757
|
* @throws {RequiredError}
|
|
21608
21758
|
* @memberof HospitalsApi
|
|
21609
21759
|
*/
|
|
21610
|
-
public apiV2HospitalsHospitalIdHandlesGet(hospitalId: string,
|
|
21611
|
-
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdHandlesGet(hospitalId,
|
|
21760
|
+
public apiV2HospitalsHospitalIdHandlesGet(hospitalId: string, id?: string, snsType?: SnsType, handle?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
21761
|
+
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdHandlesGet(hospitalId, id, snsType, handle, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
21612
21762
|
}
|
|
21613
21763
|
|
|
21614
21764
|
/**
|
|
@@ -21681,6 +21831,38 @@ export class HospitalsApi extends BaseAPI {
|
|
|
21681
21831
|
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
21682
21832
|
}
|
|
21683
21833
|
|
|
21834
|
+
/**
|
|
21835
|
+
*
|
|
21836
|
+
* @summary Get all HospitalServiceMedias.
|
|
21837
|
+
* @param {string} hospitalId
|
|
21838
|
+
* @param {string} hospitalSpecialtyId
|
|
21839
|
+
* @param {string} [id]
|
|
21840
|
+
* @param {MediaType} [mediaType]
|
|
21841
|
+
* @param {number} [page]
|
|
21842
|
+
* @param {number} [limit]
|
|
21843
|
+
* @param {Date} [lastRetrieved]
|
|
21844
|
+
* @param {*} [options] Override http request option.
|
|
21845
|
+
* @throws {RequiredError}
|
|
21846
|
+
* @memberof HospitalsApi
|
|
21847
|
+
*/
|
|
21848
|
+
public apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet(hospitalId: string, hospitalSpecialtyId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
21849
|
+
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet(hospitalId, hospitalSpecialtyId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
21850
|
+
}
|
|
21851
|
+
|
|
21852
|
+
/**
|
|
21853
|
+
*
|
|
21854
|
+
* @summary Get HospitalServiceMedia.
|
|
21855
|
+
* @param {string} hospitalId
|
|
21856
|
+
* @param {string} hospitalSpecialtyId
|
|
21857
|
+
* @param {string} mediaId
|
|
21858
|
+
* @param {*} [options] Override http request option.
|
|
21859
|
+
* @throws {RequiredError}
|
|
21860
|
+
* @memberof HospitalsApi
|
|
21861
|
+
*/
|
|
21862
|
+
public apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet(hospitalId: string, hospitalSpecialtyId: string, mediaId: string, options?: AxiosRequestConfig) {
|
|
21863
|
+
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet(hospitalId, hospitalSpecialtyId, mediaId, options).then((request) => request(this.axios, this.basePath));
|
|
21864
|
+
}
|
|
21865
|
+
|
|
21684
21866
|
/**
|
|
21685
21867
|
*
|
|
21686
21868
|
* @summary Get all HospitalSpecialties.
|
|
@@ -21808,7 +21990,6 @@ export class HospitalsApi extends BaseAPI {
|
|
|
21808
21990
|
*
|
|
21809
21991
|
* @summary Get all HospitalWorkingDays.
|
|
21810
21992
|
* @param {string} hospitalId
|
|
21811
|
-
* @param {string} [hospitalId2]
|
|
21812
21993
|
* @param {string} [id]
|
|
21813
21994
|
* @param {string} [dayOfWeek]
|
|
21814
21995
|
* @param {Date} [timeFrom]
|
|
@@ -21821,8 +22002,8 @@ export class HospitalsApi extends BaseAPI {
|
|
|
21821
22002
|
* @throws {RequiredError}
|
|
21822
22003
|
* @memberof HospitalsApi
|
|
21823
22004
|
*/
|
|
21824
|
-
public apiV2HospitalsHospitalIdWorkingdaysGet(hospitalId: string,
|
|
21825
|
-
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdWorkingdaysGet(hospitalId,
|
|
22005
|
+
public apiV2HospitalsHospitalIdWorkingdaysGet(hospitalId: string, id?: string, dayOfWeek?: string, timeFrom?: Date, timeTo?: Date, checkHoliday?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
22006
|
+
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdWorkingdaysGet(hospitalId, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
21826
22007
|
}
|
|
21827
22008
|
|
|
21828
22009
|
/**
|