ch-admin-api-client-typescript 2.4.3 → 2.4.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 +35 -29
- package/lib/api.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/api.ts +28 -22
package/package.json
CHANGED
package/src/api.ts
CHANGED
|
@@ -796,6 +796,12 @@ export interface ArticleModel {
|
|
|
796
796
|
* @memberof ArticleModel
|
|
797
797
|
*/
|
|
798
798
|
'confirmed'?: boolean;
|
|
799
|
+
/**
|
|
800
|
+
*
|
|
801
|
+
* @type {string}
|
|
802
|
+
* @memberof ArticleModel
|
|
803
|
+
*/
|
|
804
|
+
'languageCode'?: string | null;
|
|
799
805
|
}
|
|
800
806
|
/**
|
|
801
807
|
*
|
|
@@ -12814,6 +12820,12 @@ export interface UpdateAccreditationCommand {
|
|
|
12814
12820
|
* @interface UpdateArticleCommand
|
|
12815
12821
|
*/
|
|
12816
12822
|
export interface UpdateArticleCommand {
|
|
12823
|
+
/**
|
|
12824
|
+
*
|
|
12825
|
+
* @type {string}
|
|
12826
|
+
* @memberof UpdateArticleCommand
|
|
12827
|
+
*/
|
|
12828
|
+
'languageCode'?: string | null;
|
|
12817
12829
|
/**
|
|
12818
12830
|
*
|
|
12819
12831
|
* @type {string}
|
|
@@ -12870,22 +12882,16 @@ export interface UpdateArticleCommand {
|
|
|
12870
12882
|
'articleTags'?: Array<ArticleTagItemModel> | null;
|
|
12871
12883
|
/**
|
|
12872
12884
|
*
|
|
12873
|
-
* @type {
|
|
12885
|
+
* @type {boolean}
|
|
12874
12886
|
* @memberof UpdateArticleCommand
|
|
12875
12887
|
*/
|
|
12876
|
-
'
|
|
12888
|
+
'confirmed'?: boolean;
|
|
12877
12889
|
/**
|
|
12878
12890
|
*
|
|
12879
12891
|
* @type {Array<MediaModel>}
|
|
12880
12892
|
* @memberof UpdateArticleCommand
|
|
12881
12893
|
*/
|
|
12882
12894
|
'medias'?: Array<MediaModel> | null;
|
|
12883
|
-
/**
|
|
12884
|
-
*
|
|
12885
|
-
* @type {Array<SourceModel>}
|
|
12886
|
-
* @memberof UpdateArticleCommand
|
|
12887
|
-
*/
|
|
12888
|
-
'sources'?: Array<SourceModel> | null;
|
|
12889
12895
|
}
|
|
12890
12896
|
/**
|
|
12891
12897
|
*
|
|
@@ -16688,7 +16694,7 @@ export const ArticlesApiFp = function(configuration?: Configuration) {
|
|
|
16688
16694
|
* @param {*} [options] Override http request option.
|
|
16689
16695
|
* @throws {RequiredError}
|
|
16690
16696
|
*/
|
|
16691
|
-
async apiV1ArticlesArticleIdSourcesSourceIdPut(articleId: string, sourceId: string, updateArticleSourceCommand?: UpdateArticleSourceCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
16697
|
+
async apiV1ArticlesArticleIdSourcesSourceIdPut(articleId: string, sourceId: string, updateArticleSourceCommand?: UpdateArticleSourceCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SourceModel>> {
|
|
16692
16698
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesArticleIdSourcesSourceIdPut(articleId, sourceId, updateArticleSourceCommand, options);
|
|
16693
16699
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16694
16700
|
},
|
|
@@ -17017,7 +17023,7 @@ export const ArticlesApiFactory = function (configuration?: Configuration, baseP
|
|
|
17017
17023
|
* @param {*} [options] Override http request option.
|
|
17018
17024
|
* @throws {RequiredError}
|
|
17019
17025
|
*/
|
|
17020
|
-
apiV1ArticlesArticleIdSourcesSourceIdPut(articleId: string, sourceId: string, updateArticleSourceCommand?: UpdateArticleSourceCommand, options?: any): AxiosPromise<
|
|
17026
|
+
apiV1ArticlesArticleIdSourcesSourceIdPut(articleId: string, sourceId: string, updateArticleSourceCommand?: UpdateArticleSourceCommand, options?: any): AxiosPromise<SourceModel> {
|
|
17021
17027
|
return localVarFp.apiV1ArticlesArticleIdSourcesSourceIdPut(articleId, sourceId, updateArticleSourceCommand, options).then((request) => request(axios, basePath));
|
|
17022
17028
|
},
|
|
17023
17029
|
/**
|
|
@@ -21833,7 +21839,7 @@ export const CountriesApiFp = function(configuration?: Configuration) {
|
|
|
21833
21839
|
* @param {*} [options] Override http request option.
|
|
21834
21840
|
* @throws {RequiredError}
|
|
21835
21841
|
*/
|
|
21836
|
-
async apiV1CountriesCountryIdPut(countryId: string, updateCountryCommand?: UpdateCountryCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
21842
|
+
async apiV1CountriesCountryIdPut(countryId: string, updateCountryCommand?: UpdateCountryCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CountryModel>> {
|
|
21837
21843
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1CountriesCountryIdPut(countryId, updateCountryCommand, options);
|
|
21838
21844
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21839
21845
|
},
|
|
@@ -21977,7 +21983,7 @@ export const CountriesApiFactory = function (configuration?: Configuration, base
|
|
|
21977
21983
|
* @param {*} [options] Override http request option.
|
|
21978
21984
|
* @throws {RequiredError}
|
|
21979
21985
|
*/
|
|
21980
|
-
apiV1CountriesCountryIdPut(countryId: string, updateCountryCommand?: UpdateCountryCommand, options?: any): AxiosPromise<
|
|
21986
|
+
apiV1CountriesCountryIdPut(countryId: string, updateCountryCommand?: UpdateCountryCommand, options?: any): AxiosPromise<CountryModel> {
|
|
21981
21987
|
return localVarFp.apiV1CountriesCountryIdPut(countryId, updateCountryCommand, options).then((request) => request(axios, basePath));
|
|
21982
21988
|
},
|
|
21983
21989
|
/**
|
|
@@ -29326,7 +29332,7 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
29326
29332
|
* @param {*} [options] Override http request option.
|
|
29327
29333
|
* @throws {RequiredError}
|
|
29328
29334
|
*/
|
|
29329
|
-
async apiV1HospitalsHospitalIdEquipmentsEquipmentIdPut(hospitalId: string, equipmentId: string, updateHospitalEquipmentCommand?: UpdateHospitalEquipmentCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
29335
|
+
async apiV1HospitalsHospitalIdEquipmentsEquipmentIdPut(hospitalId: string, equipmentId: string, updateHospitalEquipmentCommand?: UpdateHospitalEquipmentCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalEquipmentModel>> {
|
|
29330
29336
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdEquipmentsEquipmentIdPut(hospitalId, equipmentId, updateHospitalEquipmentCommand, options);
|
|
29331
29337
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29332
29338
|
},
|
|
@@ -29500,7 +29506,7 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
29500
29506
|
* @param {*} [options] Override http request option.
|
|
29501
29507
|
* @throws {RequiredError}
|
|
29502
29508
|
*/
|
|
29503
|
-
async apiV1HospitalsHospitalIdPut(hospitalId: string, updateHospitalCommand?: UpdateHospitalCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
29509
|
+
async apiV1HospitalsHospitalIdPut(hospitalId: string, updateHospitalCommand?: UpdateHospitalCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalModel>> {
|
|
29504
29510
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdPut(hospitalId, updateHospitalCommand, options);
|
|
29505
29511
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29506
29512
|
},
|
|
@@ -29727,7 +29733,7 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
29727
29733
|
* @param {*} [options] Override http request option.
|
|
29728
29734
|
* @throws {RequiredError}
|
|
29729
29735
|
*/
|
|
29730
|
-
async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId: string, specialtyId: string, serviceId: string, updateHospitalServiceCommand?: UpdateHospitalServiceCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
29736
|
+
async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId: string, specialtyId: string, serviceId: string, updateHospitalServiceCommand?: UpdateHospitalServiceCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServiceModel>> {
|
|
29731
29737
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options);
|
|
29732
29738
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29733
29739
|
},
|
|
@@ -29970,7 +29976,7 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
29970
29976
|
* @param {*} [options] Override http request option.
|
|
29971
29977
|
* @throws {RequiredError}
|
|
29972
29978
|
*/
|
|
29973
|
-
apiV1HospitalsHospitalIdEquipmentsEquipmentIdPut(hospitalId: string, equipmentId: string, updateHospitalEquipmentCommand?: UpdateHospitalEquipmentCommand, options?: any): AxiosPromise<
|
|
29979
|
+
apiV1HospitalsHospitalIdEquipmentsEquipmentIdPut(hospitalId: string, equipmentId: string, updateHospitalEquipmentCommand?: UpdateHospitalEquipmentCommand, options?: any): AxiosPromise<HospitalEquipmentModel> {
|
|
29974
29980
|
return localVarFp.apiV1HospitalsHospitalIdEquipmentsEquipmentIdPut(hospitalId, equipmentId, updateHospitalEquipmentCommand, options).then((request) => request(axios, basePath));
|
|
29975
29981
|
},
|
|
29976
29982
|
/**
|
|
@@ -30131,7 +30137,7 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
30131
30137
|
* @param {*} [options] Override http request option.
|
|
30132
30138
|
* @throws {RequiredError}
|
|
30133
30139
|
*/
|
|
30134
|
-
apiV1HospitalsHospitalIdPut(hospitalId: string, updateHospitalCommand?: UpdateHospitalCommand, options?: any): AxiosPromise<
|
|
30140
|
+
apiV1HospitalsHospitalIdPut(hospitalId: string, updateHospitalCommand?: UpdateHospitalCommand, options?: any): AxiosPromise<HospitalModel> {
|
|
30135
30141
|
return localVarFp.apiV1HospitalsHospitalIdPut(hospitalId, updateHospitalCommand, options).then((request) => request(axios, basePath));
|
|
30136
30142
|
},
|
|
30137
30143
|
/**
|
|
@@ -30343,7 +30349,7 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
30343
30349
|
* @param {*} [options] Override http request option.
|
|
30344
30350
|
* @throws {RequiredError}
|
|
30345
30351
|
*/
|
|
30346
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId: string, specialtyId: string, serviceId: string, updateHospitalServiceCommand?: UpdateHospitalServiceCommand, options?: any): AxiosPromise<
|
|
30352
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId: string, specialtyId: string, serviceId: string, updateHospitalServiceCommand?: UpdateHospitalServiceCommand, options?: any): AxiosPromise<HospitalServiceModel> {
|
|
30347
30353
|
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options).then((request) => request(axios, basePath));
|
|
30348
30354
|
},
|
|
30349
30355
|
/**
|
|
@@ -35939,7 +35945,7 @@ export const SpecialtiesApiFp = function(configuration?: Configuration) {
|
|
|
35939
35945
|
* @param {*} [options] Override http request option.
|
|
35940
35946
|
* @throws {RequiredError}
|
|
35941
35947
|
*/
|
|
35942
|
-
async apiV1SpecialtiesSpecialtyIdPut(specialtyId: string, updateSpecialtyCommand?: UpdateSpecialtyCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
35948
|
+
async apiV1SpecialtiesSpecialtyIdPut(specialtyId: string, updateSpecialtyCommand?: UpdateSpecialtyCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyModel>> {
|
|
35943
35949
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesSpecialtyIdPut(specialtyId, updateSpecialtyCommand, options);
|
|
35944
35950
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35945
35951
|
},
|
|
@@ -36083,7 +36089,7 @@ export const SpecialtiesApiFactory = function (configuration?: Configuration, ba
|
|
|
36083
36089
|
* @param {*} [options] Override http request option.
|
|
36084
36090
|
* @throws {RequiredError}
|
|
36085
36091
|
*/
|
|
36086
|
-
apiV1SpecialtiesSpecialtyIdPut(specialtyId: string, updateSpecialtyCommand?: UpdateSpecialtyCommand, options?: any): AxiosPromise<
|
|
36092
|
+
apiV1SpecialtiesSpecialtyIdPut(specialtyId: string, updateSpecialtyCommand?: UpdateSpecialtyCommand, options?: any): AxiosPromise<SpecialtyModel> {
|
|
36087
36093
|
return localVarFp.apiV1SpecialtiesSpecialtyIdPut(specialtyId, updateSpecialtyCommand, options).then((request) => request(axios, basePath));
|
|
36088
36094
|
},
|
|
36089
36095
|
};
|
|
@@ -36949,7 +36955,7 @@ export const SpecialtyTypesApiFp = function(configuration?: Configuration) {
|
|
|
36949
36955
|
* @param {*} [options] Override http request option.
|
|
36950
36956
|
* @throws {RequiredError}
|
|
36951
36957
|
*/
|
|
36952
|
-
async apiV1SpecialtytypesSpecialtyTypeIdPut(specialtyTypeId: string, updateSpecialtyTypeCommand?: UpdateSpecialtyTypeCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
36958
|
+
async apiV1SpecialtytypesSpecialtyTypeIdPut(specialtyTypeId: string, updateSpecialtyTypeCommand?: UpdateSpecialtyTypeCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypeModel>> {
|
|
36953
36959
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtytypesSpecialtyTypeIdPut(specialtyTypeId, updateSpecialtyTypeCommand, options);
|
|
36954
36960
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
36955
36961
|
},
|
|
@@ -37094,7 +37100,7 @@ export const SpecialtyTypesApiFactory = function (configuration?: Configuration,
|
|
|
37094
37100
|
* @param {*} [options] Override http request option.
|
|
37095
37101
|
* @throws {RequiredError}
|
|
37096
37102
|
*/
|
|
37097
|
-
apiV1SpecialtytypesSpecialtyTypeIdPut(specialtyTypeId: string, updateSpecialtyTypeCommand?: UpdateSpecialtyTypeCommand, options?: any): AxiosPromise<
|
|
37103
|
+
apiV1SpecialtytypesSpecialtyTypeIdPut(specialtyTypeId: string, updateSpecialtyTypeCommand?: UpdateSpecialtyTypeCommand, options?: any): AxiosPromise<SpecialtyTypeModel> {
|
|
37098
37104
|
return localVarFp.apiV1SpecialtytypesSpecialtyTypeIdPut(specialtyTypeId, updateSpecialtyTypeCommand, options).then((request) => request(axios, basePath));
|
|
37099
37105
|
},
|
|
37100
37106
|
};
|