ch-admin-api-client-typescript 4.3.4 → 4.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/api.ts CHANGED
@@ -25643,6 +25643,44 @@ export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?:
25643
25643
  options: localVarRequestOptions,
25644
25644
  };
25645
25645
  },
25646
+ /**
25647
+ *
25648
+ * @summary Reactivate doctor affiliation.
25649
+ * @param {string} id
25650
+ * @param {*} [options] Override http request option.
25651
+ * @throws {RequiredError}
25652
+ */
25653
+ apiV1DoctoraffiliationsIdReactivePut: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
25654
+ // verify required parameter 'id' is not null or undefined
25655
+ assertParamExists('apiV1DoctoraffiliationsIdReactivePut', 'id', id)
25656
+ const localVarPath = `/api/v1/doctoraffiliations/{id}/reactive`
25657
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
25658
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
25659
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
25660
+ let baseOptions;
25661
+ if (configuration) {
25662
+ baseOptions = configuration.baseOptions;
25663
+ }
25664
+
25665
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
25666
+ const localVarHeaderParameter = {} as any;
25667
+ const localVarQueryParameter = {} as any;
25668
+
25669
+ // authentication oauth2 required
25670
+ // oauth required
25671
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
25672
+
25673
+
25674
+
25675
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
25676
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
25677
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
25678
+
25679
+ return {
25680
+ url: toPathString(localVarUrlObj),
25681
+ options: localVarRequestOptions,
25682
+ };
25683
+ },
25646
25684
  /**
25647
25685
  *
25648
25686
  * @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
@@ -25813,6 +25851,17 @@ export const DoctorAffiliationsApiFp = function(configuration?: Configuration) {
25813
25851
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsIdPut(id, updateDoctorAffiliationCommand, options);
25814
25852
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
25815
25853
  },
25854
+ /**
25855
+ *
25856
+ * @summary Reactivate doctor affiliation.
25857
+ * @param {string} id
25858
+ * @param {*} [options] Override http request option.
25859
+ * @throws {RequiredError}
25860
+ */
25861
+ async apiV1DoctoraffiliationsIdReactivePut(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
25862
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsIdReactivePut(id, options);
25863
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
25864
+ },
25816
25865
  /**
25817
25866
  *
25818
25867
  * @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
@@ -25947,6 +25996,16 @@ export const DoctorAffiliationsApiFactory = function (configuration?: Configurat
25947
25996
  apiV1DoctoraffiliationsIdPut(id: string, updateDoctorAffiliationCommand?: UpdateDoctorAffiliationCommand, options?: any): AxiosPromise<DoctorAffiliationModel> {
25948
25997
  return localVarFp.apiV1DoctoraffiliationsIdPut(id, updateDoctorAffiliationCommand, options).then((request) => request(axios, basePath));
25949
25998
  },
25999
+ /**
26000
+ *
26001
+ * @summary Reactivate doctor affiliation.
26002
+ * @param {string} id
26003
+ * @param {*} [options] Override http request option.
26004
+ * @throws {RequiredError}
26005
+ */
26006
+ apiV1DoctoraffiliationsIdReactivePut(id: string, options?: any): AxiosPromise<boolean> {
26007
+ return localVarFp.apiV1DoctoraffiliationsIdReactivePut(id, options).then((request) => request(axios, basePath));
26008
+ },
25950
26009
  /**
25951
26010
  *
25952
26011
  * @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
@@ -26098,6 +26157,18 @@ export class DoctorAffiliationsApi extends BaseAPI {
26098
26157
  return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsIdPut(id, updateDoctorAffiliationCommand, options).then((request) => request(this.axios, this.basePath));
26099
26158
  }
26100
26159
 
26160
+ /**
26161
+ *
26162
+ * @summary Reactivate doctor affiliation.
26163
+ * @param {string} id
26164
+ * @param {*} [options] Override http request option.
26165
+ * @throws {RequiredError}
26166
+ * @memberof DoctorAffiliationsApi
26167
+ */
26168
+ public apiV1DoctoraffiliationsIdReactivePut(id: string, options?: AxiosRequestConfig) {
26169
+ return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsIdReactivePut(id, options).then((request) => request(this.axios, this.basePath));
26170
+ }
26171
+
26101
26172
  /**
26102
26173
  *
26103
26174
  * @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
@@ -27455,6 +27526,44 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
27455
27526
  options: localVarRequestOptions,
27456
27527
  };
27457
27528
  },
27529
+ /**
27530
+ *
27531
+ * @summary Delete Doctor.
27532
+ * @param {string} doctorId
27533
+ * @param {*} [options] Override http request option.
27534
+ * @throws {RequiredError}
27535
+ */
27536
+ apiV1DoctorsDoctorIdReactivePut: async (doctorId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
27537
+ // verify required parameter 'doctorId' is not null or undefined
27538
+ assertParamExists('apiV1DoctorsDoctorIdReactivePut', 'doctorId', doctorId)
27539
+ const localVarPath = `/api/v1/doctors/{doctorId}/reactive`
27540
+ .replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)));
27541
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
27542
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
27543
+ let baseOptions;
27544
+ if (configuration) {
27545
+ baseOptions = configuration.baseOptions;
27546
+ }
27547
+
27548
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
27549
+ const localVarHeaderParameter = {} as any;
27550
+ const localVarQueryParameter = {} as any;
27551
+
27552
+ // authentication oauth2 required
27553
+ // oauth required
27554
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
27555
+
27556
+
27557
+
27558
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
27559
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
27560
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
27561
+
27562
+ return {
27563
+ url: toPathString(localVarUrlObj),
27564
+ options: localVarRequestOptions,
27565
+ };
27566
+ },
27458
27567
  /**
27459
27568
  *
27460
27569
  * @summary Get All DoctorSpecialties.
@@ -28344,6 +28453,17 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
28344
28453
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdPut(doctorId, updateDoctorCommand, options);
28345
28454
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
28346
28455
  },
28456
+ /**
28457
+ *
28458
+ * @summary Delete Doctor.
28459
+ * @param {string} doctorId
28460
+ * @param {*} [options] Override http request option.
28461
+ * @throws {RequiredError}
28462
+ */
28463
+ async apiV1DoctorsDoctorIdReactivePut(doctorId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
28464
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdReactivePut(doctorId, options);
28465
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
28466
+ },
28347
28467
  /**
28348
28468
  *
28349
28469
  * @summary Get All DoctorSpecialties.
@@ -28818,6 +28938,16 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
28818
28938
  apiV1DoctorsDoctorIdPut(doctorId: string, updateDoctorCommand?: UpdateDoctorCommand, options?: any): AxiosPromise<DoctorModel> {
28819
28939
  return localVarFp.apiV1DoctorsDoctorIdPut(doctorId, updateDoctorCommand, options).then((request) => request(axios, basePath));
28820
28940
  },
28941
+ /**
28942
+ *
28943
+ * @summary Delete Doctor.
28944
+ * @param {string} doctorId
28945
+ * @param {*} [options] Override http request option.
28946
+ * @throws {RequiredError}
28947
+ */
28948
+ apiV1DoctorsDoctorIdReactivePut(doctorId: string, options?: any): AxiosPromise<boolean> {
28949
+ return localVarFp.apiV1DoctorsDoctorIdReactivePut(doctorId, options).then((request) => request(axios, basePath));
28950
+ },
28821
28951
  /**
28822
28952
  *
28823
28953
  * @summary Get All DoctorSpecialties.
@@ -29340,6 +29470,18 @@ export class DoctorsApi extends BaseAPI {
29340
29470
  return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdPut(doctorId, updateDoctorCommand, options).then((request) => request(this.axios, this.basePath));
29341
29471
  }
29342
29472
 
29473
+ /**
29474
+ *
29475
+ * @summary Delete Doctor.
29476
+ * @param {string} doctorId
29477
+ * @param {*} [options] Override http request option.
29478
+ * @throws {RequiredError}
29479
+ * @memberof DoctorsApi
29480
+ */
29481
+ public apiV1DoctorsDoctorIdReactivePut(doctorId: string, options?: AxiosRequestConfig) {
29482
+ return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdReactivePut(doctorId, options).then((request) => request(this.axios, this.basePath));
29483
+ }
29484
+
29343
29485
  /**
29344
29486
  *
29345
29487
  * @summary Get All DoctorSpecialties.
@@ -35076,6 +35218,52 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
35076
35218
  options: localVarRequestOptions,
35077
35219
  };
35078
35220
  },
35221
+ /**
35222
+ *
35223
+ * @summary Reactivate Hospital Service
35224
+ * @param {string} hospitalId
35225
+ * @param {string} specialtyId
35226
+ * @param {string} serviceId
35227
+ * @param {*} [options] Override http request option.
35228
+ * @throws {RequiredError}
35229
+ */
35230
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivePut: async (hospitalId: string, specialtyId: string, serviceId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
35231
+ // verify required parameter 'hospitalId' is not null or undefined
35232
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivePut', 'hospitalId', hospitalId)
35233
+ // verify required parameter 'specialtyId' is not null or undefined
35234
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivePut', 'specialtyId', specialtyId)
35235
+ // verify required parameter 'serviceId' is not null or undefined
35236
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivePut', 'serviceId', serviceId)
35237
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/reactive`
35238
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
35239
+ .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
35240
+ .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
35241
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35242
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35243
+ let baseOptions;
35244
+ if (configuration) {
35245
+ baseOptions = configuration.baseOptions;
35246
+ }
35247
+
35248
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
35249
+ const localVarHeaderParameter = {} as any;
35250
+ const localVarQueryParameter = {} as any;
35251
+
35252
+ // authentication oauth2 required
35253
+ // oauth required
35254
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
35255
+
35256
+
35257
+
35258
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
35259
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35260
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
35261
+
35262
+ return {
35263
+ url: toPathString(localVarUrlObj),
35264
+ options: localVarRequestOptions,
35265
+ };
35266
+ },
35079
35267
  /**
35080
35268
  *
35081
35269
  * @summary Get all HospitalWorkingDays.
@@ -36413,6 +36601,19 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
36413
36601
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options);
36414
36602
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36415
36603
  },
36604
+ /**
36605
+ *
36606
+ * @summary Reactivate Hospital Service
36607
+ * @param {string} hospitalId
36608
+ * @param {string} specialtyId
36609
+ * @param {string} serviceId
36610
+ * @param {*} [options] Override http request option.
36611
+ * @throws {RequiredError}
36612
+ */
36613
+ async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivePut(hospitalId: string, specialtyId: string, serviceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
36614
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivePut(hospitalId, specialtyId, serviceId, options);
36615
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36616
+ },
36416
36617
  /**
36417
36618
  *
36418
36619
  * @summary Get all HospitalWorkingDays.
@@ -37326,6 +37527,18 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
37326
37527
  apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId: string, specialtyId: string, serviceId: string, updateHospitalServiceCommand?: UpdateHospitalServiceCommand, options?: any): AxiosPromise<HospitalServiceModel> {
37327
37528
  return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options).then((request) => request(axios, basePath));
37328
37529
  },
37530
+ /**
37531
+ *
37532
+ * @summary Reactivate Hospital Service
37533
+ * @param {string} hospitalId
37534
+ * @param {string} specialtyId
37535
+ * @param {string} serviceId
37536
+ * @param {*} [options] Override http request option.
37537
+ * @throws {RequiredError}
37538
+ */
37539
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivePut(hospitalId: string, specialtyId: string, serviceId: string, options?: any): AxiosPromise<boolean> {
37540
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivePut(hospitalId, specialtyId, serviceId, options).then((request) => request(axios, basePath));
37541
+ },
37329
37542
  /**
37330
37543
  *
37331
37544
  * @summary Get all HospitalWorkingDays.
@@ -38348,6 +38561,20 @@ export class HospitalsApi extends BaseAPI {
38348
38561
  return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options).then((request) => request(this.axios, this.basePath));
38349
38562
  }
38350
38563
 
38564
+ /**
38565
+ *
38566
+ * @summary Reactivate Hospital Service
38567
+ * @param {string} hospitalId
38568
+ * @param {string} specialtyId
38569
+ * @param {string} serviceId
38570
+ * @param {*} [options] Override http request option.
38571
+ * @throws {RequiredError}
38572
+ * @memberof HospitalsApi
38573
+ */
38574
+ public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivePut(hospitalId: string, specialtyId: string, serviceId: string, options?: AxiosRequestConfig) {
38575
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivePut(hospitalId, specialtyId, serviceId, options).then((request) => request(this.axios, this.basePath));
38576
+ }
38577
+
38351
38578
  /**
38352
38579
  *
38353
38580
  * @summary Get all HospitalWorkingDays.
@@ -44741,6 +44968,44 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
44741
44968
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
44742
44969
  localVarRequestOptions.data = serializeDataIfNeeded(updateSpecialtyCommand, localVarRequestOptions, configuration)
44743
44970
 
44971
+ return {
44972
+ url: toPathString(localVarUrlObj),
44973
+ options: localVarRequestOptions,
44974
+ };
44975
+ },
44976
+ /**
44977
+ *
44978
+ * @summary Reactivate Specialty.
44979
+ * @param {string} specialtyId
44980
+ * @param {*} [options] Override http request option.
44981
+ * @throws {RequiredError}
44982
+ */
44983
+ apiV1SpecialtiesSpecialtyIdReactivePut: async (specialtyId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
44984
+ // verify required parameter 'specialtyId' is not null or undefined
44985
+ assertParamExists('apiV1SpecialtiesSpecialtyIdReactivePut', 'specialtyId', specialtyId)
44986
+ const localVarPath = `/api/v1/specialties/{specialtyId}/reactive`
44987
+ .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
44988
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
44989
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
44990
+ let baseOptions;
44991
+ if (configuration) {
44992
+ baseOptions = configuration.baseOptions;
44993
+ }
44994
+
44995
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
44996
+ const localVarHeaderParameter = {} as any;
44997
+ const localVarQueryParameter = {} as any;
44998
+
44999
+ // authentication oauth2 required
45000
+ // oauth required
45001
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
45002
+
45003
+
45004
+
45005
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
45006
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
45007
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
45008
+
44744
45009
  return {
44745
45010
  url: toPathString(localVarUrlObj),
44746
45011
  options: localVarRequestOptions,
@@ -44928,6 +45193,17 @@ export const SpecialtiesApiFp = function(configuration?: Configuration) {
44928
45193
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesSpecialtyIdPut(specialtyId, updateSpecialtyCommand, options);
44929
45194
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
44930
45195
  },
45196
+ /**
45197
+ *
45198
+ * @summary Reactivate Specialty.
45199
+ * @param {string} specialtyId
45200
+ * @param {*} [options] Override http request option.
45201
+ * @throws {RequiredError}
45202
+ */
45203
+ async apiV1SpecialtiesSpecialtyIdReactivePut(specialtyId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
45204
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesSpecialtyIdReactivePut(specialtyId, options);
45205
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
45206
+ },
44931
45207
  }
44932
45208
  };
44933
45209
 
@@ -45098,6 +45374,16 @@ export const SpecialtiesApiFactory = function (configuration?: Configuration, ba
45098
45374
  apiV1SpecialtiesSpecialtyIdPut(specialtyId: string, updateSpecialtyCommand?: UpdateSpecialtyCommand, options?: any): AxiosPromise<SpecialtyModel> {
45099
45375
  return localVarFp.apiV1SpecialtiesSpecialtyIdPut(specialtyId, updateSpecialtyCommand, options).then((request) => request(axios, basePath));
45100
45376
  },
45377
+ /**
45378
+ *
45379
+ * @summary Reactivate Specialty.
45380
+ * @param {string} specialtyId
45381
+ * @param {*} [options] Override http request option.
45382
+ * @throws {RequiredError}
45383
+ */
45384
+ apiV1SpecialtiesSpecialtyIdReactivePut(specialtyId: string, options?: any): AxiosPromise<boolean> {
45385
+ return localVarFp.apiV1SpecialtiesSpecialtyIdReactivePut(specialtyId, options).then((request) => request(axios, basePath));
45386
+ },
45101
45387
  };
45102
45388
  };
45103
45389
 
@@ -45291,6 +45577,18 @@ export class SpecialtiesApi extends BaseAPI {
45291
45577
  public apiV1SpecialtiesSpecialtyIdPut(specialtyId: string, updateSpecialtyCommand?: UpdateSpecialtyCommand, options?: AxiosRequestConfig) {
45292
45578
  return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSpecialtyIdPut(specialtyId, updateSpecialtyCommand, options).then((request) => request(this.axios, this.basePath));
45293
45579
  }
45580
+
45581
+ /**
45582
+ *
45583
+ * @summary Reactivate Specialty.
45584
+ * @param {string} specialtyId
45585
+ * @param {*} [options] Override http request option.
45586
+ * @throws {RequiredError}
45587
+ * @memberof SpecialtiesApi
45588
+ */
45589
+ public apiV1SpecialtiesSpecialtyIdReactivePut(specialtyId: string, options?: AxiosRequestConfig) {
45590
+ return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSpecialtyIdReactivePut(specialtyId, options).then((request) => request(this.axios, this.basePath));
45591
+ }
45294
45592
  }
45295
45593
 
45296
45594
 
@@ -45960,6 +46258,44 @@ export const SpecialtyTypesApiAxiosParamCreator = function (configuration?: Conf
45960
46258
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
45961
46259
  localVarRequestOptions.data = serializeDataIfNeeded(updateSpecialtyTypeCommand, localVarRequestOptions, configuration)
45962
46260
 
46261
+ return {
46262
+ url: toPathString(localVarUrlObj),
46263
+ options: localVarRequestOptions,
46264
+ };
46265
+ },
46266
+ /**
46267
+ *
46268
+ * @summary Reactivate Department (SpecialtyType).
46269
+ * @param {string} specialtyTypeId
46270
+ * @param {*} [options] Override http request option.
46271
+ * @throws {RequiredError}
46272
+ */
46273
+ apiV1SpecialtytypesSpecialtyTypeIdReactivePut: async (specialtyTypeId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
46274
+ // verify required parameter 'specialtyTypeId' is not null or undefined
46275
+ assertParamExists('apiV1SpecialtytypesSpecialtyTypeIdReactivePut', 'specialtyTypeId', specialtyTypeId)
46276
+ const localVarPath = `/api/v1/specialtytypes/{specialtyTypeId}/reactive`
46277
+ .replace(`{${"specialtyTypeId"}}`, encodeURIComponent(String(specialtyTypeId)));
46278
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
46279
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
46280
+ let baseOptions;
46281
+ if (configuration) {
46282
+ baseOptions = configuration.baseOptions;
46283
+ }
46284
+
46285
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
46286
+ const localVarHeaderParameter = {} as any;
46287
+ const localVarQueryParameter = {} as any;
46288
+
46289
+ // authentication oauth2 required
46290
+ // oauth required
46291
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
46292
+
46293
+
46294
+
46295
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
46296
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
46297
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
46298
+
45963
46299
  return {
45964
46300
  url: toPathString(localVarUrlObj),
45965
46301
  options: localVarRequestOptions,
@@ -46146,6 +46482,17 @@ export const SpecialtyTypesApiFp = function(configuration?: Configuration) {
46146
46482
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtytypesSpecialtyTypeIdPut(specialtyTypeId, updateSpecialtyTypeCommand, options);
46147
46483
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
46148
46484
  },
46485
+ /**
46486
+ *
46487
+ * @summary Reactivate Department (SpecialtyType).
46488
+ * @param {string} specialtyTypeId
46489
+ * @param {*} [options] Override http request option.
46490
+ * @throws {RequiredError}
46491
+ */
46492
+ async apiV1SpecialtytypesSpecialtyTypeIdReactivePut(specialtyTypeId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
46493
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtytypesSpecialtyTypeIdReactivePut(specialtyTypeId, options);
46494
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
46495
+ },
46149
46496
  }
46150
46497
  };
46151
46498
 
@@ -46315,6 +46662,16 @@ export const SpecialtyTypesApiFactory = function (configuration?: Configuration,
46315
46662
  apiV1SpecialtytypesSpecialtyTypeIdPut(specialtyTypeId: string, updateSpecialtyTypeCommand?: UpdateSpecialtyTypeCommand, options?: any): AxiosPromise<SpecialtyTypeModel> {
46316
46663
  return localVarFp.apiV1SpecialtytypesSpecialtyTypeIdPut(specialtyTypeId, updateSpecialtyTypeCommand, options).then((request) => request(axios, basePath));
46317
46664
  },
46665
+ /**
46666
+ *
46667
+ * @summary Reactivate Department (SpecialtyType).
46668
+ * @param {string} specialtyTypeId
46669
+ * @param {*} [options] Override http request option.
46670
+ * @throws {RequiredError}
46671
+ */
46672
+ apiV1SpecialtytypesSpecialtyTypeIdReactivePut(specialtyTypeId: string, options?: any): AxiosPromise<boolean> {
46673
+ return localVarFp.apiV1SpecialtytypesSpecialtyTypeIdReactivePut(specialtyTypeId, options).then((request) => request(axios, basePath));
46674
+ },
46318
46675
  };
46319
46676
  };
46320
46677
 
@@ -46507,6 +46864,18 @@ export class SpecialtyTypesApi extends BaseAPI {
46507
46864
  public apiV1SpecialtytypesSpecialtyTypeIdPut(specialtyTypeId: string, updateSpecialtyTypeCommand?: UpdateSpecialtyTypeCommand, options?: AxiosRequestConfig) {
46508
46865
  return SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSpecialtyTypeIdPut(specialtyTypeId, updateSpecialtyTypeCommand, options).then((request) => request(this.axios, this.basePath));
46509
46866
  }
46867
+
46868
+ /**
46869
+ *
46870
+ * @summary Reactivate Department (SpecialtyType).
46871
+ * @param {string} specialtyTypeId
46872
+ * @param {*} [options] Override http request option.
46873
+ * @throws {RequiredError}
46874
+ * @memberof SpecialtyTypesApi
46875
+ */
46876
+ public apiV1SpecialtytypesSpecialtyTypeIdReactivePut(specialtyTypeId: string, options?: AxiosRequestConfig) {
46877
+ return SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSpecialtyTypeIdReactivePut(specialtyTypeId, options).then((request) => request(this.axios, this.basePath));
46878
+ }
46510
46879
  }
46511
46880
 
46512
46881