ch-admin-api-client-typescript 2.1.2 → 2.1.3

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
@@ -3408,6 +3408,19 @@ export interface CreateDealServiceCommand {
3408
3408
  */
3409
3409
  'order'?: number;
3410
3410
  }
3411
+ /**
3412
+ *
3413
+ * @export
3414
+ * @interface CreateDoctorAffiliationCommand
3415
+ */
3416
+ export interface CreateDoctorAffiliationCommand {
3417
+ /**
3418
+ *
3419
+ * @type {string}
3420
+ * @memberof CreateDoctorAffiliationCommand
3421
+ */
3422
+ 'hospitalId'?: string;
3423
+ }
3411
3424
  /**
3412
3425
  *
3413
3426
  * @export
@@ -4744,6 +4757,19 @@ export interface DealsModel {
4744
4757
  */
4745
4758
  'metaData'?: PagedListMetaData;
4746
4759
  }
4760
+ /**
4761
+ *
4762
+ * @export
4763
+ * @interface DeleteDoctorAffiliationCommand
4764
+ */
4765
+ export interface DeleteDoctorAffiliationCommand {
4766
+ /**
4767
+ *
4768
+ * @type {string}
4769
+ * @memberof DeleteDoctorAffiliationCommand
4770
+ */
4771
+ 'hospitalId'?: string;
4772
+ }
4747
4773
  /**
4748
4774
  *
4749
4775
  * @export
@@ -5133,6 +5159,73 @@ export interface DoctorAffiliation {
5133
5159
  */
5134
5160
  'order'?: number;
5135
5161
  }
5162
+ /**
5163
+ *
5164
+ * @export
5165
+ * @interface DoctorAffiliationModel
5166
+ */
5167
+ export interface DoctorAffiliationModel {
5168
+ /**
5169
+ *
5170
+ * @type {string}
5171
+ * @memberof DoctorAffiliationModel
5172
+ */
5173
+ 'hospitalId'?: string;
5174
+ /**
5175
+ *
5176
+ * @type {string}
5177
+ * @memberof DoctorAffiliationModel
5178
+ */
5179
+ 'hospitalName'?: string | null;
5180
+ /**
5181
+ *
5182
+ * @type {string}
5183
+ * @memberof DoctorAffiliationModel
5184
+ */
5185
+ 'hospitalSlug'?: string | null;
5186
+ /**
5187
+ *
5188
+ * @type {string}
5189
+ * @memberof DoctorAffiliationModel
5190
+ */
5191
+ 'countryId'?: string;
5192
+ /**
5193
+ *
5194
+ * @type {string}
5195
+ * @memberof DoctorAffiliationModel
5196
+ */
5197
+ 'countryName'?: string | null;
5198
+ /**
5199
+ *
5200
+ * @type {string}
5201
+ * @memberof DoctorAffiliationModel
5202
+ */
5203
+ 'stateName'?: string | null;
5204
+ /**
5205
+ *
5206
+ * @type {string}
5207
+ * @memberof DoctorAffiliationModel
5208
+ */
5209
+ 'cityName'?: string | null;
5210
+ /**
5211
+ *
5212
+ * @type {string}
5213
+ * @memberof DoctorAffiliationModel
5214
+ */
5215
+ 'doctorId'?: string;
5216
+ /**
5217
+ *
5218
+ * @type {string}
5219
+ * @memberof DoctorAffiliationModel
5220
+ */
5221
+ 'doctorName'?: string | null;
5222
+ /**
5223
+ *
5224
+ * @type {number}
5225
+ * @memberof DoctorAffiliationModel
5226
+ */
5227
+ 'order'?: number;
5228
+ }
5136
5229
  /**
5137
5230
  *
5138
5231
  * @export
@@ -19413,6 +19506,90 @@ export class DealsApi extends BaseAPI {
19413
19506
  */
