ch-admin-api-client-typescript 2.3.9 → 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/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
  *
@@ -8977,6 +8983,25 @@ export interface HospitalServicesModel {
8977
8983
  */
8978
8984
  'metaData'?: PagedListMetaData;
8979
8985
  }
8986
+ /**
8987
+ *
8988
+ * @export
8989
+ * @interface HospitalSimpleItemModel
8990
+ */
8991
+ export interface HospitalSimpleItemModel {
8992
+ /**
8993
+ *
8994
+ * @type {string}
8995
+ * @memberof HospitalSimpleItemModel
8996
+ */
8997
+ 'id'?: string;
8998
+ /**
8999
+ *
9000
+ * @type {string}
9001
+ * @memberof HospitalSimpleItemModel
9002
+ */
9003
+ 'name'?: string | null;
9004
+ }
8980
9005
  /**
8981
9006
  *
8982
9007
  * @export
@@ -9180,6 +9205,25 @@ export interface HospitalsModel {
9180
9205
  */
9181
9206
  'metaData'?: PagedListMetaData;
9182
9207
  }
9208
+ /**
9209
+ *
9210
+ * @export
9211
+ * @interface HospitalsSimpleModel
9212
+ */
9213
+ export interface HospitalsSimpleModel {
9214
+ /**
9215
+ *
9216
+ * @type {Array<HospitalSimpleItemModel>}
9217
+ * @memberof HospitalsSimpleModel
9218
+ */
9219
+ 'items'?: Array<HospitalSimpleItemModel> | null;
9220
+ /**
9221
+ *
9222
+ * @type {PagedListMetaData}
9223
+ * @memberof HospitalsSimpleModel
9224
+ */
9225
+ 'metaData'?: PagedListMetaData;
9226
+ }
9183
9227
  /**
9184
9228
  *
9185
9229
  * @export
@@ -9584,6 +9628,50 @@ export interface ManagerAffiliation {
9584
9628
  */
9585
9629
  'hospital'?: Hospital;
9586
9630
  }
9631
+ /**
9632
+ *
9633
+ * @export
9634
+ * @interface ManagerAffiliationItemModel
9635
+ */
9636
+ export interface ManagerAffiliationItemModel {
9637
+ /**
9638
+ *
9639
+ * @type {string}
9640
+ * @memberof ManagerAffiliationItemModel
9641
+ */
9642
+ 'hospitalId'?: string;
9643
+ /**
9644
+ *
9645
+ * @type {string}
9646
+ * @memberof ManagerAffiliationItemModel
9647
+ */
9648
+ 'hospitalName'?: string | null;
9649
+ /**
9650
+ *
9651
+ * @type {string}
9652
+ * @memberof ManagerAffiliationItemModel
9653
+ */
9654
+ 'hospitalSlug'?: string | null;
9655
+ }
9656
+ /**
9657
+ *
9658
+ * @export
9659
+ * @interface ManagerAffiliationsModel
9660
+ */
9661
+ export interface ManagerAffiliationsModel {
9662
+ /**
9663
+ *
9664
+ * @type {Array<ManagerAffiliationItemModel>}
9665
+ * @memberof ManagerAffiliationsModel
9666
+ */
9667
+ 'items'?: Array<ManagerAffiliationItemModel> | null;
9668
+ /**
9669
+ *
9670
+ * @type {PagedListMetaData}
9671
+ * @memberof ManagerAffiliationsModel
9672
+ */
9673
+ 'metaData'?: PagedListMetaData;
9674
+ }
9587
9675
  /**
9588
9676
  *
9589
9677
  * @export
@@ -12732,6 +12820,12 @@ export interface UpdateAccreditationCommand {
12732
12820
  * @interface UpdateArticleCommand
12733
12821
  */
12734
12822
  export interface UpdateArticleCommand {
12823
+ /**
12824
+ *
12825
+ * @type {string}
12826
+ * @memberof UpdateArticleCommand
12827
+ */
12828
+ 'languageCode'?: string | null;
12735
12829
  /**
12736
12830
  *
12737
12831
  * @type {string}
@@ -12788,22 +12882,16 @@ export interface UpdateArticleCommand {
12788
12882
  'articleTags'?: Array<ArticleTagItemModel> | null;
12789
12883
  /**
12790
12884
  *
12791
- * @type {Array<ArticleContributorItemModel>}
12885
+ * @type {boolean}
12792
12886
  * @memberof UpdateArticleCommand
12793
12887
  */
12794
- 'articleContributors'?: Array<ArticleContributorItemModel> | null;
12888
+ 'confirmed'?: boolean;
12795
12889
  /**
12796
12890
  *
12797
12891
  * @type {Array<MediaModel>}
12798
12892
  * @memberof UpdateArticleCommand
12799
12893
  */
12800
12894
  'medias'?: Array<MediaModel> | null;
12801
- /**
12802
- *
12803
- * @type {Array<SourceModel>}
12804
- * @memberof UpdateArticleCommand
12805
- */
12806
- 'sources'?: Array<SourceModel> | null;
12807
12895
  }
