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 CHANGED
@@ -787,6 +787,12 @@ export interface ArticleModel {
787
787
  * @memberof ArticleModel
788
788
  */
789
789
  'confirmed'?: boolean;
790
+ /**
791
+ *
792
+ * @type {string}
793
+ * @memberof ArticleModel
794
+ */
795
+ 'languageCode'?: string | null;
790
796
  }
791
797
  /**
792
798
  *
@@ -12760,6 +12766,12 @@ export interface UpdateAccreditationCommand {
12760
12766
  * @interface UpdateArticleCommand
12761
12767
  */
12762
12768
  export interface UpdateArticleCommand {
12769
+ /**
12770
+ *
12771
+ * @type {string}
12772
+ * @memberof UpdateArticleCommand
12773
+ */
12774
+ 'languageCode'?: string | null;
12763
12775
  /**
12764
12776
  *
12765
12777
  * @type {string}
@@ -12816,22 +12828,16 @@ export interface UpdateArticleCommand {
12816
12828
  'articleTags'?: Array<ArticleTagItemModel> | null;
12817
12829
  /**
12818
12830
  *
12819
- * @type {Array<ArticleContributorItemModel>}
12831
+ * @type {boolean}
12820
12832
  * @memberof UpdateArticleCommand
12821
12833
  */
12822
- 'articleContributors'?: Array<ArticleContributorItemModel> | null;
12834
+ 'confirmed'?: boolean;
12823
12835
  /**
12824
12836
  *
12825
12837
  * @type {Array<MediaModel>}
12826
12838
  * @memberof UpdateArticleCommand
12827
12839
  */
12828
12840
  'medias'?: Array<MediaModel> | null;
12829
- /**
12830
- *
12831
- * @type {Array<SourceModel>}
12832
- * @memberof UpdateArticleCommand
12833
- */
12834
- 'sources'?: Array<SourceModel> | null;
12835
12841
  }
12836
12842
  /**
12837
12843
  *
@@ -15360,7 +15366,7 @@ export declare const ArticlesApiFp: (configuration?: Configuration | undefined)
15360
15366
  * @param {*} [options] Override http request option.
15361
15367
  * @throws {RequiredError}
15362
15368
  */
