ch-admin-api-client-typescript 2.6.0 → 2.6.5
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 +69 -60
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +115 -60
- package/package.json +1 -1
- package/src/api.ts +121 -67
package/src/api.ts
CHANGED
|
@@ -3319,10 +3319,10 @@ export interface CreateCountryCommand {
|
|
|
3319
3319
|
'content'?: string | null;
|
|
3320
3320
|
/**
|
|
3321
3321
|
*
|
|
3322
|
-
* @type {
|
|
3322
|
+
* @type {string}
|
|
3323
3323
|
* @memberof CreateCountryCommand
|
|
3324
3324
|
*/
|
|
3325
|
-
'
|
|
3325
|
+
'logo'?: string | null;
|
|
3326
3326
|
}
|
|
3327
3327
|
/**
|
|
3328
3328
|
*
|
|
@@ -9032,6 +9032,12 @@ export interface ServiceCategoryModel {
|
|
|
9032
9032
|
* @memberof ServiceCategoryModel
|
|
9033
9033
|
*/
|
|
9034
9034
|
'services'?: Array<HospitalServiceItemModel> | null;
|
|
9035
|
+
/**
|
|
9036
|
+
*
|
|
9037
|
+
* @type {string}
|
|
9038
|
+
* @memberof ServiceCategoryModel
|
|
9039
|
+
*/
|
|
9040
|
+
'languageCode'?: string | null;
|
|
9035
9041
|
}
|
|
9036
9042
|
/**
|
|
9037
9043
|
*
|
|
@@ -10176,6 +10182,12 @@ export interface UpdateCountryCommand {
|
|
|
10176
10182
|
* @memberof UpdateCountryCommand
|
|
10177
10183
|
*/
|
|
10178
10184
|
'slug'?: string | null;
|
|
10185
|
+
/**
|
|
10186
|
+
*
|
|
10187
|
+
* @type {string}
|
|
10188
|
+
* @memberof UpdateCountryCommand
|
|
10189
|
+
*/
|
|
10190
|
+
'logo'?: string | null;
|
|
10179
10191
|
/**
|
|
10180
10192
|
*
|
|
10181
10193
|
* @type {string}
|
|
@@ -10812,19 +10824,19 @@ export interface UpdateHospitalServiceCommand {
|
|
|
10812
10824
|
* @type {number}
|
|
10813
10825
|
* @memberof UpdateHospitalServiceCommand
|
|
10814
10826
|
*/
|
|
10815
|
-
'minPrice'?: number;
|
|
10827
|
+
'minPrice'?: number | null;
|
|
10816
10828
|
/**
|
|
10817
10829
|
*
|
|
10818
10830
|
* @type {number}
|
|
10819
10831
|
* @memberof UpdateHospitalServiceCommand
|
|
10820
10832
|
*/
|
|
10821
|
-
'maxPrice'?: number;
|
|
10833
|
+
'maxPrice'?: number | null;
|
|
10822
10834
|
/**
|
|
10823
10835
|
*
|
|
10824
10836
|
* @type {boolean}
|
|
10825
10837
|
* @memberof UpdateHospitalServiceCommand
|
|
10826
10838
|
*/
|
|
10827
|
-
'priceReuqest'?: boolean;
|
|
10839
|
+
'priceReuqest'?: boolean | null;
|
|
10828
10840
|
/**
|
|
10829
10841
|
*
|
|
10830
10842
|
* @type {Procedure}
|
|
@@ -18485,10 +18497,10 @@ export const CountriesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18485
18497
|
* @param {*} [options] Override http request option.
|
|
18486
18498
|
* @throws {RequiredError}
|
|
18487
18499
|
*/
|
|
18488
|
-
|
|
18500
|
+
apiV1CountriesCountryIdReactivePut: async (countryId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18489
18501
|
// verify required parameter 'countryId' is not null or undefined
|
|
18490
|
-
assertParamExists('
|
|
18491
|
-
const localVarPath = `/api/v1/countries/{countryId}/
|
|
18502
|
+
assertParamExists('apiV1CountriesCountryIdReactivePut', 'countryId', countryId)
|
|
18503
|
+
const localVarPath = `/api/v1/countries/{countryId}/reactive`
|
|
18492
18504
|
.replace(`{${"countryId"}}`, encodeURIComponent(String(countryId)));
|
|
18493
18505
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18494
18506
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -18644,7 +18656,6 @@ export const CountriesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18644
18656
|
},
|
|
18645
18657
|
/**
|
|
18646
18658
|
*
|
|
18647
|
-
* @summary Get country by slug.
|
|
18648
18659
|
* @param {string} slug
|
|
18649
18660
|
* @param {string} [languageCode]
|
|
18650
18661
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -18808,8 +18819,8 @@ export const CountriesApiFp = function(configuration?: Configuration) {
|
|
|
18808
18819
|
* @param {*} [options] Override http request option.
|
|
18809
18820
|
* @throws {RequiredError}
|
|
18810
18821
|
*/
|
|
18811
|
-
async
|
|
18812
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
18822
|
+
async apiV1CountriesCountryIdReactivePut(countryId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
18823
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1CountriesCountryIdReactivePut(countryId, options);
|
|
18813
18824
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
18814
18825
|
},
|
|
18815
18826
|
/**
|
|
@@ -18845,7 +18856,6 @@ export const CountriesApiFp = function(configuration?: Configuration) {
|
|
|
18845
18856
|
},
|
|
18846
18857
|
/**
|
|
18847
18858
|
*
|
|
18848
|
-
* @summary Get country by slug.
|
|
18849
18859
|
* @param {string} slug
|
|
18850
18860
|
* @param {string} [languageCode]
|
|
18851
18861
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -18966,8 +18976,8 @@ export const CountriesApiFactory = function (configuration?: Configuration, base
|
|
|
18966
18976
|
* @param {*} [options] Override http request option.
|
|
18967
18977
|
* @throws {RequiredError}
|
|
18968
18978
|
*/
|
|
18969
|
-
|
|
18970
|
-
return localVarFp.
|
|
18979
|
+
apiV1CountriesCountryIdReactivePut(countryId: string, options?: any): AxiosPromise<boolean> {
|
|
18980
|
+
return localVarFp.apiV1CountriesCountryIdReactivePut(countryId, options).then((request) => request(axios, basePath));
|
|
18971
18981
|
},
|
|
18972
18982
|
/**
|
|
18973
18983
|
*
|
|
@@ -19000,7 +19010,6 @@ export const CountriesApiFactory = function (configuration?: Configuration, base
|
|
|
19000
19010
|
},
|
|
19001
19011
|
/**
|
|
19002
19012
|
*
|
|
19003
|
-
* @summary Get country by slug.
|
|
19004
19013
|
* @param {string} slug
|
|
19005
19014
|
* @param {string} [languageCode]
|
|
19006
19015
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -19137,8 +19146,8 @@ export class CountriesApi extends BaseAPI {
|
|
|
19137
19146
|
* @throws {RequiredError}
|
|
19138
19147
|
* @memberof CountriesApi
|
|
19139
19148
|
*/
|
|
19140
|
-
public
|
|
19141
|
-
return CountriesApiFp(this.configuration).
|
|
19149
|
+
public apiV1CountriesCountryIdReactivePut(countryId: string, options?: AxiosRequestConfig) {
|
|
19150
|
+
return CountriesApiFp(this.configuration).apiV1CountriesCountryIdReactivePut(countryId, options).then((request) => request(this.axios, this.basePath));
|
|
19142
19151
|
}
|
|
19143
19152
|
|
|
19144
19153
|
/**
|
|
@@ -19176,7 +19185,6 @@ export class CountriesApi extends BaseAPI {
|
|
|
19176
19185
|
|
|
19177
19186
|
/**
|
|
19178
19187
|
*
|
|
19179
|
-
* @summary Get country by slug.
|
|
19180
19188
|
* @param {string} slug
|
|
19181
19189
|
* @param {string} [languageCode]
|
|
19182
19190
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -21445,7 +21453,6 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
21445
21453
|
},
|
|
21446
21454
|
/**
|
|
21447
21455
|
*
|
|
21448
|
-
* @summary Get Doctor.
|
|
21449
21456
|
* @param {string} doctorId
|
|
21450
21457
|
* @param {string} [languageCode]
|
|
21451
21458
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -22399,7 +22406,6 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
22399
22406
|
},
|
|
22400
22407
|
/**
|
|
22401
22408
|
*
|
|
22402
|
-
* @summary Get Doctor by slug.
|
|
22403
22409
|
* @param {string} slug
|
|
22404
22410
|
* @param {string} [languageCode]
|
|
22405
22411
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -22501,7 +22507,7 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
22501
22507
|
* @param {*} [options] Override http request option.
|
|
22502
22508
|
* @throws {RequiredError}
|
|
22503
22509
|
*/
|
|
22504
|
-
async apiV1DoctorsDoctorIdAffiliationsPost(doctorId: string, createDoctorAffiliationCommand?: CreateDoctorAffiliationCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
22510
|
+
async apiV1DoctorsDoctorIdAffiliationsPost(doctorId: string, createDoctorAffiliationCommand?: CreateDoctorAffiliationCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorAffiliationModel>> {
|
|
22505
22511
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdAffiliationsPost(doctorId, createDoctorAffiliationCommand, options);
|
|
22506
22512
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22507
22513
|
},
|
|
@@ -22654,7 +22660,6 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
22654
22660
|
},
|
|
22655
22661
|
/**
|
|
22656
22662
|
*
|
|
22657
|
-
* @summary Get Doctor.
|
|
22658
22663
|
* @param {string} doctorId
|
|
22659
22664
|
* @param {string} [languageCode]
|
|
22660
22665
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -22910,7 +22915,6 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
22910
22915
|
},
|
|
22911
22916
|
/**
|
|
22912
22917
|
*
|
|
22913
|
-
* @summary Get Doctor by slug.
|
|
22914
22918
|
* @param {string} slug
|
|
22915
22919
|
* @param {string} [languageCode]
|
|
22916
22920
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -22974,7 +22978,7 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
22974
22978
|
* @param {*} [options] Override http request option.
|
|
22975
22979
|
* @throws {RequiredError}
|
|
22976
22980
|
*/
|
|
22977
|
-
apiV1DoctorsDoctorIdAffiliationsPost(doctorId: string, createDoctorAffiliationCommand?: CreateDoctorAffiliationCommand, options?: any): AxiosPromise<
|
|
22981
|
+
apiV1DoctorsDoctorIdAffiliationsPost(doctorId: string, createDoctorAffiliationCommand?: CreateDoctorAffiliationCommand, options?: any): AxiosPromise<DoctorAffiliationModel> {
|
|
22978
22982
|
return localVarFp.apiV1DoctorsDoctorIdAffiliationsPost(doctorId, createDoctorAffiliationCommand, options).then((request) => request(axios, basePath));
|
|
22979
22983
|
},
|
|
22980
22984
|
/**
|
|
@@ -23115,7 +23119,6 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
23115
23119
|
},
|
|
23116
23120
|
/**
|
|
23117
23121
|
*
|
|
23118
|
-
* @summary Get Doctor.
|
|
23119
23122
|
* @param {string} doctorId
|
|
23120
23123
|
* @param {string} [languageCode]
|
|
23121
23124
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -23352,7 +23355,6 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
23352
23355
|
},
|
|
23353
23356
|
/**
|
|
23354
23357
|
*
|
|
23355
|
-
* @summary Get Doctor by slug.
|
|
23356
23358
|
* @param {string} slug
|
|
23357
23359
|
* @param {string} [languageCode]
|
|
23358
23360
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -23586,7 +23588,6 @@ export class DoctorsApi extends BaseAPI {
|
|
|
23586
23588
|
|
|
23587
23589
|
/**
|
|
23588
23590
|
*
|
|
23589
|
-
* @summary Get Doctor.
|
|
23590
23591
|
* @param {string} doctorId
|
|
23591
23592
|
* @param {string} [languageCode]
|
|
23592
23593
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -23861,7 +23862,6 @@ export class DoctorsApi extends BaseAPI {
|
|
|
23861
23862
|
|
|
23862
23863
|
/**
|
|
23863
23864
|
*
|
|
23864
|
-
* @summary Get Doctor by slug.
|
|
23865
23865
|
* @param {string} slug
|
|
23866
23866
|
* @param {string} [languageCode]
|
|
23867
23867
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -26757,6 +26757,48 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
26757
26757
|
options: localVarRequestOptions,
|
|
26758
26758
|
};
|
|
26759
26759
|
},
|
|
26760
|
+
/**
|
|
26761
|
+
*
|
|
26762
|
+
* @summary Reactivate HospitalEquipment.
|
|
26763
|
+
* @param {string} hospitalId
|
|
26764
|
+
* @param {string} equipmentId
|
|
26765
|
+
* @param {*} [options] Override http request option.
|
|
26766
|
+
* @throws {RequiredError}
|
|
26767
|
+
*/
|
|
26768
|
+
apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivePut: async (hospitalId: string, equipmentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26769
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
26770
|
+
assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivePut', 'hospitalId', hospitalId)
|
|
26771
|
+
// verify required parameter 'equipmentId' is not null or undefined
|
|
26772
|
+
assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivePut', 'equipmentId', equipmentId)
|
|
26773
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/equipments/{equipmentId}/reactive`
|
|
26774
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
26775
|
+
.replace(`{${"equipmentId"}}`, encodeURIComponent(String(equipmentId)));
|
|
26776
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26777
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26778
|
+
let baseOptions;
|
|
26779
|
+
if (configuration) {
|
|
26780
|
+
baseOptions = configuration.baseOptions;
|
|
26781
|
+
}
|
|
26782
|
+
|
|
26783
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
26784
|
+
const localVarHeaderParameter = {} as any;
|
|
26785
|
+
const localVarQueryParameter = {} as any;
|
|
26786
|
+
|
|
26787
|
+
// authentication oauth2 required
|
|
26788
|
+
// oauth required
|
|
26789
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
26790
|
+
|
|
26791
|
+
|
|
26792
|
+
|
|
26793
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26794
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26795
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
26796
|
+
|
|
26797
|
+
return {
|
|
26798
|
+
url: toPathString(localVarUrlObj),
|
|
26799
|
+
options: localVarRequestOptions,
|
|
26800
|
+
};
|
|
26801
|
+
},
|
|
26760
26802
|
/**
|
|
26761
26803
|
*
|
|
26762
26804
|
* @summary Get all HospitalEquipments.
|
|
@@ -27852,7 +27894,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
27852
27894
|
},
|
|
27853
27895
|
/**
|
|
27854
27896
|
*
|
|
27855
|
-
* @summary Delete HospitalService
|
|
27856
27897
|
* @param {string} hospitalId
|
|
27857
27898
|
* @param {string} specialtyId
|
|
27858
27899
|
* @param {string} serviceId
|
|
@@ -27898,7 +27939,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
27898
27939
|
},
|
|
27899
27940
|
/**
|
|
27900
27941
|
*
|
|
27901
|
-
* @summary Get HospitalService.
|
|
27902
27942
|
* @param {string} hospitalId
|
|
27903
27943
|
* @param {string} specialtyId
|
|
27904
27944
|
* @param {string} serviceId
|
|
@@ -28442,7 +28482,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
28442
28482
|
},
|
|
28443
28483
|
/**
|
|
28444
28484
|
*
|
|
28445
|
-
* @summary Get Hospital by slug.
|
|
28446
28485
|
* @param {string} slug
|
|
28447
28486
|
* @param {string} [languageCode]
|
|
28448
28487
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -28696,6 +28735,18 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
28696
28735
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdEquipmentsEquipmentIdPut(hospitalId, equipmentId, updateHospitalEquipmentCommand, options);
|
|
28697
28736
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28698
28737
|
},
|
|
28738
|
+
/**
|
|
28739
|
+
*
|
|
28740
|
+
* @summary Reactivate HospitalEquipment.
|
|
28741
|
+
* @param {string} hospitalId
|
|
28742
|
+
* @param {string} equipmentId
|
|
28743
|
+
* @param {*} [options] Override http request option.
|
|
28744
|
+
* @throws {RequiredError}
|
|
28745
|
+
*/
|
|
28746
|
+
async apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivePut(hospitalId: string, equipmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
28747
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivePut(hospitalId, equipmentId, options);
|
|
28748
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28749
|
+
},
|
|
28699
28750
|
/**
|
|
28700
28751
|
*
|
|
28701
28752
|
* @summary Get all HospitalEquipments.
|
|
@@ -28985,7 +29036,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
28985
29036
|
},
|
|
28986
29037
|
/**
|
|
28987
29038
|
*
|
|
28988
|
-
* @summary Delete HospitalService
|
|
28989
29039
|
* @param {string} hospitalId
|
|
28990
29040
|
* @param {string} specialtyId
|
|
28991
29041
|
* @param {string} serviceId
|
|
@@ -28998,7 +29048,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
28998
29048
|
},
|
|
28999
29049
|
/**
|
|
29000
29050
|
*
|
|
29001
|
-
* @summary Get HospitalService.
|
|
29002
29051
|
* @param {string} hospitalId
|
|
29003
29052
|
* @param {string} specialtyId
|
|
29004
29053
|
* @param {string} serviceId
|
|
@@ -29140,7 +29189,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
29140
29189
|
},
|
|
29141
29190
|
/**
|
|
29142
29191
|
*
|
|
29143
|
-
* @summary Get Hospital by slug.
|
|
29144
29192
|
* @param {string} slug
|
|
29145
29193
|
* @param {string} [languageCode]
|
|
29146
29194
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -29345,6 +29393,17 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
29345
29393
|
apiV1HospitalsHospitalIdEquipmentsEquipmentIdPut(hospitalId: string, equipmentId: string, updateHospitalEquipmentCommand?: UpdateHospitalEquipmentCommand, options?: any): AxiosPromise<HospitalEquipmentModel> {
|
|
29346
29394
|
return localVarFp.apiV1HospitalsHospitalIdEquipmentsEquipmentIdPut(hospitalId, equipmentId, updateHospitalEquipmentCommand, options).then((request) => request(axios, basePath));
|
|
29347
29395
|
},
|
|
29396
|
+
/**
|
|
29397
|
+
*
|
|
29398
|
+
* @summary Reactivate HospitalEquipment.
|
|
29399
|
+
* @param {string} hospitalId
|
|
29400
|
+
* @param {string} equipmentId
|
|
29401
|
+
* @param {*} [options] Override http request option.
|
|
29402
|
+
* @throws {RequiredError}
|
|
29403
|
+
*/
|
|
29404
|
+
apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivePut(hospitalId: string, equipmentId: string, options?: any): AxiosPromise<boolean> {
|
|
29405
|
+
return localVarFp.apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivePut(hospitalId, equipmentId, options).then((request) => request(axios, basePath));
|
|
29406
|
+
},
|
|
29348
29407
|
/**
|
|
29349
29408
|
*
|
|
29350
29409
|
* @summary Get all HospitalEquipments.
|
|
@@ -29614,7 +29673,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
29614
29673
|
},
|
|
29615
29674
|
/**
|
|
29616
29675
|
*
|
|
29617
|
-
* @summary Delete HospitalService
|
|
29618
29676
|
* @param {string} hospitalId
|
|
29619
29677
|
* @param {string} specialtyId
|
|
29620
29678
|
* @param {string} serviceId
|
|
@@ -29626,7 +29684,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
29626
29684
|
},
|
|
29627
29685
|
/**
|
|
29628
29686
|
*
|
|
29629
|
-
* @summary Get HospitalService.
|
|
29630
29687
|
* @param {string} hospitalId
|
|
29631
29688
|
* @param {string} specialtyId
|
|
29632
29689
|
* @param {string} serviceId
|
|
@@ -29759,7 +29816,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
29759
29816
|
},
|
|
29760
29817
|
/**
|
|
29761
29818
|
*
|
|
29762
|
-
* @summary Get Hospital by slug.
|
|
29763
29819
|
* @param {string} slug
|
|
29764
29820
|
* @param {string} [languageCode]
|
|
29765
29821
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -29991,6 +30047,19 @@ export class HospitalsApi extends BaseAPI {
|
|
|
29991
30047
|
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdEquipmentsEquipmentIdPut(hospitalId, equipmentId, updateHospitalEquipmentCommand, options).then((request) => request(this.axios, this.basePath));
|
|
29992
30048
|
}
|
|
29993
30049
|
|
|
30050
|
+
/**
|
|
30051
|
+
*
|
|
30052
|
+
* @summary Reactivate HospitalEquipment.
|
|
30053
|
+
* @param {string} hospitalId
|
|
30054
|
+
* @param {string} equipmentId
|
|
30055
|
+
* @param {*} [options] Override http request option.
|
|
30056
|
+
* @throws {RequiredError}
|
|
30057
|
+
* @memberof HospitalsApi
|
|
30058
|
+
*/
|
|
30059
|
+
public apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivePut(hospitalId: string, equipmentId: string, options?: AxiosRequestConfig) {
|
|
30060
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivePut(hospitalId, equipmentId, options).then((request) => request(this.axios, this.basePath));
|
|
30061
|
+
}
|
|
30062
|
+
|
|
29994
30063
|
/**
|
|
29995
30064
|
*
|
|
29996
30065
|
* @summary Get all HospitalEquipments.
|
|
@@ -30300,7 +30369,6 @@ export class HospitalsApi extends BaseAPI {
|
|
|
30300
30369
|
|
|
30301
30370
|
/**
|
|
30302
30371
|
*
|
|
30303
|
-
* @summary Delete HospitalService
|
|
30304
30372
|
* @param {string} hospitalId
|
|
30305
30373
|
* @param {string} specialtyId
|
|
30306
30374
|
* @param {string} serviceId
|
|
@@ -30314,7 +30382,6 @@ export class HospitalsApi extends BaseAPI {
|
|
|
30314
30382
|
|
|
30315
30383
|
/**
|
|
30316
30384
|
*
|
|
30317
|
-
* @summary Get HospitalService.
|
|
30318
30385
|
* @param {string} hospitalId
|
|
30319
30386
|
* @param {string} specialtyId
|
|
30320
30387
|
* @param {string} serviceId
|
|
@@ -30465,7 +30532,6 @@ export class HospitalsApi extends BaseAPI {
|
|
|
30465
30532
|
|
|
30466
30533
|
/**
|
|
30467
30534
|
*
|
|
30468
|
-
* @summary Get Hospital by slug.
|
|
30469
30535
|
* @param {string} slug
|
|
30470
30536
|
* @param {string} [languageCode]
|
|
30471
30537
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -34140,7 +34206,6 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
34140
34206
|
},
|
|
34141
34207
|
/**
|
|
34142
34208
|
*
|
|
34143
|
-
* @summary Get HospitalService.
|
|
34144
34209
|
* @param {string} serviceId
|
|
34145
34210
|
* @param {string} [languageCode]
|
|
34146
34211
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -34188,7 +34253,6 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
34188
34253
|
},
|
|
34189
34254
|
/**
|
|
34190
34255
|
*
|
|
34191
|
-
* @summary Get HospitalService by slug.
|
|
34192
34256
|
* @param {string} slug
|
|
34193
34257
|
* @param {string} [languageCode]
|
|
34194
34258
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -34275,7 +34339,6 @@ export const ServicesApiFp = function(configuration?: Configuration) {
|
|
|
34275
34339
|
},
|
|
34276
34340
|
/**
|
|
34277
34341
|
*
|
|
34278
|
-
* @summary Get HospitalService.
|
|
34279
34342
|
* @param {string} serviceId
|
|
34280
34343
|
* @param {string} [languageCode]
|
|
34281
34344
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -34288,7 +34351,6 @@ export const ServicesApiFp = function(configuration?: Configuration) {
|
|
|
34288
34351
|
},
|
|
34289
34352
|
/**
|
|
34290
34353
|
*
|
|
34291
|
-
* @summary Get HospitalService by slug.
|
|
34292
34354
|
* @param {string} slug
|
|
34293
34355
|
* @param {string} [languageCode]
|
|
34294
34356
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -34339,7 +34401,6 @@ export const ServicesApiFactory = function (configuration?: Configuration, baseP
|
|
|
34339
34401
|
},
|
|
34340
34402
|
/**
|
|
34341
34403
|
*
|
|
34342
|
-
* @summary Get HospitalService.
|
|
34343
34404
|
* @param {string} serviceId
|
|
34344
34405
|
* @param {string} [languageCode]
|
|
34345
34406
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -34351,7 +34412,6 @@ export const ServicesApiFactory = function (configuration?: Configuration, baseP
|
|
|
34351
34412
|
},
|
|
34352
34413
|
/**
|
|
34353
34414
|
*
|
|
34354
|
-
* @summary Get HospitalService by slug.
|
|
34355
34415
|
* @param {string} slug
|
|
34356
34416
|
* @param {string} [languageCode]
|
|
34357
34417
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -34403,7 +34463,6 @@ export class ServicesApi extends BaseAPI {
|
|
|
34403
34463
|
|
|
34404
34464
|
/**
|
|
34405
34465
|
*
|
|
34406
|
-
* @summary Get HospitalService.
|
|
34407
34466
|
* @param {string} serviceId
|
|
34408
34467
|
* @param {string} [languageCode]
|
|
34409
34468
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -34417,7 +34476,6 @@ export class ServicesApi extends BaseAPI {
|
|
|
34417
34476
|
|
|
34418
34477
|
/**
|
|
34419
34478
|
*
|
|
34420
|
-
* @summary Get HospitalService by slug.
|
|
34421
34479
|
* @param {string} slug
|
|
34422
34480
|
* @param {string} [languageCode]
|
|
34423
34481
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -34444,13 +34502,14 @@ export const ServicesCategoriesApiAxiosParamCreator = function (configuration?:
|
|
|
34444
34502
|
* @param {string} [name]
|
|
34445
34503
|
* @param {string} [description]
|
|
34446
34504
|
* @param {string} [languageCode]
|
|
34505
|
+
* @param {boolean} [returnDefaultValue]
|
|
34447
34506
|
* @param {number} [page]
|
|
34448
34507
|
* @param {number} [limit]
|
|
34449
34508
|
* @param {Date} [lastRetrieved]
|
|
34450
34509
|
* @param {*} [options] Override http request option.
|
|
34451
34510
|
* @throws {RequiredError}
|
|
34452
34511
|
*/
|
|
34453
|
-
apiV1ServicescategoriesGet: async (id?: string, name?: string, description?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34512
|
+
apiV1ServicescategoriesGet: async (id?: string, name?: string, description?: string, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34454
34513
|
const localVarPath = `/api/v1/servicescategories`;
|
|
34455
34514
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34456
34515
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -34483,6 +34542,10 @@ export const ServicesCategoriesApiAxiosParamCreator = function (configuration?:
|
|
|
34483
34542
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
34484
34543
|
}
|
|
34485
34544
|
|
|
34545
|
+
if (returnDefaultValue !== undefined) {
|
|
34546
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
34547
|
+
}
|
|
34548
|
+
|
|
34486
34549
|
if (page !== undefined) {
|
|
34487
34550
|
localVarQueryParameter['page'] = page;
|
|
34488
34551
|
}
|
|
@@ -34685,14 +34748,15 @@ export const ServicesCategoriesApiFp = function(configuration?: Configuration) {
|
|
|
34685
34748
|
* @param {string} [name]
|
|
34686
34749
|
* @param {string} [description]
|
|
34687
34750
|
* @param {string} [languageCode]
|
|
34751
|
+
* @param {boolean} [returnDefaultValue]
|
|
34688
34752
|
* @param {number} [page]
|
|
34689
34753
|
* @param {number} [limit]
|
|
34690
34754
|
* @param {Date} [lastRetrieved]
|
|
34691
34755
|
* @param {*} [options] Override http request option.
|
|
34692
34756
|
* @throws {RequiredError}
|
|
34693
34757
|
*/
|
|
34694
|
-
async apiV1ServicescategoriesGet(id?: string, name?: string, description?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceCategoriesModel>> {
|
|
34695
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicescategoriesGet(id, name, description, languageCode, page, limit, lastRetrieved, options);
|
|
34758
|
+
async apiV1ServicescategoriesGet(id?: string, name?: string, description?: string, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceCategoriesModel>> {
|
|
34759
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicescategoriesGet(id, name, description, languageCode, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
34696
34760
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34697
34761
|
},
|
|
34698
34762
|
/**
|
|
@@ -34757,14 +34821,15 @@ export const ServicesCategoriesApiFactory = function (configuration?: Configurat
|
|
|
34757
34821
|
* @param {string} [name]
|
|
34758
34822
|
* @param {string} [description]
|
|
34759
34823
|
* @param {string} [languageCode]
|
|
34824
|
+
* @param {boolean} [returnDefaultValue]
|
|
34760
34825
|
* @param {number} [page]
|
|
34761
34826
|
* @param {number} [limit]
|
|
34762
34827
|
* @param {Date} [lastRetrieved]
|
|
34763
34828
|
* @param {*} [options] Override http request option.
|
|
34764
34829
|
* @throws {RequiredError}
|
|
34765
34830
|
*/
|
|
34766
|
-
apiV1ServicescategoriesGet(id?: string, name?: string, description?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceCategoriesModel> {
|
|
34767
|
-
return localVarFp.apiV1ServicescategoriesGet(id, name, description, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
34831
|
+
apiV1ServicescategoriesGet(id?: string, name?: string, description?: string, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceCategoriesModel> {
|
|
34832
|
+
return localVarFp.apiV1ServicescategoriesGet(id, name, description, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
34768
34833
|
},
|
|
34769
34834
|
/**
|
|
34770
34835
|
*
|
|
@@ -34824,6 +34889,7 @@ export class ServicesCategoriesApi extends BaseAPI {
|
|
|
34824
34889
|
* @param {string} [name]
|
|
34825
34890
|
* @param {string} [description]
|
|
34826
34891
|
* @param {string} [languageCode]
|
|
34892
|
+
* @param {boolean} [returnDefaultValue]
|
|
34827
34893
|
* @param {number} [page]
|
|
34828
34894
|
* @param {number} [limit]
|
|
34829
34895
|
* @param {Date} [lastRetrieved]
|
|
@@ -34831,8 +34897,8 @@ export class ServicesCategoriesApi extends BaseAPI {
|
|
|
34831
34897
|
* @throws {RequiredError}
|
|
34832
34898
|
* @memberof ServicesCategoriesApi
|
|
34833
34899
|
*/
|
|
34834
|
-
public apiV1ServicescategoriesGet(id?: string, name?: string, description?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
34835
|
-
return ServicesCategoriesApiFp(this.configuration).apiV1ServicescategoriesGet(id, name, description, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
34900
|
+
public apiV1ServicescategoriesGet(id?: string, name?: string, description?: string, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
34901
|
+
return ServicesCategoriesApiFp(this.configuration).apiV1ServicescategoriesGet(id, name, description, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
34836
34902
|
}
|
|
34837
34903
|
|
|
34838
34904
|
/**
|
|
@@ -35030,7 +35096,6 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
35030
35096
|
},
|
|
35031
35097
|
/**
|
|
35032
35098
|
*
|
|
35033
|
-
* @summary Get Specialty by slug.
|
|
35034
35099
|
* @param {string} slug
|
|
35035
35100
|
* @param {string} [languageCode]
|
|
35036
35101
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -35486,7 +35551,6 @@ export const SpecialtiesApiFp = function(configuration?: Configuration) {
|
|
|
35486
35551
|
},
|
|
35487
35552
|
/**
|
|
35488
35553
|
*
|
|
35489
|
-
* @summary Get Specialty by slug.
|
|
35490
35554
|
* @param {string} slug
|
|
35491
35555
|
* @param {string} [languageCode]
|
|
35492
35556
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -35641,7 +35705,6 @@ export const SpecialtiesApiFactory = function (configuration?: Configuration, ba
|
|
|
35641
35705
|
},
|
|
35642
35706
|
/**
|
|
35643
35707
|
*
|
|
35644
|
-
* @summary Get Specialty by slug.
|
|
35645
35708
|
* @param {string} slug
|
|
35646
35709
|
* @param {string} [languageCode]
|
|
35647
35710
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -35791,7 +35854,6 @@ export class SpecialtiesApi extends BaseAPI {
|
|
|
35791
35854
|
|
|
35792
35855
|
/**
|
|
35793
35856
|
*
|
|
35794
|
-
* @summary Get Specialty by slug.
|
|
35795
35857
|
* @param {string} slug
|
|
35796
35858
|
* @param {string} [languageCode]
|
|
35797
35859
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -36166,7 +36228,6 @@ export const SpecialtyTypesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
36166
36228
|
},
|
|
36167
36229
|
/**
|
|
36168
36230
|
*
|
|
36169
|
-
* @summary Get Department by slug.
|
|
36170
36231
|
* @param {string} slug
|
|
36171
36232
|
* @param {string} [languageCode]
|
|
36172
36233
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -36252,7 +36313,6 @@ export const SpecialtyTypesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
36252
36313
|
},
|
|
36253
36314
|
/**
|
|
36254
36315
|
*
|
|
36255
|
-
* @summary Get Department.
|
|
36256
36316
|
* @param {string} specialtyTypeId
|
|
36257
36317
|
* @param {string} [languageCode]
|
|
36258
36318
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -36646,7 +36706,6 @@ export const SpecialtyTypesApiFp = function(configuration?: Configuration) {
|
|
|
36646
36706
|
},
|
|
36647
36707
|
/**
|
|
36648
36708
|
*
|
|
36649
|
-
* @summary Get Department by slug.
|
|
36650
36709
|
* @param {string} slug
|
|
36651
36710
|
* @param {string} [languageCode]
|
|
36652
36711
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -36670,7 +36729,6 @@ export const SpecialtyTypesApiFp = function(configuration?: Configuration) {
|
|
|
36670
36729
|
},
|
|
36671
36730
|
/**
|
|
36672
36731
|
*
|
|
36673
|
-
* @summary Get Department.
|
|
36674
36732
|
* @param {string} specialtyTypeId
|
|
36675
36733
|
* @param {string} [languageCode]
|
|
36676
36734
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -36824,7 +36882,6 @@ export const SpecialtyTypesApiFactory = function (configuration?: Configuration,
|
|
|
36824
36882
|
},
|
|
36825
36883
|
/**
|
|
36826
36884
|
*
|
|
36827
|
-
* @summary Get Department by slug.
|
|
36828
36885
|
* @param {string} slug
|
|
36829
36886
|
* @param {string} [languageCode]
|
|
36830
36887
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -36846,7 +36903,6 @@ export const SpecialtyTypesApiFactory = function (configuration?: Configuration,
|
|
|
36846
36903
|
},
|
|
36847
36904
|
/**
|
|
36848
36905
|
*
|
|
36849
|
-
* @summary Get Department.
|
|
36850
36906
|
* @param {string} specialtyTypeId
|
|
36851
36907
|
* @param {string} [languageCode]
|
|
36852
36908
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -36999,7 +37055,6 @@ export class SpecialtyTypesApi extends BaseAPI {
|
|
|
36999
37055
|
|
|
37000
37056
|
/**
|
|
37001
37057
|
*
|
|
37002
|
-
* @summary Get Department by slug.
|
|
37003
37058
|
* @param {string} slug
|
|
37004
37059
|
* @param {string} [languageCode]
|
|
37005
37060
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -37025,7 +37080,6 @@ export class SpecialtyTypesApi extends BaseAPI {
|
|
|
37025
37080
|
|
|
37026
37081
|
/**
|
|
37027
37082
|
*
|
|
37028
|
-
* @summary Get Department.
|
|
37029
37083
|
* @param {string} specialtyTypeId
|
|
37030
37084
|
* @param {string} [languageCode]
|
|
37031
37085
|
* @param {boolean} [returnDefaultValue]
|