19414
19507
  export const DoctorsApiAxiosParamCreator = function (configuration?: Configuration) {
19415
19508
  return {
19509
+ /**
19510
+ *
19511
+ * @summary Delete DoctorAffiliation.
19512
+ * @param {string} doctorId
19513
+ * @param {DeleteDoctorAffiliationCommand} [deleteDoctorAffiliationCommand]
19514
+ * @param {*} [options] Override http request option.
19515
+ * @throws {RequiredError}
19516
+ */
19517
+ apiV1DoctorsDoctorIdAffiliationsDelete: async (doctorId: string, deleteDoctorAffiliationCommand?: DeleteDoctorAffiliationCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
19518
+ // verify required parameter 'doctorId' is not null or undefined
19519
+ assertParamExists('apiV1DoctorsDoctorIdAffiliationsDelete', 'doctorId', doctorId)
19520
+ const localVarPath = `/api/v1/doctors/{doctorId}/affiliations`
19521
+ .replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)));
19522
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
19523
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
19524
+ let baseOptions;
19525
+ if (configuration) {
19526
+ baseOptions = configuration.baseOptions;
19527
+ }
19528
+
19529
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
19530
+ const localVarHeaderParameter = {} as any;
19531
+ const localVarQueryParameter = {} as any;
19532
+
19533
+ // authentication oauth2 required
19534
+ // oauth required
19535
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
19536
+
19537
+
19538
+
19539
+ localVarHeaderParameter['Content-Type'] = 'application/json';
19540
+
19541
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
19542
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19543
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
19544
+ localVarRequestOptions.data = serializeDataIfNeeded(deleteDoctorAffiliationCommand, localVarRequestOptions, configuration)
19545
+
19546
+ return {
19547
+ url: toPathString(localVarUrlObj),
19548
+ options: localVarRequestOptions,
19549
+ };
19550
+ },
19551
+ /**
19552
+ *
19553
+ * @summary Create DoctorAffiliation.
19554
+ * @param {string} doctorId
19555
+ * @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
19556
+ * @param {*} [options] Override http request option.
19557
+ * @throws {RequiredError}
19558
+ */
19559
+ apiV1DoctorsDoctorIdAffiliationsPost: async (doctorId: string, createDoctorAffiliationCommand?: CreateDoctorAffiliationCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
19560
+ // verify required parameter 'doctorId' is not null or undefined
19561
+ assertParamExists('apiV1DoctorsDoctorIdAffiliationsPost', 'doctorId', doctorId)
19562
+ const localVarPath = `/api/v1/doctors/{doctorId}/affiliations`
19563
+ .replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)));
19564
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
19565
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
19566
+ let baseOptions;
19567
+ if (configuration) {
19568
+ baseOptions = configuration.baseOptions;
19569
+ }
19570
+
19571
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
19572
+ const localVarHeaderParameter = {} as any;
19573
+ const localVarQueryParameter = {} as any;
19574
+
19575
+ // authentication oauth2 required
19576
+ // oauth required
19577
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
19578
+
19579
+
19580
+
19581
+ localVarHeaderParameter['Content-Type'] = 'application/json';
19582
+
19583
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
19584
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19585
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
19586
+ localVarRequestOptions.data = serializeDataIfNeeded(createDoctorAffiliationCommand, localVarRequestOptions, configuration)
19587
+
19588
+ return {
19589
+ url: toPathString(localVarUrlObj),
19590
+ options: localVarRequestOptions,
19591
+ };
19592
+ },
19416
19593
  /**
19417
19594
  *
19418
19595
  * @summary Delete DoctorCertificate.
@@ -20962,6 +21139,30 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
20962
21139
  export const DoctorsApiFp = function(configuration?: Configuration) {
20963
21140
  const localVarAxiosParamCreator = DoctorsApiAxiosParamCreator(configuration)
20964
21141
  return {
21142
+ /**
21143
+ *
21144
+ * @summary Delete DoctorAffiliation.
21145
+ * @param {string} doctorId
21146
+ * @param {DeleteDoctorAffiliationCommand} [deleteDoctorAffiliationCommand]
21147
+ * @param {*} [options] Override http request option.
21148
+ * @throws {RequiredError}
21149
+ */
21150
+ async apiV1DoctorsDoctorIdAffiliationsDelete(doctorId: string, deleteDoctorAffiliationCommand?: DeleteDoctorAffiliationCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
21151
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdAffiliationsDelete(doctorId, deleteDoctorAffiliationCommand, options);
21152
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
21153
+ },
21154
+ /**
21155
+ *
21156
+ * @summary Create DoctorAffiliation.
21157
+ * @param {string} doctorId
21158
+ * @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
21159
+ * @param {*} [options] Override http request option.
21160
+ * @throws {RequiredError}
21161
+ */
21162
+ async apiV1DoctorsDoctorIdAffiliationsPost(doctorId: string, createDoctorAffiliationCommand?: CreateDoctorAffiliationCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorAffiliationModel>> {
21163
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdAffiliationsPost(doctorId, createDoctorAffiliationCommand, options);
21164
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
21165
+ },
20965
21166
  /**
20966
21167
  *
20967
21168
  * @summary Delete DoctorCertificate.
@@ -21382,6 +21583,28 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
21382
21583
  export const DoctorsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
21383
21584
  const localVarFp = DoctorsApiFp(configuration)
21384
21585
  return {
21586
+ /**
21587
+ *
21588
+ * @summary Delete DoctorAffiliation.
21589
+ * @param {string} doctorId
21590
+ * @param {DeleteDoctorAffiliationCommand} [deleteDoctorAffiliationCommand]
21591
+ * @param {*} [options] Override http request option.
21592
+ * @throws {RequiredError}
21593
+ */
21594
+ apiV1DoctorsDoctorIdAffiliationsDelete(doctorId: string, deleteDoctorAffiliationCommand?: DeleteDoctorAffiliationCommand, options?: any): AxiosPromise<boolean> {
21595
+ return localVarFp.apiV1DoctorsDoctorIdAffiliationsDelete(doctorId, deleteDoctorAffiliationCommand, options).then((request) => request(axios, basePath));
21596
+ },
21597
+ /**
21598
+ *
21599
+ * @summary Create DoctorAffiliation.
21600
+ * @param {string} doctorId
21601
+ * @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
21602
+ * @param {*} [options] Override http request option.
21603
+ * @throws {RequiredError}
21604
+ */
21605
+ apiV1DoctorsDoctorIdAffiliationsPost(doctorId: string, createDoctorAffiliationCommand?: CreateDoctorAffiliationCommand, options?: any): AxiosPromise<DoctorAffiliationModel> {
21606
+ return localVarFp.apiV1DoctorsDoctorIdAffiliationsPost(doctorId, createDoctorAffiliationCommand, options).then((request) => request(axios, basePath));
21607
+ },
21385
21608
  /**
21386
21609
  *
21387
21610
  * @summary Delete DoctorCertificate.
@@ -21772,6 +21995,32 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
21772
21995
  * @extends {BaseAPI}
21773
21996
  */
21774
21997
  export class DoctorsApi extends BaseAPI {
21998
+ /**
21999
+ *
22000
+ * @summary Delete DoctorAffiliation.
22001
+ * @param {string} doctorId
22002
+ * @param {DeleteDoctorAffiliationCommand} [deleteDoctorAffiliationCommand]
22003
+ * @param {*} [options] Override http request option.
22004
+ * @throws {RequiredError}
22005
+ * @memberof DoctorsApi
22006
+ */
22007
+ public apiV1DoctorsDoctorIdAffiliationsDelete(doctorId: string, deleteDoctorAffiliationCommand?: DeleteDoctorAffiliationCommand, options?: AxiosRequestConfig) {
22008
+ return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdAffiliationsDelete(doctorId, deleteDoctorAffiliationCommand, options).then((request) => request(this.axios, this.basePath));
22009
+ }
22010
+
22011
+ /**
22012
+ *
22013
+ * @summary Create DoctorAffiliation.
22014
+ * @param {string} doctorId
22015
+ * @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
22016
+ * @param {*} [options] Override http request option.
22017
+ * @throws {RequiredError}
22018
+ * @memberof DoctorsApi
22019
+ */
22020
+ public apiV1DoctorsDoctorIdAffiliationsPost(doctorId: string, createDoctorAffiliationCommand?: CreateDoctorAffiliationCommand, options?: AxiosRequestConfig) {
22021
+ return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdAffiliationsPost(doctorId, createDoctorAffiliationCommand, options).then((request) => request(this.axios, this.basePath));
22022
+ }
22023
+
21775
22024
  /**
21776
22025
  *
21777
22026
  * @summary Delete DoctorCertificate.
@@ -25829,35 +26078,18 @@ export class HospitalsApi extends BaseAPI {
25829
26078
 
25830
26079
 
25831
26080
  /**
25832
- * ServicesApi - axios parameter creator
26081
+ * ImagesApi - axios parameter creator
25833
26082
  * @export
25834
26083
  */
25835
- export const ServicesApiAxiosParamCreator = function (configuration?: Configuration) {
26084
+ export const ImagesApiAxiosParamCreator = function (configuration?: Configuration) {
25836
26085
  return {
25837
26086
  /**
25838
- * Sample request: GET /api/v1/hospitals/services
25839
- * @summary Get all services.
25840
- * @param {string} [id]
25841
- * @param {string} [name]
25842
- * @param {string} [description]
25843
- * @param {string} [hospitalId]
25844
- * @param {string} [hospitalName]
25845
- * @param {string} [hospitalSlug]
25846
- * @param {string} [specialtyId]
25847
- * @param {string} [specialtyTypeId]
25848
- * @param {string} [specialtyTypeName]
25849
- * @param {MarketingType} [marketingType]
25850
- * @param {Procedure} [procedure]
25851
- * @param {Date} [created]
25852
- * @param {string} [languageCode]
25853
- * @param {number} [page]
25854
- * @param {number} [limit]
25855
- * @param {Date} [lastRetrieved]
26087
+ *
25856
26088
  * @param {*} [options] Override http request option.
25857
26089
  * @throws {RequiredError}
25858
26090
  */
25859
- apiV1ServicesGet: async (id?: string, name?: string, description?: string, hospitalId?: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyTypeId?: string, specialtyTypeName?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
25860
- const localVarPath = `/api/v1/services`;
26091
+ apiV1ImagesPost: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
26092
+ const localVarPath = `/api/v1/images`;
25861
26093
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
25862
26094
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
25863
26095
  let baseOptions;
@@ -25865,7 +26097,7 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
25865
26097
  baseOptions = configuration.baseOptions;
25866
26098
  }
25867
26099
 
25868
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
26100
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
25869
26101
  const localVarHeaderParameter = {} as any;
25870
26102
  const localVarQueryParameter = {} as any;
25871
26103
 
@@ -25873,21 +26105,136 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
25873
26105
  // oauth required
25874
26106
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
25875
26107
 
25876
- if (id !== undefined) {
25877
- localVarQueryParameter['Id'] = id;
25878
- }
25879
26108
 
25880
- if (name !== undefined) {
25881
- localVarQueryParameter['Name'] = name;
25882
- }
26109
+
26110
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26111
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26112
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
25883
26113
 
25884
- if (description !== undefined) {
25885
- localVarQueryParameter['Description'] = description;
25886
- }
26114
+ return {
26115
+ url: toPathString(localVarUrlObj),
26116
+ options: localVarRequestOptions,
26117
+ };
26118
+ },
26119
+ }
26120
+ };
25887
26121
 
25888
- if (hospitalId !== undefined) {
25889
- localVarQueryParameter['HospitalId'] = hospitalId;
25890
- }
26122
+ /**
26123
+ * ImagesApi - functional programming interface
26124
+ * @export
26125
+ */
26126
+ export const ImagesApiFp = function(configuration?: Configuration) {
26127
+ const localVarAxiosParamCreator = ImagesApiAxiosParamCreator(configuration)
26128
+ return {
26129
+ /**
26130
+ *
26131
+ * @param {*} [options] Override http request option.
26132
+ * @throws {RequiredError}
26133
+ */
26134
+ async apiV1ImagesPost(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MediaModel>>> {
26135
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ImagesPost(options);
26136
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
26137
+ },
26138
+ }
26139
+ };
26140
+
26141
+ /**
26142
+ * ImagesApi - factory interface
26143
+ * @export
26144
+ */
26145
+ export const ImagesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
26146
+ const localVarFp = ImagesApiFp(configuration)
26147
+ return {
26148
+ /**
26149
+ *
26150
+ * @param {*} [options] Override http request option.
26151
+ * @throws {RequiredError}
26152
+ */
26153
+ apiV1ImagesPost(options?: any): AxiosPromise<Array<MediaModel>> {
26154
+ return localVarFp.apiV1ImagesPost(options).then((request) => request(axios, basePath));
26155
+ },
26156
+ };
26157
+ };
26158
+
26159
+ /**
26160
+ * ImagesApi - object-oriented interface
26161
+ * @export
26162
+ * @class ImagesApi
26163
+ * @extends {BaseAPI}
26164
+ */
26165
+ export class ImagesApi extends BaseAPI {
26166
+ /**
26167
+ *
26168
+ * @param {*} [options] Override http request option.
26169
+ * @throws {RequiredError}
26170
+ * @memberof ImagesApi
26171
+ */
26172
+ public apiV1ImagesPost(options?: AxiosRequestConfig) {
26173
+ return ImagesApiFp(this.configuration).apiV1ImagesPost(options).then((request) => request(this.axios, this.basePath));
26174
+ }
26175
+ }
26176
+
26177
+
26178
+ /**
26179
+ * ServicesApi - axios parameter creator
26180
+ * @export
26181
+ */
26182
+ export const ServicesApiAxiosParamCreator = function (configuration?: Configuration) {
26183
+ return {
26184
+ /**
26185
+ * Sample request: GET /api/v1/hospitals/services
26186
+ * @summary Get all services.
26187
+ * @param {string} [id]
26188
+ * @param {string} [name]
26189
+ * @param {string} [description]
26190
+ * @param {string} [hospitalId]
26191
+ * @param {string} [hospitalName]
26192
+ * @param {string} [hospitalSlug]
26193
+ * @param {string} [specialtyId]
26194
+ * @param {string} [specialtyTypeId]
26195
+ * @param {string} [specialtyTypeName]
26196
+ * @param {MarketingType} [marketingType]
26197
+ * @param {Procedure} [procedure]
26198
+ * @param {Date} [created]
26199
+ * @param {string} [languageCode]
26200
+ * @param {number} [page]
26201
+ * @param {number} [limit]
26202
+ * @param {Date} [lastRetrieved]
26203
+ * @param {*} [options] Override http request option.
26204
+ * @throws {RequiredError}
26205
+ */
26206
+ apiV1ServicesGet: async (id?: string, name?: string, description?: string, hospitalId?: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyTypeId?: string, specialtyTypeName?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
26207
+ const localVarPath = `/api/v1/services`;
26208
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26209
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26210
+ let baseOptions;
26211
+ if (configuration) {
26212
+ baseOptions = configuration.baseOptions;
26213
+ }
26214
+
26215
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
26216
+ const localVarHeaderParameter = {} as any;
26217
+ const localVarQueryParameter = {} as any;
26218
+
26219
+ // authentication oauth2 required
26220
+ // oauth required
26221
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
26222
+
26223
+ if (id !== undefined) {
26224
+ localVarQueryParameter['Id'] = id;
26225
+ }
26226
+
26227
+ if (name !== undefined) {
26228
+ localVarQueryParameter['Name'] = name;
26229
+ }
26230
+
26231
+ if (description !== undefined) {
26232
+ localVarQueryParameter['Description'] = description;
26233
+ }
26234
+
26235
+ if (hospitalId !== undefined) {
26236
+ localVarQueryParameter['HospitalId'] = hospitalId;
26237
+ }
25891
26238
 
25892
26239
  if (hospitalName !== undefined) {
25893
26240
  localVarQueryParameter['HospitalName'] = hospitalName;
@@ -26857,6 +27204,243 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
26857
27204
  options: localVarRequestOptions,
26858
27205
  };
26859
27206
  },
27207
+ /**
27208
+ *
27209
+ * @summary Get all SpecialtyMedias.
27210
+ * @param {string} specialtyId
27211
+ * @param {string} [id]
27212
+ * @param {MediaType} [mediaType]
27213
+ * @param {number} [page]
27214
+ * @param {number} [limit]
27215
+ * @param {Date} [lastRetrieved]
27216
+ * @param {*} [options] Override http request option.
27217
+ * @throws {RequiredError}
27218
+ */
27219
+ apiV1SpecialtiesSpecialtyIdMediasGet: async (specialtyId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
27220
+ // verify required parameter 'specialtyId' is not null or undefined
27221
+ assertParamExists('apiV1SpecialtiesSpecialtyIdMediasGet', 'specialtyId', specialtyId)
27222
+ const localVarPath = `/api/v1/specialties/{specialtyId}/medias`
27223
+ .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
27224
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
27225
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
27226
+ let baseOptions;
27227
+ if (configuration) {
27228
+ baseOptions = configuration.baseOptions;
27229
+ }
27230
+
27231
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
27232
+ const localVarHeaderParameter = {} as any;
27233
+ const localVarQueryParameter = {} as any;
27234
+
27235
+ // authentication oauth2 required
27236
+ // oauth required
27237
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
27238
+
27239
+ if (id !== undefined) {
27240
+ localVarQueryParameter['Id'] = id;
27241
+ }
27242
+
27243
+ if (mediaType !== undefined) {
27244
+ localVarQueryParameter['MediaType'] = mediaType;
27245
+ }
27246
+
27247
+ if (page !== undefined) {
27248
+ localVarQueryParameter['page'] = page;
27249
+ }
27250
+
27251
+ if (limit !== undefined) {
27252
+ localVarQueryParameter['limit'] = limit;
27253
+ }
27254
+
27255
+ if (lastRetrieved !== undefined) {
27256
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
27257
+ (lastRetrieved as any).toISOString() :
27258
+ lastRetrieved;
27259
+ }
27260
+
27261
+
27262
+
27263
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
27264
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
27265
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
27266
+
27267
+ return {
27268
+ url: toPathString(localVarUrlObj),
27269
+ options: localVarRequestOptions,
27270
+ };
27271
+ },
27272
+ /**
27273
+ *
27274
+ * @summary Delete SpecialtyMedia
27275
+ * @param {string} specialtyId
27276
+ * @param {string} mediaId
27277
+ * @param {*} [options] Override http request option.
27278
+ * @throws {RequiredError}
27279
+ */
27280
+ apiV1SpecialtiesSpecialtyIdMediasMediaIdDelete: async (specialtyId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
27281
+ // verify required parameter 'specialtyId' is not null or undefined
27282
+ assertParamExists('apiV1SpecialtiesSpecialtyIdMediasMediaIdDelete', 'specialtyId', specialtyId)
27283
+ // verify required parameter 'mediaId' is not null or undefined
27284
+ assertParamExists('apiV1SpecialtiesSpecialtyIdMediasMediaIdDelete', 'mediaId', mediaId)
27285
+ const localVarPath = `/api/v1/specialties/{specialtyId}/medias/{mediaId}`
27286
+ .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
27287
+ .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
27288
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
27289
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
27290
+ let baseOptions;
27291
+ if (configuration) {
27292
+ baseOptions = configuration.baseOptions;
27293
+ }
27294
+
27295
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
27296
+ const localVarHeaderParameter = {} as any;
27297
+ const localVarQueryParameter = {} as any;
27298
+
27299
+ // authentication oauth2 required
27300
+ // oauth required
27301
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
27302
+
27303
+
27304
+
27305
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
27306
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
27307
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
27308
+
27309
+ return {
27310
+ url: toPathString(localVarUrlObj),
27311
+ options: localVarRequestOptions,
27312
+ };
27313
+ },
27314
+ /**
27315
+ *
27316
+ * @summary Get SpecialtyMedia.
27317
+ * @param {string} specialtyId
27318
+ * @param {string} mediaId
27319
+ * @param {*} [options] Override http request option.
27320
+ * @throws {RequiredError}
27321
+ */
27322
+ apiV1SpecialtiesSpecialtyIdMediasMediaIdGet: async (specialtyId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
27323
+ // verify required parameter 'specialtyId' is not null or undefined
27324
+ assertParamExists('apiV1SpecialtiesSpecialtyIdMediasMediaIdGet', 'specialtyId', specialtyId)
27325
+ // verify required parameter 'mediaId' is not null or undefined
27326
+ assertParamExists('apiV1SpecialtiesSpecialtyIdMediasMediaIdGet', 'mediaId', mediaId)
27327
+ const localVarPath = `/api/v1/specialties/{specialtyId}/medias/{mediaId}`
27328
+ .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
27329
+ .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
27330
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
27331
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
27332
+ let baseOptions;
27333
+ if (configuration) {
27334
+ baseOptions = configuration.baseOptions;
27335
+ }
27336
+
27337
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
27338
+ const localVarHeaderParameter = {} as any;
27339
+ const localVarQueryParameter = {} as any;
27340
+
27341
+ // authentication oauth2 required
27342
+ // oauth required
27343
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
27344
+
27345
+
27346
+
27347
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
27348
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
27349
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
27350
+
27351
+ return {
27352
+ url: toPathString(localVarUrlObj),
27353
+ options: localVarRequestOptions,
27354
+ };
27355
+ },
27356
+ /**
27357
+ *
27358
+ * @summary Update SpecialtyMedia.
27359
+ * @param {string} specialtyId
27360
+ * @param {string} mediaId
27361
+ * @param {UpdateMediaCommand} [updateMediaCommand]
27362
+ * @param {*} [options] Override http request option.
27363
+ * @throws {RequiredError}
27364
+ */
27365
+ apiV1SpecialtiesSpecialtyIdMediasMediaIdPut: async (specialtyId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
27366
+ // verify required parameter 'specialtyId' is not null or undefined
27367
+ assertParamExists('apiV1SpecialtiesSpecialtyIdMediasMediaIdPut', 'specialtyId', specialtyId)
27368
+ // verify required parameter 'mediaId' is not null or undefined
27369
+ assertParamExists('apiV1SpecialtiesSpecialtyIdMediasMediaIdPut', 'mediaId', mediaId)
27370
+ const localVarPath = `/api/v1/specialties/{specialtyId}/medias/{mediaId}`
27371
+ .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
27372
+ .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
27373
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
27374
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
27375
+ let baseOptions;
27376
+ if (configuration) {
27377
+ baseOptions = configuration.baseOptions;
27378
+ }
27379
+
27380
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
27381
+ const localVarHeaderParameter = {} as any;
27382
+ const localVarQueryParameter = {} as any;
27383
+
27384
+ // authentication oauth2 required
27385
+ // oauth required
27386
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
27387
+
27388
+
27389
+
27390
+ localVarHeaderParameter['Content-Type'] = 'application/json';
27391
+
27392
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
27393
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
27394
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
27395
+ localVarRequestOptions.data = serializeDataIfNeeded(updateMediaCommand, localVarRequestOptions, configuration)
27396
+
27397
+ return {
27398
+ url: toPathString(localVarUrlObj),
27399
+ options: localVarRequestOptions,
27400
+ };
27401
+ },
27402
+ /**
27403
+ *
27404
+ * @summary Create SpecialtyMedia.
27405
+ * @param {string} specialtyId
27406
+ * @param {CreateMediaCommand} [createMediaCommand]
27407
+ * @param {*} [options] Override http request option.
27408
+ * @throws {RequiredError}
27409
+ */
27410
+ apiV1SpecialtiesSpecialtyIdMediasPost: async (specialtyId: string, createMediaCommand?: CreateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
27411
+ // verify required parameter 'specialtyId' is not null or undefined
27412
+ assertParamExists('apiV1SpecialtiesSpecialtyIdMediasPost', 'specialtyId', specialtyId)
27413
+ const localVarPath = `/api/v1/specialties/{specialtyId}/medias`
27414
+ .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
27415
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
27416
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
27417
+ let baseOptions;
27418
+ if (configuration) {
27419
+ baseOptions = configuration.baseOptions;
27420
+ }
27421
+
27422
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
27423
+ const localVarHeaderParameter = {} as any;
27424
+ const localVarQueryParameter = {} as any;
27425
+
27426
+ // authentication oauth2 required
27427
+ // oauth required
27428
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
27429
+
27430
+
27431
+
27432
+ localVarHeaderParameter['Content-Type'] = 'application/json';
27433
+
27434
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
27435
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
27436
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
27437
+ localVarRequestOptions.data = serializeDataIfNeeded(createMediaCommand, localVarRequestOptions, configuration)
27438
+
27439
+ return {
27440
+ url: toPathString(localVarUrlObj),
27441
+ options: localVarRequestOptions,
27442
+ };
27443
+ },
26860
27444
  /**
26861
27445
  *
26862
27446
  * @summary Update Specialty.
@@ -26976,6 +27560,71 @@ export const SpecialtiesApiFp = function(configuration?: Configuration) {
26976
27560
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesSpecialtyIdGet(specialtyId, languageCode, options);
26977
27561
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
26978
27562
  },
27563
+ /**
27564
+ *
27565
+ * @summary Get all SpecialtyMedias.
27566
+ * @param {string} specialtyId
27567
+ * @param {string} [id]
27568
+ * @param {MediaType} [mediaType]
27569
+ * @param {number} [page]
27570
+ * @param {number} [limit]
27571
+ * @param {Date} [lastRetrieved]
27572
+ * @param {*} [options] Override http request option.
27573
+ * @throws {RequiredError}
27574
+ */
27575
+ async apiV1SpecialtiesSpecialtyIdMediasGet(specialtyId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediasModel>> {
27576
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesSpecialtyIdMediasGet(specialtyId, id, mediaType, page, limit, lastRetrieved, options);
27577
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
27578
+ },
27579
+ /**
27580
+ *
27581
+ * @summary Delete SpecialtyMedia
27582
+ * @param {string} specialtyId
27583
+ * @param {string} mediaId
27584
+ * @param {*} [options] Override http request option.
27585
+ * @throws {RequiredError}
27586
+ */
27587
+ async apiV1SpecialtiesSpecialtyIdMediasMediaIdDelete(specialtyId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
27588
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesSpecialtyIdMediasMediaIdDelete(specialtyId, mediaId, options);
27589
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
27590
+ },
27591
+ /**
27592
+ *
27593
+ * @summary Get SpecialtyMedia.
27594
+ * @param {string} specialtyId
27595
+ * @param {string} mediaId
27596
+ * @param {*} [options] Override http request option.
27597
+ * @throws {RequiredError}
27598
+ */
27599
+ async apiV1SpecialtiesSpecialtyIdMediasMediaIdGet(specialtyId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
27600
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesSpecialtyIdMediasMediaIdGet(specialtyId, mediaId, options);
27601
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
27602
+ },
27603
+ /**
27604
+ *
27605
+ * @summary Update SpecialtyMedia.
27606
+ * @param {string} specialtyId
27607
+ * @param {string} mediaId
27608
+ * @param {UpdateMediaCommand} [updateMediaCommand]
27609
+ * @param {*} [options] Override http request option.
27610
+ * @throws {RequiredError}
27611
+ */
27612
+ async apiV1SpecialtiesSpecialtyIdMediasMediaIdPut(specialtyId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
27613
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesSpecialtyIdMediasMediaIdPut(specialtyId, mediaId, updateMediaCommand, options);
27614
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
27615
+ },
27616
+ /**
27617
+ *
27618
+ * @summary Create SpecialtyMedia.
27619
+ * @param {string} specialtyId
27620
+ * @param {CreateMediaCommand} [createMediaCommand]
27621
+ * @param {*} [options] Override http request option.
27622
+ * @throws {RequiredError}
27623
+ */
27624
+ async apiV1SpecialtiesSpecialtyIdMediasPost(specialtyId: string, createMediaCommand?: CreateMediaCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
27625
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesSpecialtyIdMediasPost(specialtyId, createMediaCommand, options);
27626
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
27627
+ },
26979
27628
  /**
26980
27629
  *
26981
27630
  * @summary Update Specialty.
@@ -27060,6 +27709,66 @@ export const SpecialtiesApiFactory = function (configuration?: Configuration, ba
27060
27709
  apiV1SpecialtiesSpecialtyIdGet(specialtyId: string, languageCode?: string, options?: any): AxiosPromise<SpecialtyModel> {
27061
27710
  return localVarFp.apiV1SpecialtiesSpecialtyIdGet(specialtyId, languageCode, options).then((request) => request(axios, basePath));
27062
27711
  },
27712
+ /**
27713
+ *
27714
+ * @summary Get all SpecialtyMedias.
27715
+ * @param {string} specialtyId
27716
+ * @param {string} [id]
27717
+ * @param {MediaType} [mediaType]
27718
+ * @param {number} [page]
27719
+ * @param {number} [limit]
27720
+ * @param {Date} [lastRetrieved]
27721
+ * @param {*} [options] Override http request option.
27722
+ * @throws {RequiredError}
27723
+ */
27724
+ apiV1SpecialtiesSpecialtyIdMediasGet(specialtyId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<MediasModel> {
27725
+ return localVarFp.apiV1SpecialtiesSpecialtyIdMediasGet(specialtyId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
27726
+ },
27727
+ /**
27728
+ *
27729
+ * @summary Delete SpecialtyMedia
27730
+ * @param {string} specialtyId
27731
+ * @param {string} mediaId
27732
+ * @param {*} [options] Override http request option.
27733
+ * @throws {RequiredError}
27734
+ */
27735
+ apiV1SpecialtiesSpecialtyIdMediasMediaIdDelete(specialtyId: string, mediaId: string, options?: any): AxiosPromise<boolean> {
27736
+ return localVarFp.apiV1SpecialtiesSpecialtyIdMediasMediaIdDelete(specialtyId, mediaId, options).then((request) => request(axios, basePath));
27737
+ },
27738
+ /**
27739
+ *
27740
+ * @summary Get SpecialtyMedia.
27741
+ * @param {string} specialtyId
27742
+ * @param {string} mediaId
27743
+ * @param {*} [options] Override http request option.
27744
+ * @throws {RequiredError}
27745
+ */
27746
+ apiV1SpecialtiesSpecialtyIdMediasMediaIdGet(specialtyId: string, mediaId: string, options?: any): AxiosPromise<MediaModel> {
27747
+ return localVarFp.apiV1SpecialtiesSpecialtyIdMediasMediaIdGet(specialtyId, mediaId, options).then((request) => request(axios, basePath));
27748
+ },
27749
+ /**
27750
+ *
27751
+ * @summary Update SpecialtyMedia.
27752
+ * @param {string} specialtyId
27753
+ * @param {string} mediaId
27754
+ * @param {UpdateMediaCommand} [updateMediaCommand]
27755
+ * @param {*} [options] Override http request option.
27756
+ * @throws {RequiredError}
27757
+ */
27758
+ apiV1SpecialtiesSpecialtyIdMediasMediaIdPut(specialtyId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: any): AxiosPromise<MediaModel> {
27759
+ return localVarFp.apiV1SpecialtiesSpecialtyIdMediasMediaIdPut(specialtyId, mediaId, updateMediaCommand, options).then((request) => request(axios, basePath));
27760
+ },
27761
+ /**
27762
+ *
27763
+ * @summary Create SpecialtyMedia.
27764
+ * @param {string} specialtyId
27765
+ * @param {CreateMediaCommand} [createMediaCommand]
27766
+ * @param {*} [options] Override http request option.
27767
+ * @throws {RequiredError}
27768
+ */
27769
+ apiV1SpecialtiesSpecialtyIdMediasPost(specialtyId: string, createMediaCommand?: CreateMediaCommand, options?: any): AxiosPromise<MediaModel> {
27770
+ return localVarFp.apiV1SpecialtiesSpecialtyIdMediasPost(specialtyId, createMediaCommand, options).then((request) => request(axios, basePath));
27771
+ },
27063
27772
  /**
27064
27773
  *
27065
27774
  * @summary Update Specialty.
@@ -27153,6 +27862,76 @@ export class SpecialtiesApi extends BaseAPI {
27153
27862
  return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSpecialtyIdGet(specialtyId, languageCode, options).then((request) => request(this.axios, this.basePath));
27154
27863
  }
27155
27864
 
27865
+ /**
27866
+ *
27867
+ * @summary Get all SpecialtyMedias.
27868
+ * @param {string} specialtyId
27869
+ * @param {string} [id]
27870
+ * @param {MediaType} [mediaType]
27871
+ * @param {number} [page]
27872
+ * @param {number} [limit]
27873
+ * @param {Date} [lastRetrieved]
27874
+ * @param {*} [options] Override http request option.
27875
+ * @throws {RequiredError}
27876
+ * @memberof SpecialtiesApi
27877
+ */
27878
+ public apiV1SpecialtiesSpecialtyIdMediasGet(specialtyId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
27879
+ return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSpecialtyIdMediasGet(specialtyId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
27880
+ }
27881
+
27882
+ /**
27883
+ *
27884
+ * @summary Delete SpecialtyMedia
27885
+ * @param {string} specialtyId
27886
+ * @param {string} mediaId
27887
+ * @param {*} [options] Override http request option.
27888
+ * @throws {RequiredError}
27889
+ * @memberof SpecialtiesApi
27890
+ */
27891
+ public apiV1SpecialtiesSpecialtyIdMediasMediaIdDelete(specialtyId: string, mediaId: string, options?: AxiosRequestConfig) {
27892
+ return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSpecialtyIdMediasMediaIdDelete(specialtyId, mediaId, options).then((request) => request(this.axios, this.basePath));
27893
+ }
27894
+
27895
+ /**
27896
+ *
27897
+ * @summary Get SpecialtyMedia.
27898
+ * @param {string} specialtyId
27899
+ * @param {string} mediaId
27900
+ * @param {*} [options] Override http request option.
27901
+ * @throws {RequiredError}
27902
+ * @memberof SpecialtiesApi
27903
+ */
27904
+ public apiV1SpecialtiesSpecialtyIdMediasMediaIdGet(specialtyId: string, mediaId: string, options?: AxiosRequestConfig) {
27905
+ return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSpecialtyIdMediasMediaIdGet(specialtyId, mediaId, options).then((request) => request(this.axios, this.basePath));
27906
+ }
27907
+
27908
+ /**
27909
+ *
27910
+ * @summary Update SpecialtyMedia.
27911
+ * @param {string} specialtyId
27912
+ * @param {string} mediaId
27913
+ * @param {UpdateMediaCommand} [updateMediaCommand]
27914
+ * @param {*} [options] Override http request option.
27915
+ * @throws {RequiredError}
27916
+ * @memberof SpecialtiesApi
27917
+ */
27918
+ public apiV1SpecialtiesSpecialtyIdMediasMediaIdPut(specialtyId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: AxiosRequestConfig) {
27919
+ return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSpecialtyIdMediasMediaIdPut(specialtyId, mediaId, updateMediaCommand, options).then((request) => request(this.axios, this.basePath));
27920
+ }
27921
+
27922
+ /**
27923
+ *
27924
+ * @summary Create SpecialtyMedia.
27925
+ * @param {string} specialtyId
27926
+ * @param {CreateMediaCommand} [createMediaCommand]
27927
+ * @param {*} [options] Override http request option.
27928
+ * @throws {RequiredError}
27929
+ * @memberof SpecialtiesApi
27930
+ */
27931
+ public apiV1SpecialtiesSpecialtyIdMediasPost(specialtyId: string, createMediaCommand?: CreateMediaCommand, options?: AxiosRequestConfig) {
27932
+ return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSpecialtyIdMediasPost(specialtyId, createMediaCommand, options).then((request) => request(this.axios, this.basePath));
27933
+ }
27934
+
27156
27935
  /**
27157
27936
  *
27158
27937
  * @summary Update Specialty.