15363
- apiV1ArticlesArticleIdSourcesSourceIdPut(articleId: string, sourceId: string, updateArticleSourceCommand?: UpdateArticleSourceCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<boolean>>;
15369
+ apiV1ArticlesArticleIdSourcesSourceIdPut(articleId: string, sourceId: string, updateArticleSourceCommand?: UpdateArticleSourceCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<SourceModel>>;
15364
15370
  /**
15365
15371
  *
15366
15372
  * @summary GetAll ArticleTags.
@@ -15627,7 +15633,7 @@ export declare const ArticlesApiFactory: (configuration?: Configuration | undefi
15627
15633
  * @param {*} [options] Override http request option.
15628
15634
  * @throws {RequiredError}
15629
15635
  */
15630
- apiV1ArticlesArticleIdSourcesSourceIdPut(articleId: string, sourceId: string, updateArticleSourceCommand?: UpdateArticleSourceCommand | undefined, options?: any): AxiosPromise<boolean>;
15636
+ apiV1ArticlesArticleIdSourcesSourceIdPut(articleId: string, sourceId: string, updateArticleSourceCommand?: UpdateArticleSourceCommand | undefined, options?: any): AxiosPromise<SourceModel>;
15631
15637
  /**
15632
15638
  *
15633
15639
  * @summary GetAll ArticleTags.
@@ -15914,7 +15920,7 @@ export declare class ArticlesApi extends BaseAPI {
15914
15920
  * @throws {RequiredError}
15915
15921
  * @memberof ArticlesApi
15916
15922
  */
15917
- apiV1ArticlesArticleIdSourcesSourceIdPut(articleId: string, sourceId: string, updateArticleSourceCommand?: UpdateArticleSourceCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean>>;
15923
+ apiV1ArticlesArticleIdSourcesSourceIdPut(articleId: string, sourceId: string, updateArticleSourceCommand?: UpdateArticleSourceCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SourceModel>>;
15918
15924
  /**
15919
15925
  *
15920
15926
  * @summary GetAll ArticleTags.
@@ -17994,7 +18000,7 @@ export declare const CountriesApiFp: (configuration?: Configuration | undefined)
17994
18000
  * @param {*} [options] Override http request option.
17995
18001
  * @throws {RequiredError}
17996
18002
  */
17997
- apiV1CountriesCountryIdPut(countryId: string, updateCountryCommand?: UpdateCountryCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<boolean>>;
18003
+ apiV1CountriesCountryIdPut(countryId: string, updateCountryCommand?: UpdateCountryCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<CountryModel>>;
17998
18004
  /**
17999
18005
  *
18000
18006
  * @summary Get all countries.
@@ -18108,7 +18114,7 @@ export declare const CountriesApiFactory: (configuration?: Configuration | undef
18108
18114
  * @param {*} [options] Override http request option.
18109
18115
  * @throws {RequiredError}
18110
18116
  */
18111
- apiV1CountriesCountryIdPut(countryId: string, updateCountryCommand?: UpdateCountryCommand | undefined, options?: any): AxiosPromise<boolean>;
18117
+ apiV1CountriesCountryIdPut(countryId: string, updateCountryCommand?: UpdateCountryCommand | undefined, options?: any): AxiosPromise<CountryModel>;
18112
18118
  /**
18113
18119
  *
18114
18120
  * @summary Get all countries.
@@ -18232,7 +18238,7 @@ export declare class CountriesApi extends BaseAPI {
18232
18238
  * @throws {RequiredError}
18233
18239
  * @memberof CountriesApi
18234
18240
  */
18235
- apiV1CountriesCountryIdPut(countryId: string, updateCountryCommand?: UpdateCountryCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean>>;
18241
+ apiV1CountriesCountryIdPut(countryId: string, updateCountryCommand?: UpdateCountryCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CountryModel>>;
18236
18242
  /**
18237
18243
  *
18238
18244
  * @summary Get all countries.
@@ -21087,7 +21093,7 @@ export declare const HospitalsApiFp: (configuration?: Configuration | undefined)
21087
21093
  * @param {*} [options] Override http request option.
21088
21094
  * @throws {RequiredError}
21089
21095
  */
21090
- apiV1HospitalsHospitalIdEquipmentsEquipmentIdPut(hospitalId: string, equipmentId: string, updateHospitalEquipmentCommand?: UpdateHospitalEquipmentCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<boolean>>;
21096
+ apiV1HospitalsHospitalIdEquipmentsEquipmentIdPut(hospitalId: string, equipmentId: string, updateHospitalEquipmentCommand?: UpdateHospitalEquipmentCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<HospitalEquipmentModel>>;
21091
21097
  /**
21092
21098
  *
21093
21099
  * @summary Get all HospitalEquipments.
@@ -21222,7 +21228,7 @@ export declare const HospitalsApiFp: (configuration?: Configuration | undefined)
21222
21228
  * @param {*} [options] Override http request option.
21223
21229
  * @throws {RequiredError}
21224
21230
  */
21225
- apiV1HospitalsHospitalIdPut(hospitalId: string, updateHospitalCommand?: UpdateHospitalCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<boolean>>;
21231
+ apiV1HospitalsHospitalIdPut(hospitalId: string, updateHospitalCommand?: UpdateHospitalCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<HospitalModel>>;
21226
21232
  /**
21227
21233
  *
21228
21234
  * @summary Get all HospitalSpecialties.
@@ -21404,7 +21410,7 @@ export declare const HospitalsApiFp: (configuration?: Configuration | undefined)
21404
21410
  * @param {*} [options] Override http request option.
21405
21411
  * @throws {RequiredError}
21406
21412
  */
21407
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId: string, specialtyId: string, serviceId: string, updateHospitalServiceCommand?: UpdateHospitalServiceCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<boolean>>;
21413
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId: string, specialtyId: string, serviceId: string, updateHospitalServiceCommand?: UpdateHospitalServiceCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<HospitalServiceModel>>;
21408
21414
  /**
21409
21415
  *
21410
21416
  * @summary Create Hospital.
@@ -21605,7 +21611,7 @@ export declare const HospitalsApiFactory: (configuration?: Configuration | undef
21605
21611
  * @param {*} [options] Override http request option.
21606
21612
  * @throws {RequiredError}
21607
21613
  */
21608
- apiV1HospitalsHospitalIdEquipmentsEquipmentIdPut(hospitalId: string, equipmentId: string, updateHospitalEquipmentCommand?: UpdateHospitalEquipmentCommand | undefined, options?: any): AxiosPromise<boolean>;
21614
+ apiV1HospitalsHospitalIdEquipmentsEquipmentIdPut(hospitalId: string, equipmentId: string, updateHospitalEquipmentCommand?: UpdateHospitalEquipmentCommand | undefined, options?: any): AxiosPromise<HospitalEquipmentModel>;
21609
21615
  /**
21610
21616
  *
21611
21617
  * @summary Get all HospitalEquipments.
@@ -21740,7 +21746,7 @@ export declare const HospitalsApiFactory: (configuration?: Configuration | undef
21740
21746
  * @param {*} [options] Override http request option.
21741
21747
  * @throws {RequiredError}
21742
21748
  */
21743
- apiV1HospitalsHospitalIdPut(hospitalId: string, updateHospitalCommand?: UpdateHospitalCommand | undefined, options?: any): AxiosPromise<boolean>;
21749
+ apiV1HospitalsHospitalIdPut(hospitalId: string, updateHospitalCommand?: UpdateHospitalCommand | undefined, options?: any): AxiosPromise<HospitalModel>;
21744
21750
  /**
21745
21751
  *
21746
21752
  * @summary Get all HospitalSpecialties.
@@ -21922,7 +21928,7 @@ export declare const HospitalsApiFactory: (configuration?: Configuration | undef
21922
21928
  * @param {*} [options] Override http request option.
21923
21929
  * @throws {RequiredError}
21924
21930
  */
21925
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId: string, specialtyId: string, serviceId: string, updateHospitalServiceCommand?: UpdateHospitalServiceCommand | undefined, options?: any): AxiosPromise<boolean>;
21931
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId: string, specialtyId: string, serviceId: string, updateHospitalServiceCommand?: UpdateHospitalServiceCommand | undefined, options?: any): AxiosPromise<HospitalServiceModel>;
21926
21932
  /**
21927
21933
  *
21928
21934
  * @summary Create Hospital.
@@ -22139,7 +22145,7 @@ export declare class HospitalsApi extends BaseAPI {
22139
22145
  * @throws {RequiredError}
22140
22146
  * @memberof HospitalsApi
22141
22147
  */
22142
- apiV1HospitalsHospitalIdEquipmentsEquipmentIdPut(hospitalId: string, equipmentId: string, updateHospitalEquipmentCommand?: UpdateHospitalEquipmentCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean>>;
22148
+ apiV1HospitalsHospitalIdEquipmentsEquipmentIdPut(hospitalId: string, equipmentId: string, updateHospitalEquipmentCommand?: UpdateHospitalEquipmentCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HospitalEquipmentModel>>;
22143
22149
  /**
22144
22150
  *
22145
22151
  * @summary Get all HospitalEquipments.
@@ -22287,7 +22293,7 @@ export declare class HospitalsApi extends BaseAPI {
22287
22293
  * @throws {RequiredError}
22288
22294
  * @memberof HospitalsApi
22289
22295
  */
22290
- apiV1HospitalsHospitalIdPut(hospitalId: string, updateHospitalCommand?: UpdateHospitalCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean>>;
22296
+ apiV1HospitalsHospitalIdPut(hospitalId: string, updateHospitalCommand?: UpdateHospitalCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HospitalModel>>;
22291
22297
  /**
22292
22298
  *
22293
22299
  * @summary Get all HospitalSpecialties.
@@ -22484,7 +22490,7 @@ export declare class HospitalsApi extends BaseAPI {
22484
22490
  * @throws {RequiredError}
22485
22491
  * @memberof HospitalsApi
22486
22492
  */
22487
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId: string, specialtyId: string, serviceId: string, updateHospitalServiceCommand?: UpdateHospitalServiceCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean>>;
22493
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId: string, specialtyId: string, serviceId: string, updateHospitalServiceCommand?: UpdateHospitalServiceCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HospitalServiceModel>>;
22488
22494
  /**
22489
22495
  *
22490
22496
  * @summary Create Hospital.
@@ -24786,7 +24792,7 @@ export declare const SpecialtiesApiFp: (configuration?: Configuration | undefine
24786
24792
  * @param {*} [options] Override http request option.
24787
24793
  * @throws {RequiredError}
24788
24794
  */
24789
- apiV1SpecialtiesSpecialtyIdPut(specialtyId: string, updateSpecialtyCommand?: UpdateSpecialtyCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<boolean>>;
24795
+ apiV1SpecialtiesSpecialtyIdPut(specialtyId: string, updateSpecialtyCommand?: UpdateSpecialtyCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<SpecialtyModel>>;
24790
24796
  };
24791
24797
  /**
24792
24798
  * SpecialtiesApi - factory interface
@@ -24903,7 +24909,7 @@ export declare const SpecialtiesApiFactory: (configuration?: Configuration | und
24903
24909
  * @param {*} [options] Override http request option.
24904
24910
  * @throws {RequiredError}
24905
24911
  */
24906
- apiV1SpecialtiesSpecialtyIdPut(specialtyId: string, updateSpecialtyCommand?: UpdateSpecialtyCommand | undefined, options?: any): AxiosPromise<boolean>;
24912
+ apiV1SpecialtiesSpecialtyIdPut(specialtyId: string, updateSpecialtyCommand?: UpdateSpecialtyCommand | undefined, options?: any): AxiosPromise<SpecialtyModel>;
24907
24913
  };
24908
24914
  /**
24909
24915
  * SpecialtiesApi - object-oriented interface
@@ -25033,7 +25039,7 @@ export declare class SpecialtiesApi extends BaseAPI {
25033
25039
  * @throws {RequiredError}
25034
25040
  * @memberof SpecialtiesApi
25035
25041
  */
25036
- apiV1SpecialtiesSpecialtyIdPut(specialtyId: string, updateSpecialtyCommand?: UpdateSpecialtyCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean>>;
25042
+ apiV1SpecialtiesSpecialtyIdPut(specialtyId: string, updateSpecialtyCommand?: UpdateSpecialtyCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SpecialtyModel>>;
25037
25043
  }
25038
25044
  /**
25039
25045
  * SpecialtyTypesApi - axios parameter creator
@@ -25269,7 +25275,7 @@ export declare const SpecialtyTypesApiFp: (configuration?: Configuration | undef
25269
25275
  * @param {*} [options] Override http request option.
25270
25276
  * @throws {RequiredError}
25271
25277
  */
25272
- apiV1SpecialtytypesSpecialtyTypeIdPut(specialtyTypeId: string, updateSpecialtyTypeCommand?: UpdateSpecialtyTypeCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<boolean>>;
25278
+ apiV1SpecialtytypesSpecialtyTypeIdPut(specialtyTypeId: string, updateSpecialtyTypeCommand?: UpdateSpecialtyTypeCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<SpecialtyTypeModel>>;
25273
25279
  };
25274
25280
  /**
25275
25281
  * SpecialtyTypesApi - factory interface
@@ -25387,7 +25393,7 @@ export declare const SpecialtyTypesApiFactory: (configuration?: Configuration |
25387
25393
  * @param {*} [options] Override http request option.
25388
25394
  * @throws {RequiredError}
25389
25395
  */
25390
- apiV1SpecialtytypesSpecialtyTypeIdPut(specialtyTypeId: string, updateSpecialtyTypeCommand?: UpdateSpecialtyTypeCommand | undefined, options?: any): AxiosPromise<boolean>;
25396
+ apiV1SpecialtytypesSpecialtyTypeIdPut(specialtyTypeId: string, updateSpecialtyTypeCommand?: UpdateSpecialtyTypeCommand | undefined, options?: any): AxiosPromise<SpecialtyTypeModel>;
25391
25397
  };
25392
25398
  /**
25393
25399
  * SpecialtyTypesApi - object-oriented interface
@@ -25518,7 +25524,7 @@ export declare class SpecialtyTypesApi extends BaseAPI {
25518
25524
  * @throws {RequiredError}
25519
25525
  * @memberof SpecialtyTypesApi
25520
25526
  */
25521
- apiV1SpecialtytypesSpecialtyTypeIdPut(specialtyTypeId: string, updateSpecialtyTypeCommand?: UpdateSpecialtyTypeCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean>>;
25527
+ apiV1SpecialtytypesSpecialtyTypeIdPut(specialtyTypeId: string, updateSpecialtyTypeCommand?: UpdateSpecialtyTypeCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SpecialtyTypeModel>>;
25522
25528
  }
25523
25529
  /**
25524
25530
  * TagsApi - axios parameter creator