12808
12896
  /**
12809
12897
  *
@@ -13910,6 +13998,67 @@ export interface UpdatePlanHospitalCommand {
13910
13998
  */
13911
13999
  'order'?: number;
13912
14000
  }
14001
+ /**
14002
+ *
14003
+ * @export
14004
+ * @interface UpdateProfileCommand
14005
+ */
14006
+ export interface UpdateProfileCommand {
14007
+ /**
14008
+ *
14009
+ * @type {string}
14010
+ * @memberof UpdateProfileCommand
14011
+ */
14012
+ 'firstName'?: string | null;
14013
+ /**
14014
+ *
14015
+ * @type {string}
14016
+ * @memberof UpdateProfileCommand
14017
+ */
14018
+ 'lastName'?: string | null;
14019
+ /**
14020
+ *
14021
+ * @type {string}
14022
+ * @memberof UpdateProfileCommand
14023
+ */
14024
+ 'phone'?: string | null;
14025
+ /**
14026
+ *
14027
+ * @type {string}
14028
+ * @memberof UpdateProfileCommand
14029
+ */
14030
+ 'photo'?: string | null;
14031
+ /**
14032
+ *
14033
+ * @type {string}
14034
+ * @memberof UpdateProfileCommand
14035
+ */
14036
+ 'photoThumbnail'?: string | null;
14037
+ /**
14038
+ *
14039
+ * @type {Gender}
14040
+ * @memberof UpdateProfileCommand
14041
+ */
14042
+ 'gender'?: Gender;
14043
+ /**
14044
+ *
14045
+ * @type {Date}
14046
+ * @memberof UpdateProfileCommand
14047
+ */
14048
+ 'dateOfBirth'?: Date | null;
14049
+ /**
14050
+ *
14051
+ * @type {Array<UserLanguageModel>}
14052
+ * @memberof UpdateProfileCommand
14053
+ */
14054
+ 'languages'?: Array<UserLanguageModel> | null;
14055
+ /**
14056
+ *
14057
+ * @type {Array<UserLocationModel>}
14058
+ * @memberof UpdateProfileCommand
14059
+ */
14060
+ 'locations'?: Array<UserLocationModel> | null;
14061
+ }
13913
14062
  /**
13914
14063
  *
13915
14064
  * @export
@@ -16545,7 +16694,7 @@ export const ArticlesApiFp = function(configuration?: Configuration) {
16545
16694
  * @param {*} [options] Override http request option.
16546
16695
  * @throws {RequiredError}
16547
16696
  */
16548
- async apiV1ArticlesArticleIdSourcesSourceIdPut(articleId: string, sourceId: string, updateArticleSourceCommand?: UpdateArticleSourceCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
16697
+ async apiV1ArticlesArticleIdSourcesSourceIdPut(articleId: string, sourceId: string, updateArticleSourceCommand?: UpdateArticleSourceCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SourceModel>> {
16549
16698
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesArticleIdSourcesSourceIdPut(articleId, sourceId, updateArticleSourceCommand, options);
16550
16699
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
16551
16700
  },
@@ -16874,7 +17023,7 @@ export const ArticlesApiFactory = function (configuration?: Configuration, baseP
16874
17023
  * @param {*} [options] Override http request option.
16875
17024
  * @throws {RequiredError}
16876
17025
  */
16877
- apiV1ArticlesArticleIdSourcesSourceIdPut(articleId: string, sourceId: string, updateArticleSourceCommand?: UpdateArticleSourceCommand, options?: any): AxiosPromise<boolean> {
17026
+ apiV1ArticlesArticleIdSourcesSourceIdPut(articleId: string, sourceId: string, updateArticleSourceCommand?: UpdateArticleSourceCommand, options?: any): AxiosPromise<SourceModel> {
16878
17027
  return localVarFp.apiV1ArticlesArticleIdSourcesSourceIdPut(articleId, sourceId, updateArticleSourceCommand, options).then((request) => request(axios, basePath));
16879
17028
  },
16880
17029
  /**
@@ -21690,7 +21839,7 @@ export const CountriesApiFp = function(configuration?: Configuration) {
21690
21839
  * @param {*} [options] Override http request option.
21691
21840
  * @throws {RequiredError}
21692
21841
  */
21693
- async apiV1CountriesCountryIdPut(countryId: string, updateCountryCommand?: UpdateCountryCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
21842
+ async apiV1CountriesCountryIdPut(countryId: string, updateCountryCommand?: UpdateCountryCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CountryModel>> {
21694
21843
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1CountriesCountryIdPut(countryId, updateCountryCommand, options);
21695
21844
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
21696
21845
  },
@@ -21834,7 +21983,7 @@ export const CountriesApiFactory = function (configuration?: Configuration, base
21834
21983
  * @param {*} [options] Override http request option.
21835
21984
  * @throws {RequiredError}
21836
21985
  */
21837
- apiV1CountriesCountryIdPut(countryId: string, updateCountryCommand?: UpdateCountryCommand, options?: any): AxiosPromise<boolean> {
21986
+ apiV1CountriesCountryIdPut(countryId: string, updateCountryCommand?: UpdateCountryCommand, options?: any): AxiosPromise<CountryModel> {
21838
21987
  return localVarFp.apiV1CountriesCountryIdPut(countryId, updateCountryCommand, options).then((request) => request(axios, basePath));
21839
21988
  },
21840
21989
  /**
@@ -28819,6 +28968,124 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
28819
28968
  options: localVarRequestOptions,
28820
28969
  };
28821
28970
  },
28971
+ /**
28972
+ *
28973
+ * @summary Get all Hospitals.
28974
+ * @param {string} [hospitalId]
28975
+ * @param {string} [name]
28976
+ * @param {string} [description]
28977
+ * @param {string} [countryId]
28978
+ * @param {Date} [created]
28979
+ * @param {MarketingType} [marketingType]
28980
+ * @param {string} [specialtyTypeId]
28981
+ * @param {string} [specialtyId]
28982
+ * @param {string} [serviceId]
28983
+ * @param {string} [exceptHospitalId]
28984
+ * @param {boolean} [showHidden]
28985
+ * @param {string} [languageCode]
28986
+ * @param {Array<string>} [ids]
28987
+ * @param {number} [page]
28988
+ * @param {number} [limit]
28989
+ * @param {Date} [lastRetrieved]
28990
+ * @param {*} [options] Override http request option.
28991
+ * @throws {RequiredError}
28992
+ */
28993
+ apiV1HospitalsSimpleGet: async (hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
28994
+ const localVarPath = `/api/v1/hospitals/simple`;
28995
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
28996
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
28997
+ let baseOptions;
28998
+ if (configuration) {
28999
+ baseOptions = configuration.baseOptions;
29000
+ }
29001
+
29002
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
29003
+ const localVarHeaderParameter = {} as any;
29004
+ const localVarQueryParameter = {} as any;
29005
+
29006
+ // authentication oauth2 required
29007
+ // oauth required
29008
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
29009
+
29010
+ if (hospitalId !== undefined) {
29011
+ localVarQueryParameter['HospitalId'] = hospitalId;
29012
+ }
29013
+
29014
+ if (name !== undefined) {
29015
+ localVarQueryParameter['Name'] = name;
29016
+ }
29017
+
29018
+ if (description !== undefined) {
29019
+ localVarQueryParameter['Description'] = description;
29020
+ }
29021
+
29022
+ if (countryId !== undefined) {
29023
+ localVarQueryParameter['CountryId'] = countryId;
29024
+ }
29025
+
29026
+ if (created !== undefined) {
29027
+ localVarQueryParameter['Created'] = (created as any instanceof Date) ?
29028
+ (created as any).toISOString() :
29029
+ created;
29030
+ }
29031
+
29032
+ if (marketingType !== undefined) {
29033
+ localVarQueryParameter['MarketingType'] = marketingType;
29034
+ }
29035
+
29036
+ if (specialtyTypeId !== undefined) {
29037
+ localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
29038
+ }
29039
+
29040
+ if (specialtyId !== undefined) {
29041
+ localVarQueryParameter['SpecialtyId'] = specialtyId;
29042
+ }
29043
+
29044
+ if (serviceId !== undefined) {
29045
+ localVarQueryParameter['ServiceId'] = serviceId;
29046
+ }
29047
+
29048
+ if (exceptHospitalId !== undefined) {
29049
+ localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
29050
+ }
29051
+
29052
+ if (showHidden !== undefined) {
29053
+ localVarQueryParameter['ShowHidden'] = showHidden;
29054
+ }
29055
+
29056
+ if (languageCode !== undefined) {
29057
+ localVarQueryParameter['LanguageCode'] = languageCode;
29058
+ }
29059
+
29060
+ if (ids) {
29061
+ localVarQueryParameter['Ids'] = ids;
29062
+ }
29063
+
29064
+ if (page !== undefined) {
29065
+ localVarQueryParameter['page'] = page;
29066
+ }
29067
+
29068
+ if (limit !== undefined) {
29069
+ localVarQueryParameter['limit'] = limit;
29070
+ }
29071
+
29072
+ if (lastRetrieved !== undefined) {
29073
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
29074
+ (lastRetrieved as any).toISOString() :
29075
+ lastRetrieved;
29076
+ }
29077
+
29078
+
29079
+
29080
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
29081
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29082
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
29083
+
29084
+ return {
29085
+ url: toPathString(localVarUrlObj),
29086
+ options: localVarRequestOptions,
29087
+ };
29088
+ },
28822
29089
  /**
28823
29090
  *
28824
29091
  * @summary Get Hospital by slug.
@@ -29065,7 +29332,7 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
29065
29332
  * @param {*} [options] Override http request option.
29066
29333
  * @throws {RequiredError}
29067
29334
  */
29068
- async apiV1HospitalsHospitalIdEquipmentsEquipmentIdPut(hospitalId: string, equipmentId: string, updateHospitalEquipmentCommand?: UpdateHospitalEquipmentCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
29335
+ async apiV1HospitalsHospitalIdEquipmentsEquipmentIdPut(hospitalId: string, equipmentId: string, updateHospitalEquipmentCommand?: UpdateHospitalEquipmentCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalEquipmentModel>> {
29069
29336
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdEquipmentsEquipmentIdPut(hospitalId, equipmentId, updateHospitalEquipmentCommand, options);
29070
29337
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29071
29338
  },
@@ -29239,7 +29506,7 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
29239
29506
  * @param {*} [options] Override http request option.
29240
29507
  * @throws {RequiredError}
29241
29508
  */
29242
- async apiV1HospitalsHospitalIdPut(hospitalId: string, updateHospitalCommand?: UpdateHospitalCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
29509
+ async apiV1HospitalsHospitalIdPut(hospitalId: string, updateHospitalCommand?: UpdateHospitalCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalModel>> {
29243
29510
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdPut(hospitalId, updateHospitalCommand, options);
29244
29511
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29245
29512
  },
@@ -29466,7 +29733,7 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
29466
29733
  * @param {*} [options] Override http request option.
29467
29734
  * @throws {RequiredError}
29468
29735
  */
29469
- async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId: string, specialtyId: string, serviceId: string, updateHospitalServiceCommand?: UpdateHospitalServiceCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
29736
+ async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId: string, specialtyId: string, serviceId: string, updateHospitalServiceCommand?: UpdateHospitalServiceCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServiceModel>> {
29470
29737
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options);
29471
29738
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29472
29739
  },
@@ -29481,6 +29748,32 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
29481
29748
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsPost(createHospitalCommand, options);
29482
29749
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29483
29750
  },
29751
+ /**
29752
+ *
29753
+ * @summary Get all Hospitals.
29754
+ * @param {string} [hospitalId]
29755
+ * @param {string} [name]
29756
+ * @param {string} [description]
29757
+ * @param {string} [countryId]
29758
+ * @param {Date} [created]
29759
+ * @param {MarketingType} [marketingType]
29760
+ * @param {string} [specialtyTypeId]
29761
+ * @param {string} [specialtyId]
29762
+ * @param {string} [serviceId]
29763
+ * @param {string} [exceptHospitalId]
29764
+ * @param {boolean} [showHidden]
29765
+ * @param {string} [languageCode]
29766
+ * @param {Array<string>} [ids]
29767
+ * @param {number} [page]
29768
+ * @param {number} [limit]
29769
+ * @param {Date} [lastRetrieved]
29770
+ * @param {*} [options] Override http request option.
29771
+ * @throws {RequiredError}
29772
+ */
29773
+ async apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsSimpleModel>> {
29774
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options);
29775
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29776
+ },
29484
29777
  /**
29485
29778
  *
29486
29779
  * @summary Get Hospital by slug.
@@ -29683,7 +29976,7 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
29683
29976
  * @param {*} [options] Override http request option.
29684
29977
  * @throws {RequiredError}
29685
29978
  */
29686
- apiV1HospitalsHospitalIdEquipmentsEquipmentIdPut(hospitalId: string, equipmentId: string, updateHospitalEquipmentCommand?: UpdateHospitalEquipmentCommand, options?: any): AxiosPromise<boolean> {
29979
+ apiV1HospitalsHospitalIdEquipmentsEquipmentIdPut(hospitalId: string, equipmentId: string, updateHospitalEquipmentCommand?: UpdateHospitalEquipmentCommand, options?: any): AxiosPromise<HospitalEquipmentModel> {
29687
29980
  return localVarFp.apiV1HospitalsHospitalIdEquipmentsEquipmentIdPut(hospitalId, equipmentId, updateHospitalEquipmentCommand, options).then((request) => request(axios, basePath));
29688
29981
  },
29689
29982
  /**
@@ -29844,7 +30137,7 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
29844
30137
  * @param {*} [options] Override http request option.
29845
30138
  * @throws {RequiredError}
29846
30139
  */
29847
- apiV1HospitalsHospitalIdPut(hospitalId: string, updateHospitalCommand?: UpdateHospitalCommand, options?: any): AxiosPromise<boolean> {
30140
+ apiV1HospitalsHospitalIdPut(hospitalId: string, updateHospitalCommand?: UpdateHospitalCommand, options?: any): AxiosPromise<HospitalModel> {
29848
30141
  return localVarFp.apiV1HospitalsHospitalIdPut(hospitalId, updateHospitalCommand, options).then((request) => request(axios, basePath));
29849
30142
  },
29850
30143
  /**
@@ -30056,7 +30349,7 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
30056
30349
  * @param {*} [options] Override http request option.
30057
30350
  * @throws {RequiredError}
30058
30351
  */
30059
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId: string, specialtyId: string, serviceId: string, updateHospitalServiceCommand?: UpdateHospitalServiceCommand, options?: any): AxiosPromise<boolean> {
30352
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId: string, specialtyId: string, serviceId: string, updateHospitalServiceCommand?: UpdateHospitalServiceCommand, options?: any): AxiosPromise<HospitalServiceModel> {
30060
30353
  return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options).then((request) => request(axios, basePath));
30061
30354
  },
30062
30355
  /**
@@ -30069,6 +30362,31 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
30069
30362
  apiV1HospitalsPost(createHospitalCommand?: CreateHospitalCommand, options?: any): AxiosPromise<HospitalModel> {
30070
30363
  return localVarFp.apiV1HospitalsPost(createHospitalCommand, options).then((request) => request(axios, basePath));
30071
30364
  },
30365
+ /**
30366
+ *
30367
+ * @summary Get all Hospitals.
30368
+ * @param {string} [hospitalId]
30369
+ * @param {string} [name]
30370
+ * @param {string} [description]
30371
+ * @param {string} [countryId]
30372
+ * @param {Date} [created]
30373
+ * @param {MarketingType} [marketingType]
30374
+ * @param {string} [specialtyTypeId]
30375
+ * @param {string} [specialtyId]
30376
+ * @param {string} [serviceId]
30377
+ * @param {string} [exceptHospitalId]
30378
+ * @param {boolean} [showHidden]
30379
+ * @param {string} [languageCode]
30380
+ * @param {Array<string>} [ids]
30381
+ * @param {number} [page]
30382
+ * @param {number} [limit]
30383
+ * @param {Date} [lastRetrieved]
30384
+ * @param {*} [options] Override http request option.
30385
+ * @throws {RequiredError}
30386
+ */
30387
+ apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsSimpleModel> {
30388
+ return localVarFp.apiV1HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
30389
+ },
30072
30390
  /**
30073
30391
  *
30074
30392
  * @summary Get Hospital by slug.
@@ -30742,6 +31060,33 @@ export class HospitalsApi extends BaseAPI {
30742
31060
  return HospitalsApiFp(this.configuration).apiV1HospitalsPost(createHospitalCommand, options).then((request) => request(this.axios, this.basePath));
30743
31061
  }
30744
31062
 
31063
+ /**
31064
+ *
31065
+ * @summary Get all Hospitals.
31066
+ * @param {string} [hospitalId]
31067
+ * @param {string} [name]
31068
+ * @param {string} [description]
31069
+ * @param {string} [countryId]
31070
+ * @param {Date} [created]
31071
+ * @param {MarketingType} [marketingType]
31072
+ * @param {string} [specialtyTypeId]
31073
+ * @param {string} [specialtyId]
31074
+ * @param {string} [serviceId]
31075
+ * @param {string} [exceptHospitalId]
31076
+ * @param {boolean} [showHidden]
31077
+ * @param {string} [languageCode]
31078
+ * @param {Array<string>} [ids]
31079
+ * @param {number} [page]
31080
+ * @param {number} [limit]
31081
+ * @param {Date} [lastRetrieved]
31082
+ * @param {*} [options] Override http request option.
31083
+ * @throws {RequiredError}
31084
+ * @memberof HospitalsApi
31085
+ */
31086
+ public apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
31087
+ return HospitalsApiFp(this.configuration).apiV1HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
31088
+ }
31089
+
30745
31090
  /**
30746
31091
  *
30747
31092
  * @summary Get Hospital by slug.
@@ -31166,6 +31511,7 @@ export const ManagersApiAxiosParamCreator = function (configuration?: Configurat
31166
31511
  /**
31167
31512
  *
31168
31513
  * @summary Get all Managers.
31514
+ * @param {string} [hospitalId]
31169
31515
  * @param {string} [id]
31170
31516
  * @param {string} [fullname]
31171
31517
  * @param {string} [email]
@@ -31179,7 +31525,7 @@ export const ManagersApiAxiosParamCreator = function (configuration?: Configurat
31179
31525
  * @param {*} [options] Override http request option.
31180
31526
  * @throws {RequiredError}
31181
31527
  */
31182
- apiV1ManagersGet: async (id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
31528
+ apiV1ManagersGet: async (hospitalId?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
31183
31529
  const localVarPath = `/api/v1/managers`;
31184
31530
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
31185
31531
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -31196,6 +31542,10 @@ export const ManagersApiAxiosParamCreator = function (configuration?: Configurat
31196
31542
  // oauth required
31197
31543
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
31198
31544
 
31545
+ if (hospitalId !== undefined) {
31546
+ localVarQueryParameter['HospitalId'] = hospitalId;
31547
+ }
31548
+
31199
31549
  if (id !== undefined) {
31200
31550
  localVarQueryParameter['Id'] = id;
31201
31551
  }
@@ -31244,6 +31594,66 @@ export const ManagersApiAxiosParamCreator = function (configuration?: Configurat
31244
31594
 
31245
31595
 
31246
31596
 
31597
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
31598
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
31599
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
31600
+
31601
+ return {
31602
+ url: toPathString(localVarUrlObj),
31603
+ options: localVarRequestOptions,
31604
+ };
31605
+ },
31606
+ /**
31607
+ *
31608
+ * @summary Get all manager affiliations.
31609
+ * @param {string} managerId
31610
+ * @param {string} [hospitalName]
31611
+ * @param {number} [page]
31612
+ * @param {number} [limit]
31613
+ * @param {Date} [lastRetrieved]
31614
+ * @param {*} [options] Override http request option.
31615
+ * @throws {RequiredError}
31616
+ */
31617
+ apiV1ManagersManagerIdAffiliationsGet: async (managerId: string, hospitalName?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
31618
+ // verify required parameter 'managerId' is not null or undefined
31619
+ assertParamExists('apiV1ManagersManagerIdAffiliationsGet', 'managerId', managerId)
31620
+ const localVarPath = `/api/v1/managers/{managerId}/affiliations`
31621
+ .replace(`{${"managerId"}}`, encodeURIComponent(String(managerId)));
31622
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
31623
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31624
+ let baseOptions;
31625
+ if (configuration) {
31626
+ baseOptions = configuration.baseOptions;
31627
+ }
31628
+
31629
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
31630
+ const localVarHeaderParameter = {} as any;
31631
+ const localVarQueryParameter = {} as any;
31632
+
31633
+ // authentication oauth2 required
31634
+ // oauth required
31635
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
31636
+
31637
+ if (hospitalName !== undefined) {
31638
+ localVarQueryParameter['HospitalName'] = hospitalName;
31639
+ }
31640
+
31641
+ if (page !== undefined) {
31642
+ localVarQueryParameter['page'] = page;
31643
+ }
31644
+
31645
+ if (limit !== undefined) {
31646
+ localVarQueryParameter['limit'] = limit;
31647
+ }
31648
+
31649
+ if (lastRetrieved !== undefined) {
31650
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
31651
+ (lastRetrieved as any).toISOString() :
31652
+ lastRetrieved;
31653
+ }
31654
+
31655
+
31656
+
31247
31657
  setSearchParams(localVarUrlObj, localVarQueryParameter);
31248
31658
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
31249
31659
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -31422,6 +31832,7 @@ export const ManagersApiFp = function(configuration?: Configuration) {
31422
31832
  /**
31423
31833
  *
31424
31834
  * @summary Get all Managers.
31835
+ * @param {string} [hospitalId]
31425
31836
  * @param {string} [id]
31426
31837
  * @param {string} [fullname]
31427
31838
  * @param {string} [email]
@@ -31435,8 +31846,23 @@ export const ManagersApiFp = function(configuration?: Configuration) {
31435
31846
  * @param {*} [options] Override http request option.
31436
31847
  * @throws {RequiredError}
31437
31848
  */
31438
- async apiV1ManagersGet(id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagersModel>> {
31439
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ManagersGet(id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options);
31849
+ async apiV1ManagersGet(hospitalId?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagersModel>> {
31850
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ManagersGet(hospitalId, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options);
31851
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
31852
+ },
31853
+ /**
31854
+ *
31855
+ * @summary Get all manager affiliations.
31856
+ * @param {string} managerId
31857
+ * @param {string} [hospitalName]
31858
+ * @param {number} [page]
31859
+ * @param {number} [limit]
31860
+ * @param {Date} [lastRetrieved]
31861
+ * @param {*} [options] Override http request option.
31862
+ * @throws {RequiredError}
31863
+ */
31864
+ async apiV1ManagersManagerIdAffiliationsGet(managerId: string, hospitalName?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagerAffiliationsModel>> {
31865
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ManagersManagerIdAffiliationsGet(managerId, hospitalName, page, limit, lastRetrieved, options);
31440
31866
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
31441
31867
  },
31442
31868
  /**
@@ -31497,6 +31923,7 @@ export const ManagersApiFactory = function (configuration?: Configuration, baseP
31497
31923
  /**
31498
31924
  *
31499
31925
  * @summary Get all Managers.
31926
+ * @param {string} [hospitalId]
31500
31927
  * @param {string} [id]
31501
31928
  * @param {string} [fullname]
31502
31929
  * @param {string} [email]
@@ -31510,8 +31937,22 @@ export const ManagersApiFactory = function (configuration?: Configuration, baseP
31510
31937
  * @param {*} [options] Override http request option.
31511
31938
  * @throws {RequiredError}
31512
31939
  */
31513
- apiV1ManagersGet(id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ManagersModel> {
31514
- return localVarFp.apiV1ManagersGet(id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
31940
+ apiV1ManagersGet(hospitalId?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ManagersModel> {
31941
+ return localVarFp.apiV1ManagersGet(hospitalId, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
31942
+ },
31943
+ /**
31944
+ *
31945
+ * @summary Get all manager affiliations.
31946
+ * @param {string} managerId
31947
+ * @param {string} [hospitalName]
31948
+ * @param {number} [page]
31949
+ * @param {number} [limit]
31950
+ * @param {Date} [lastRetrieved]
31951
+ * @param {*} [options] Override http request option.
31952
+ * @throws {RequiredError}
31953
+ */
31954
+ apiV1ManagersManagerIdAffiliationsGet(managerId: string, hospitalName?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ManagerAffiliationsModel> {
31955
+ return localVarFp.apiV1ManagersManagerIdAffiliationsGet(managerId, hospitalName, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
31515
31956
  },
31516
31957
  /**
31517
31958
  *
@@ -31567,6 +32008,7 @@ export class ManagersApi extends BaseAPI {
31567
32008
  /**
31568
32009
  *
31569
32010
  * @summary Get all Managers.
32011
+ * @param {string} [hospitalId]
31570
32012
  * @param {string} [id]
31571
32013
  * @param {string} [fullname]
31572
32014
  * @param {string} [email]
@@ -31581,8 +32023,24 @@ export class ManagersApi extends BaseAPI {
31581
32023
  * @throws {RequiredError}
31582
32024
  * @memberof ManagersApi
31583
32025
  */
31584
- public apiV1ManagersGet(id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
31585
- return ManagersApiFp(this.configuration).apiV1ManagersGet(id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
32026
+ public apiV1ManagersGet(hospitalId?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
32027
+ return ManagersApiFp(this.configuration).apiV1ManagersGet(hospitalId, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
32028
+ }
32029
+
32030
+ /**
32031
+ *
32032
+ * @summary Get all manager affiliations.
32033
+ * @param {string} managerId
32034
+ * @param {string} [hospitalName]
32035
+ * @param {number} [page]
32036
+ * @param {number} [limit]
32037
+ * @param {Date} [lastRetrieved]
32038
+ * @param {*} [options] Override http request option.
32039
+ * @throws {RequiredError}
32040
+ * @memberof ManagersApi
32041
+ */
32042
+ public apiV1ManagersManagerIdAffiliationsGet(managerId: string, hospitalName?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
32043
+ return ManagersApiFp(this.configuration).apiV1ManagersManagerIdAffiliationsGet(managerId, hospitalName, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
31586
32044
  }
31587
32045
 
31588
32046
  /**
@@ -33730,6 +34188,44 @@ export const ProfilesApiAxiosParamCreator = function (configuration?: Configurat
33730
34188
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33731
34189
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
33732
34190
 
34191
+ return {
34192
+ url: toPathString(localVarUrlObj),
34193
+ options: localVarRequestOptions,
34194
+ };
34195
+ },
34196
+ /**
34197
+ *
34198
+ * @summary Update Profile.
34199
+ * @param {UpdateProfileCommand} [updateProfileCommand]
34200
+ * @param {*} [options] Override http request option.
34201
+ * @throws {RequiredError}
34202
+ */
34203
+ apiV1ProfilesPut: async (updateProfileCommand?: UpdateProfileCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
34204
+ const localVarPath = `/api/v1/profiles`;
34205
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
34206
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
34207
+ let baseOptions;
34208
+ if (configuration) {
34209
+ baseOptions = configuration.baseOptions;
34210
+ }
34211
+
34212
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
34213
+ const localVarHeaderParameter = {} as any;
34214
+ const localVarQueryParameter = {} as any;
34215
+
34216
+ // authentication oauth2 required
34217
+ // oauth required
34218
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
34219
+
34220
+
34221
+
34222
+ localVarHeaderParameter['Content-Type'] = 'application/json';
34223
+
34224
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
34225
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
34226
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
34227
+ localVarRequestOptions.data = serializeDataIfNeeded(updateProfileCommand, localVarRequestOptions, configuration)
34228
+
33733
34229
  return {
33734
34230
  url: toPathString(localVarUrlObj),
33735
34231
  options: localVarRequestOptions,
@@ -33777,6 +34273,17 @@ export const ProfilesApiFp = function(configuration?: Configuration) {
33777
34273
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ProfilesGet(options);
33778
34274
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33779
34275
  },
34276
+ /**
34277
+ *
34278
+ * @summary Update Profile.
34279
+ * @param {UpdateProfileCommand} [updateProfileCommand]
34280
+ * @param {*} [options] Override http request option.
34281
+ * @throws {RequiredError}
34282
+ */
34283
+ async apiV1ProfilesPut(updateProfileCommand?: UpdateProfileCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserModel>> {
34284
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ProfilesPut(updateProfileCommand, options);
34285
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
34286
+ },
33780
34287
  }
33781
34288
  };
33782
34289
 
@@ -33816,6 +34323,16 @@ export const ProfilesApiFactory = function (configuration?: Configuration, baseP
33816
34323
  apiV1ProfilesGet(options?: any): AxiosPromise<UserModel> {
33817
34324
  return localVarFp.apiV1ProfilesGet(options).then((request) => request(axios, basePath));
33818
34325
  },
34326
+ /**
34327
+ *
34328
+ * @summary Update Profile.
34329
+ * @param {UpdateProfileCommand} [updateProfileCommand]
34330
+ * @param {*} [options] Override http request option.
34331
+ * @throws {RequiredError}
34332
+ */
34333
+ apiV1ProfilesPut(updateProfileCommand?: UpdateProfileCommand, options?: any): AxiosPromise<UserModel> {
34334
+ return localVarFp.apiV1ProfilesPut(updateProfileCommand, options).then((request) => request(axios, basePath));
34335
+ },
33819
34336
  };
33820
34337
  };
33821
34338
 
@@ -33860,6 +34377,18 @@ export class ProfilesApi extends BaseAPI {
33860
34377
  public apiV1ProfilesGet(options?: AxiosRequestConfig) {
33861
34378
  return ProfilesApiFp(this.configuration).apiV1ProfilesGet(options).then((request) => request(this.axios, this.basePath));
33862
34379
  }
34380
+
34381
+ /**
34382
+ *
34383
+ * @summary Update Profile.
34384
+ * @param {UpdateProfileCommand} [updateProfileCommand]
34385
+ * @param {*} [options] Override http request option.
34386
+ * @throws {RequiredError}
34387
+ * @memberof ProfilesApi
34388
+ */
34389
+ public apiV1ProfilesPut(updateProfileCommand?: UpdateProfileCommand, options?: AxiosRequestConfig) {
34390
+ return ProfilesApiFp(this.configuration).apiV1ProfilesPut(updateProfileCommand, options).then((request) => request(this.axios, this.basePath));
34391
+ }
33863
34392
  }
33864
34393
 
33865
34394
 
@@ -35416,7 +35945,7 @@ export const SpecialtiesApiFp = function(configuration?: Configuration) {
35416
35945
  * @param {*} [options] Override http request option.
35417
35946
  * @throws {RequiredError}
35418
35947
  */
35419
- async apiV1SpecialtiesSpecialtyIdPut(specialtyId: string, updateSpecialtyCommand?: UpdateSpecialtyCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
35948
+ async apiV1SpecialtiesSpecialtyIdPut(specialtyId: string, updateSpecialtyCommand?: UpdateSpecialtyCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyModel>> {
35420
35949
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesSpecialtyIdPut(specialtyId, updateSpecialtyCommand, options);
35421
35950
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
35422
35951
  },
@@ -35560,7 +36089,7 @@ export const SpecialtiesApiFactory = function (configuration?: Configuration, ba
35560
36089
  * @param {*} [options] Override http request option.
35561
36090
  * @throws {RequiredError}
35562
36091
  */
35563
- apiV1SpecialtiesSpecialtyIdPut(specialtyId: string, updateSpecialtyCommand?: UpdateSpecialtyCommand, options?: any): AxiosPromise<boolean> {
36092
+ apiV1SpecialtiesSpecialtyIdPut(specialtyId: string, updateSpecialtyCommand?: UpdateSpecialtyCommand, options?: any): AxiosPromise<SpecialtyModel> {
35564
36093
  return localVarFp.apiV1SpecialtiesSpecialtyIdPut(specialtyId, updateSpecialtyCommand, options).then((request) => request(axios, basePath));
35565
36094
  },
35566
36095
  };
@@ -36426,7 +36955,7 @@ export const SpecialtyTypesApiFp = function(configuration?: Configuration) {
36426
36955
  * @param {*} [options] Override http request option.
36427
36956
  * @throws {RequiredError}
36428
36957
  */
36429
- async apiV1SpecialtytypesSpecialtyTypeIdPut(specialtyTypeId: string, updateSpecialtyTypeCommand?: UpdateSpecialtyTypeCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
36958
+ async apiV1SpecialtytypesSpecialtyTypeIdPut(specialtyTypeId: string, updateSpecialtyTypeCommand?: UpdateSpecialtyTypeCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypeModel>> {
36430
36959
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtytypesSpecialtyTypeIdPut(specialtyTypeId, updateSpecialtyTypeCommand, options);
36431
36960
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36432
36961
  },
@@ -36571,7 +37100,7 @@ export const SpecialtyTypesApiFactory = function (configuration?: Configuration,
36571
37100
  * @param {*} [options] Override http request option.
36572
37101
  * @throws {RequiredError}
36573
37102
  */
36574
- apiV1SpecialtytypesSpecialtyTypeIdPut(specialtyTypeId: string, updateSpecialtyTypeCommand?: UpdateSpecialtyTypeCommand, options?: any): AxiosPromise<boolean> {
37103
+ apiV1SpecialtytypesSpecialtyTypeIdPut(specialtyTypeId: string, updateSpecialtyTypeCommand?: UpdateSpecialtyTypeCommand, options?: any): AxiosPromise<SpecialtyTypeModel> {
36575
37104
  return localVarFp.apiV1SpecialtytypesSpecialtyTypeIdPut(specialtyTypeId, updateSpecialtyTypeCommand, options).then((request) => request(axios, basePath));
36576
37105
  },
36577
37106
  };