ch-admin-api-client-typescript 5.1.5 → 5.1.7

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.
Files changed (55) hide show
  1. package/lib/api/articles-api.d.ts +55 -0
  2. package/lib/api/articles-api.d.ts.map +1 -1
  3. package/lib/api/articles-api.js +91 -0
  4. package/lib/api/contributors-api.d.ts +55 -0
  5. package/lib/api/contributors-api.d.ts.map +1 -1
  6. package/lib/api/contributors-api.js +91 -0
  7. package/lib/api/countries-api.d.ts +59 -4
  8. package/lib/api/countries-api.d.ts.map +1 -1
  9. package/lib/api/countries-api.js +95 -4
  10. package/lib/api/deals-api.d.ts +55 -0
  11. package/lib/api/deals-api.d.ts.map +1 -1
  12. package/lib/api/deals-api.js +91 -0
  13. package/lib/api/doctor-affiliations-api.d.ts +55 -0
  14. package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
  15. package/lib/api/doctor-affiliations-api.js +91 -0
  16. package/lib/api/doctors-api.d.ts +55 -0
  17. package/lib/api/doctors-api.d.ts.map +1 -1
  18. package/lib/api/doctors-api.js +91 -0
  19. package/lib/api/faq-categories-api.d.ts +55 -0
  20. package/lib/api/faq-categories-api.d.ts.map +1 -1
  21. package/lib/api/faq-categories-api.js +91 -0
  22. package/lib/api/faqs-api.d.ts +55 -0
  23. package/lib/api/faqs-api.d.ts.map +1 -1
  24. package/lib/api/faqs-api.js +91 -0
  25. package/lib/api/hospitals-api.d.ts +256 -0
  26. package/lib/api/hospitals-api.d.ts.map +1 -1
  27. package/lib/api/hospitals-api.js +388 -0
  28. package/lib/api/specialties-api.d.ts +55 -0
  29. package/lib/api/specialties-api.d.ts.map +1 -1
  30. package/lib/api/specialties-api.js +91 -0
  31. package/lib/api/specialty-types-api.d.ts +55 -0
  32. package/lib/api/specialty-types-api.d.ts.map +1 -1
  33. package/lib/api/specialty-types-api.js +91 -0
  34. package/lib/models/survey-form-element-input-model.d.ts +6 -0
  35. package/lib/models/survey-form-element-input-model.d.ts.map +1 -1
  36. package/lib/models/survey-form-element-model.d.ts +6 -0
  37. package/lib/models/survey-form-element-model.d.ts.map +1 -1
  38. package/lib/models/survey-form-element-types.d.ts +2 -0
  39. package/lib/models/survey-form-element-types.d.ts.map +1 -1
  40. package/lib/models/survey-form-element-types.js +3 -1
  41. package/package.json +1 -1
  42. package/src/api/articles-api.ts +99 -0
  43. package/src/api/contributors-api.ts +99 -0
  44. package/src/api/countries-api.ts +103 -4
  45. package/src/api/deals-api.ts +99 -0
  46. package/src/api/doctor-affiliations-api.ts +99 -0
  47. package/src/api/doctors-api.ts +99 -0
  48. package/src/api/faq-categories-api.ts +99 -0
  49. package/src/api/faqs-api.ts +99 -0
  50. package/src/api/hospitals-api.ts +448 -0
  51. package/src/api/specialties-api.ts +99 -0
  52. package/src/api/specialty-types-api.ts +99 -0
  53. package/src/models/survey-form-element-input-model.ts +6 -0
  54. package/src/models/survey-form-element-model.ts +6 -0
  55. package/src/models/survey-form-element-types.ts +3 -1
@@ -2023,6 +2023,53 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
2023
2023
 
2024
2024
 
2025
2025
 
2026
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2027
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2028
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2029
+
2030
+ return {
2031
+ url: toPathString(localVarUrlObj),
2032
+ options: localVarRequestOptions,
2033
+ };
2034
+ },
2035
+ /**
2036
+ *
2037
+ * @summary Revalidate landing
2038
+ * @param {string} hospitalId
2039
+ * @param {string} landingId
2040
+ * @param {boolean} [includeCurrent]
2041
+ * @param {*} [options] Override http request option.
2042
+ * @throws {RequiredError}
2043
+ */
2044
+ apiV1HospitalsHospitalIdLandingsLandingIdRevalidatePost: async (hospitalId: string, landingId: string, includeCurrent?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2045
+ // verify required parameter 'hospitalId' is not null or undefined
2046
+ assertParamExists('apiV1HospitalsHospitalIdLandingsLandingIdRevalidatePost', 'hospitalId', hospitalId)
2047
+ // verify required parameter 'landingId' is not null or undefined
2048
+ assertParamExists('apiV1HospitalsHospitalIdLandingsLandingIdRevalidatePost', 'landingId', landingId)
2049
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/landings/{landingId}/revalidate`
2050
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
2051
+ .replace(`{${"landingId"}}`, encodeURIComponent(String(landingId)));
2052
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2053
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2054
+ let baseOptions;
2055
+ if (configuration) {
2056
+ baseOptions = configuration.baseOptions;
2057
+ }
2058
+
2059
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
2060
+ const localVarHeaderParameter = {} as any;
2061
+ const localVarQueryParameter = {} as any;
2062
+
2063
+ // authentication oauth2 required
2064
+ // oauth required
2065
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
2066
+
2067
+ if (includeCurrent !== undefined) {
2068
+ localVarQueryParameter['includeCurrent'] = includeCurrent;
2069
+ }
2070
+
2071
+
2072
+
2026
2073
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2027
2074
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2028
2075
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -2577,6 +2624,49 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
2577
2624
 
2578
2625
 
2579
2626
 
2627
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2628
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2629
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2630
+
2631
+ return {
2632
+ url: toPathString(localVarUrlObj),
2633
+ options: localVarRequestOptions,
2634
+ };
2635
+ },
2636
+ /**
2637
+ *
2638
+ * @summary Revalidate hospital
2639
+ * @param {string} hospitalId
2640
+ * @param {boolean} [includeCurrent]
2641
+ * @param {*} [options] Override http request option.
2642
+ * @throws {RequiredError}
2643
+ */
2644
+ apiV1HospitalsHospitalIdRevalidatePost: async (hospitalId: string, includeCurrent?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2645
+ // verify required parameter 'hospitalId' is not null or undefined
2646
+ assertParamExists('apiV1HospitalsHospitalIdRevalidatePost', 'hospitalId', hospitalId)
2647
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/revalidate`
2648
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
2649
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2650
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2651
+ let baseOptions;
2652
+ if (configuration) {
2653
+ baseOptions = configuration.baseOptions;
2654
+ }
2655
+
2656
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
2657
+ const localVarHeaderParameter = {} as any;
2658
+ const localVarQueryParameter = {} as any;
2659
+
2660
+ // authentication oauth2 required
2661
+ // oauth required
2662
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
2663
+
2664
+ if (includeCurrent !== undefined) {
2665
+ localVarQueryParameter['includeCurrent'] = includeCurrent;
2666
+ }
2667
+
2668
+
2669
+
2580
2670
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2581
2671
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2582
2672
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -3327,6 +3417,53 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
3327
3417
  options: localVarRequestOptions,
3328
3418
  };
3329
3419
  },
3420
+ /**
3421
+ *
3422
+ * @summary Revalidate hospitalSpecialty
3423
+ * @param {string} hospitalId
3424
+ * @param {string} hospitalSpecialtyId
3425
+ * @param {boolean} [includeCurrent]
3426
+ * @param {*} [options] Override http request option.
3427
+ * @throws {RequiredError}
3428
+ */
3429
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdRevalidatePost: async (hospitalId: string, hospitalSpecialtyId: string, includeCurrent?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3430
+ // verify required parameter 'hospitalId' is not null or undefined
3431
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdRevalidatePost', 'hospitalId', hospitalId)
3432
+ // verify required parameter 'hospitalSpecialtyId' is not null or undefined
3433
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdRevalidatePost', 'hospitalSpecialtyId', hospitalSpecialtyId)
3434
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}/revalidate`
3435
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
3436
+ .replace(`{${"hospitalSpecialtyId"}}`, encodeURIComponent(String(hospitalSpecialtyId)));
3437
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3438
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3439
+ let baseOptions;
3440
+ if (configuration) {
3441
+ baseOptions = configuration.baseOptions;
3442
+ }
3443
+
3444
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
3445
+ const localVarHeaderParameter = {} as any;
3446
+ const localVarQueryParameter = {} as any;
3447
+
3448
+ // authentication oauth2 required
3449
+ // oauth required
3450
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
3451
+
3452
+ if (includeCurrent !== undefined) {
3453
+ localVarQueryParameter['includeCurrent'] = includeCurrent;
3454
+ }
3455
+
3456
+
3457
+
3458
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3459
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3460
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3461
+
3462
+ return {
3463
+ url: toPathString(localVarUrlObj),
3464
+ options: localVarRequestOptions,
3465
+ };
3466
+ },
3330
3467
  /**
3331
3468
  *
3332
3469
  * @summary Create HospitalSpecialty.
@@ -4409,6 +4546,57 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
4409
4546
 
4410
4547
 
4411
4548
 
4549
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4550
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4551
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4552
+
4553
+ return {
4554
+ url: toPathString(localVarUrlObj),
4555
+ options: localVarRequestOptions,
4556
+ };
4557
+ },
4558
+ /**
4559
+ *
4560
+ * @summary Revalidate service
4561
+ * @param {string} hospitalId
4562
+ * @param {string} specialtyId
4563
+ * @param {string} serviceId
4564
+ * @param {boolean} [includeCurrent]
4565
+ * @param {*} [options] Override http request option.
4566
+ * @throws {RequiredError}
4567
+ */
4568
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdRevalidatePost: async (hospitalId: string, specialtyId: string, serviceId: string, includeCurrent?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4569
+ // verify required parameter 'hospitalId' is not null or undefined
4570
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdRevalidatePost', 'hospitalId', hospitalId)
4571
+ // verify required parameter 'specialtyId' is not null or undefined
4572
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdRevalidatePost', 'specialtyId', specialtyId)
4573
+ // verify required parameter 'serviceId' is not null or undefined
4574
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdRevalidatePost', 'serviceId', serviceId)
4575
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/revalidate`
4576
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
4577
+ .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
4578
+ .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
4579
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4580
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4581
+ let baseOptions;
4582
+ if (configuration) {
4583
+ baseOptions = configuration.baseOptions;
4584
+ }
4585
+
4586
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
4587
+ const localVarHeaderParameter = {} as any;
4588
+ const localVarQueryParameter = {} as any;
4589
+
4590
+ // authentication oauth2 required
4591
+ // oauth required
4592
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
4593
+
4594
+ if (includeCurrent !== undefined) {
4595
+ localVarQueryParameter['includeCurrent'] = includeCurrent;
4596
+ }
4597
+
4598
+
4599
+
4412
4600
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4413
4601
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4414
4602
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -5464,6 +5652,19 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
5464
5652
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdLandingsLandingIdReactivePut(hospitalId, landingId, options);
5465
5653
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5466
5654
  },
5655
+ /**
5656
+ *
5657
+ * @summary Revalidate landing
5658
+ * @param {string} hospitalId
5659
+ * @param {string} landingId
5660
+ * @param {boolean} [includeCurrent]
5661
+ * @param {*} [options] Override http request option.
5662
+ * @throws {RequiredError}
5663
+ */
5664
+ async apiV1HospitalsHospitalIdLandingsLandingIdRevalidatePost(hospitalId: string, landingId: string, includeCurrent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
5665
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdLandingsLandingIdRevalidatePost(hospitalId, landingId, includeCurrent, options);
5666
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5667
+ },
5467
5668
  /**
5468
5669
  *
5469
5670
  * @summary Create HospitalLandings.
@@ -5617,6 +5818,18 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
5617
5818
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdReactivePut(hospitalId, options);
5618
5819
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5619
5820
  },
5821
+ /**
5822
+ *
5823
+ * @summary Revalidate hospital
5824
+ * @param {string} hospitalId
5825
+ * @param {boolean} [includeCurrent]
5826
+ * @param {*} [options] Override http request option.
5827
+ * @throws {RequiredError}
5828
+ */
5829
+ async apiV1HospitalsHospitalIdRevalidatePost(hospitalId: string, includeCurrent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
5830
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdRevalidatePost(hospitalId, includeCurrent, options);
5831
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5832
+ },
5620
5833
  /**
5621
5834
  *
5622
5835
  * @summary Get all HospitalSpecialties.
@@ -5811,6 +6024,19 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
5811
6024
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdPut(hospitalId, hospitalSpecialtyId, updateHospitalSpecialtyCommand, options);
5812
6025
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5813
6026
  },
6027
+ /**
6028
+ *
6029
+ * @summary Revalidate hospitalSpecialty
6030
+ * @param {string} hospitalId
6031
+ * @param {string} hospitalSpecialtyId
6032
+ * @param {boolean} [includeCurrent]
6033
+ * @param {*} [options] Override http request option.
6034
+ * @throws {RequiredError}
6035
+ */
6036
+ async apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdRevalidatePost(hospitalId: string, hospitalSpecialtyId: string, includeCurrent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
6037
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdRevalidatePost(hospitalId, hospitalSpecialtyId, includeCurrent, options);
6038
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
6039
+ },
5814
6040
  /**
5815
6041
  *
5816
6042
  * @summary Create HospitalSpecialty.
@@ -6095,6 +6321,20 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
6095
6321
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivePut(hospitalId, specialtyId, serviceId, options);
6096
6322
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
6097
6323
  },
6324
+ /**
6325
+ *
6326
+ * @summary Revalidate service
6327
+ * @param {string} hospitalId
6328
+ * @param {string} specialtyId
6329
+ * @param {string} serviceId
6330
+ * @param {boolean} [includeCurrent]
6331
+ * @param {*} [options] Override http request option.
6332
+ * @throws {RequiredError}
6333
+ */
6334
+ async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdRevalidatePost(hospitalId: string, specialtyId: string, serviceId: string, includeCurrent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
6335
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdRevalidatePost(hospitalId, specialtyId, serviceId, includeCurrent, options);
6336
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
6337
+ },
6098
6338
  /**
6099
6339
  *
6100
6340
  * @summary Translate hospital at once
@@ -6710,6 +6950,18 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
6710
6950
  apiV1HospitalsHospitalIdLandingsLandingIdReactivePut(hospitalId: string, landingId: string, options?: any): AxiosPromise<boolean> {
6711
6951
  return localVarFp.apiV1HospitalsHospitalIdLandingsLandingIdReactivePut(hospitalId, landingId, options).then((request) => request(axios, basePath));
6712
6952
  },
6953
+ /**
6954
+ *
6955
+ * @summary Revalidate landing
6956
+ * @param {string} hospitalId
6957
+ * @param {string} landingId
6958
+ * @param {boolean} [includeCurrent]
6959
+ * @param {*} [options] Override http request option.
6960
+ * @throws {RequiredError}
6961
+ */
6962
+ apiV1HospitalsHospitalIdLandingsLandingIdRevalidatePost(hospitalId: string, landingId: string, includeCurrent?: boolean, options?: any): AxiosPromise<boolean> {
6963
+ return localVarFp.apiV1HospitalsHospitalIdLandingsLandingIdRevalidatePost(hospitalId, landingId, includeCurrent, options).then((request) => request(axios, basePath));
6964
+ },
6713
6965
  /**
6714
6966
  *
6715
6967
  * @summary Create HospitalLandings.
@@ -6851,6 +7103,17 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
6851
7103
  apiV1HospitalsHospitalIdReactivePut(hospitalId: string, options?: any): AxiosPromise<boolean> {
6852
7104
  return localVarFp.apiV1HospitalsHospitalIdReactivePut(hospitalId, options).then((request) => request(axios, basePath));
6853
7105
  },
7106
+ /**
7107
+ *
7108
+ * @summary Revalidate hospital
7109
+ * @param {string} hospitalId
7110
+ * @param {boolean} [includeCurrent]
7111
+ * @param {*} [options] Override http request option.
7112
+ * @throws {RequiredError}
7113
+ */
7114
+ apiV1HospitalsHospitalIdRevalidatePost(hospitalId: string, includeCurrent?: boolean, options?: any): AxiosPromise<boolean> {
7115
+ return localVarFp.apiV1HospitalsHospitalIdRevalidatePost(hospitalId, includeCurrent, options).then((request) => request(axios, basePath));
7116
+ },
6854
7117
  /**
6855
7118
  *
6856
7119
  * @summary Get all HospitalSpecialties.
@@ -7032,6 +7295,18 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
7032
7295
  apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdPut(hospitalId: string, hospitalSpecialtyId: string, updateHospitalSpecialtyCommand?: UpdateHospitalSpecialtyCommand, options?: any): AxiosPromise<HospitalSpecialtyModel> {
7033
7296
  return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdPut(hospitalId, hospitalSpecialtyId, updateHospitalSpecialtyCommand, options).then((request) => request(axios, basePath));
7034
7297
  },
7298
+ /**
7299
+ *
7300
+ * @summary Revalidate hospitalSpecialty
7301
+ * @param {string} hospitalId
7302
+ * @param {string} hospitalSpecialtyId
7303
+ * @param {boolean} [includeCurrent]
7304
+ * @param {*} [options] Override http request option.
7305
+ * @throws {RequiredError}
7306
+ */
7307
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdRevalidatePost(hospitalId: string, hospitalSpecialtyId: string, includeCurrent?: boolean, options?: any): AxiosPromise<boolean> {
7308
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdRevalidatePost(hospitalId, hospitalSpecialtyId, includeCurrent, options).then((request) => request(axios, basePath));
7309
+ },
7035
7310
  /**
7036
7311
  *
7037
7312
  * @summary Create HospitalSpecialty.
@@ -7298,6 +7573,19 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
7298
7573
  apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivePut(hospitalId: string, specialtyId: string, serviceId: string, options?: any): AxiosPromise<boolean> {
7299
7574
  return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivePut(hospitalId, specialtyId, serviceId, options).then((request) => request(axios, basePath));
7300
7575
  },
7576
+ /**
7577
+ *
7578
+ * @summary Revalidate service
7579
+ * @param {string} hospitalId
7580
+ * @param {string} specialtyId
7581
+ * @param {string} serviceId
7582
+ * @param {boolean} [includeCurrent]
7583
+ * @param {*} [options] Override http request option.
7584
+ * @throws {RequiredError}
7585
+ */
7586
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdRevalidatePost(hospitalId: string, specialtyId: string, serviceId: string, includeCurrent?: boolean, options?: any): AxiosPromise<boolean> {
7587
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdRevalidatePost(hospitalId, specialtyId, serviceId, includeCurrent, options).then((request) => request(axios, basePath));
7588
+ },
7301
7589
  /**
7302
7590
  *
7303
7591
  * @summary Translate hospital at once
@@ -8670,6 +8958,34 @@ export interface HospitalsApiApiV1HospitalsHospitalIdLandingsLandingIdReactivePu
8670
8958
  readonly landingId: string
8671
8959
  }
8672
8960
 
8961
+ /**
8962
+ * Request parameters for apiV1HospitalsHospitalIdLandingsLandingIdRevalidatePost operation in HospitalsApi.
8963
+ * @export
8964
+ * @interface HospitalsApiApiV1HospitalsHospitalIdLandingsLandingIdRevalidatePostRequest
8965
+ */
8966
+ export interface HospitalsApiApiV1HospitalsHospitalIdLandingsLandingIdRevalidatePostRequest {
8967
+ /**
8968
+ *
8969
+ * @type {string}
8970
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdLandingsLandingIdRevalidatePost
8971
+ */
8972
+ readonly hospitalId: string
8973
+
8974
+ /**
8975
+ *
8976
+ * @type {string}
8977
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdLandingsLandingIdRevalidatePost
8978
+ */
8979
+ readonly landingId: string
8980
+
8981
+ /**
8982
+ *
8983
+ * @type {boolean}
8984
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdLandingsLandingIdRevalidatePost
8985
+ */
8986
+ readonly includeCurrent?: boolean
8987
+ }
8988
+
8673
8989
  /**
8674
8990
  * Request parameters for apiV1HospitalsHospitalIdLandingsPost operation in HospitalsApi.
8675
8991
  * @export
@@ -8985,6 +9301,27 @@ export interface HospitalsApiApiV1HospitalsHospitalIdReactivePutRequest {
8985
9301
  readonly hospitalId: string
8986
9302
  }
8987
9303
 
9304
+ /**
9305
+ * Request parameters for apiV1HospitalsHospitalIdRevalidatePost operation in HospitalsApi.
9306
+ * @export
9307
+ * @interface HospitalsApiApiV1HospitalsHospitalIdRevalidatePostRequest
9308
+ */
9309
+ export interface HospitalsApiApiV1HospitalsHospitalIdRevalidatePostRequest {
9310
+ /**
9311
+ *
9312
+ * @type {string}
9313
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdRevalidatePost
9314
+ */
9315
+ readonly hospitalId: string
9316
+
9317
+ /**
9318
+ *
9319
+ * @type {boolean}
9320
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdRevalidatePost
9321
+ */
9322
+ readonly includeCurrent?: boolean
9323
+ }
9324
+
8988
9325
  /**
8989
9326
  * Request parameters for apiV1HospitalsHospitalIdSpecialtiesGet operation in HospitalsApi.
8990
9327
  * @export
@@ -9524,6 +9861,34 @@ export interface HospitalsApiApiV1HospitalsHospitalIdSpecialtiesHospitalSpecialt
9524
9861
  readonly updateHospitalSpecialtyCommand?: UpdateHospitalSpecialtyCommand
9525
9862
  }
9526
9863
 
9864
+ /**
9865
+ * Request parameters for apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdRevalidatePost operation in HospitalsApi.
9866
+ * @export
9867
+ * @interface HospitalsApiApiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdRevalidatePostRequest
9868
+ */
9869
+ export interface HospitalsApiApiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdRevalidatePostRequest {
9870
+ /**
9871
+ *
9872
+ * @type {string}
9873
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdRevalidatePost
9874
+ */
9875
+ readonly hospitalId: string
9876
+
9877
+ /**
9878
+ *
9879
+ * @type {string}
9880
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdRevalidatePost
9881
+ */
9882
+ readonly hospitalSpecialtyId: string
9883
+
9884
+ /**
9885
+ *
9886
+ * @type {boolean}
9887
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdRevalidatePost
9888
+ */
9889
+ readonly includeCurrent?: boolean
9890
+ }
9891
+
9527
9892
  /**
9528
9893
  * Request parameters for apiV1HospitalsHospitalIdSpecialtiesPost operation in HospitalsApi.
9529
9894
  * @export
@@ -10378,6 +10743,41 @@ export interface HospitalsApiApiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServi
10378
10743
  readonly serviceId: string
10379
10744
  }
10380
10745
 
10746
+ /**
10747
+ * Request parameters for apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdRevalidatePost operation in HospitalsApi.
10748
+ * @export
10749
+ * @interface HospitalsApiApiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdRevalidatePostRequest
10750
+ */
10751
+ export interface HospitalsApiApiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdRevalidatePostRequest {
10752
+ /**
10753
+ *
10754
+ * @type {string}
10755
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdRevalidatePost
10756
+ */
10757
+ readonly hospitalId: string
10758
+
10759
+ /**
10760
+ *
10761
+ * @type {string}
10762
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdRevalidatePost
10763
+ */
10764
+ readonly specialtyId: string
10765
+
10766
+ /**
10767
+ *
10768
+ * @type {string}
10769
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdRevalidatePost
10770
+ */
10771
+ readonly serviceId: string
10772
+
10773
+ /**
10774
+ *
10775
+ * @type {boolean}
10776
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdRevalidatePost
10777
+ */
10778
+ readonly includeCurrent?: boolean
10779
+ }
10780
+
10381
10781
  /**
10382
10782
  * Request parameters for apiV1HospitalsHospitalIdTranslatePost operation in HospitalsApi.
10383
10783
  * @export
@@ -11167,6 +11567,18 @@ export class HospitalsApi extends BaseAPI {
11167
11567
  return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLandingsLandingIdReactivePut(requestParameters.hospitalId, requestParameters.landingId, options).then((request) => request(this.axios, this.basePath));
11168
11568
  }
11169
11569
 
11570
+ /**
11571
+ *
11572
+ * @summary Revalidate landing
11573
+ * @param {HospitalsApiApiV1HospitalsHospitalIdLandingsLandingIdRevalidatePostRequest} requestParameters Request parameters.
11574
+ * @param {*} [options] Override http request option.
11575
+ * @throws {RequiredError}
11576
+ * @memberof HospitalsApi
11577
+ */
11578
+ public apiV1HospitalsHospitalIdLandingsLandingIdRevalidatePost(requestParameters: HospitalsApiApiV1HospitalsHospitalIdLandingsLandingIdRevalidatePostRequest, options?: AxiosRequestConfig) {
11579
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLandingsLandingIdRevalidatePost(requestParameters.hospitalId, requestParameters.landingId, requestParameters.includeCurrent, options).then((request) => request(this.axios, this.basePath));
11580
+ }
11581
+
11170
11582
  /**
11171
11583
  *
11172
11584
  * @summary Create HospitalLandings.
@@ -11311,6 +11723,18 @@ export class HospitalsApi extends BaseAPI {
11311
11723
  return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdReactivePut(requestParameters.hospitalId, options).then((request) => request(this.axios, this.basePath));
11312
11724
  }
11313
11725
 
11726
+ /**
11727
+ *
11728
+ * @summary Revalidate hospital
11729
+ * @param {HospitalsApiApiV1HospitalsHospitalIdRevalidatePostRequest} requestParameters Request parameters.
11730
+ * @param {*} [options] Override http request option.
11731
+ * @throws {RequiredError}
11732
+ * @memberof HospitalsApi
11733
+ */
11734
+ public apiV1HospitalsHospitalIdRevalidatePost(requestParameters: HospitalsApiApiV1HospitalsHospitalIdRevalidatePostRequest, options?: AxiosRequestConfig) {
11735
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdRevalidatePost(requestParameters.hospitalId, requestParameters.includeCurrent, options).then((request) => request(this.axios, this.basePath));
11736
+ }
11737
+
11314
11738
  /**
11315
11739
  *
11316
11740
  * @summary Get all HospitalSpecialties.
@@ -11467,6 +11891,18 @@ export class HospitalsApi extends BaseAPI {
11467
11891
  return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdPut(requestParameters.hospitalId, requestParameters.hospitalSpecialtyId, requestParameters.updateHospitalSpecialtyCommand, options).then((request) => request(this.axios, this.basePath));
11468
11892
  }
11469
11893
 
11894
+ /**
11895
+ *
11896
+ * @summary Revalidate hospitalSpecialty
11897
+ * @param {HospitalsApiApiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdRevalidatePostRequest} requestParameters Request parameters.
11898
+ * @param {*} [options] Override http request option.
11899
+ * @throws {RequiredError}
11900
+ * @memberof HospitalsApi
11901
+ */
11902
+ public apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdRevalidatePost(requestParameters: HospitalsApiApiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdRevalidatePostRequest, options?: AxiosRequestConfig) {
11903
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdRevalidatePost(requestParameters.hospitalId, requestParameters.hospitalSpecialtyId, requestParameters.includeCurrent, options).then((request) => request(this.axios, this.basePath));
11904
+ }
11905
+
11470
11906
  /**
11471
11907
  *
11472
11908
  * @summary Create HospitalSpecialty.
@@ -11683,6 +12119,18 @@ export class HospitalsApi extends BaseAPI {
11683
12119
  return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivePut(requestParameters.hospitalId, requestParameters.specialtyId, requestParameters.serviceId, options).then((request) => request(this.axios, this.basePath));
11684
12120
  }
11685
12121
 
12122
+ /**
12123
+ *
12124
+ * @summary Revalidate service
12125
+ * @param {HospitalsApiApiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdRevalidatePostRequest} requestParameters Request parameters.
12126
+ * @param {*} [options] Override http request option.
12127
+ * @throws {RequiredError}
12128
+ * @memberof HospitalsApi
12129
+ */
12130
+ public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdRevalidatePost(requestParameters: HospitalsApiApiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdRevalidatePostRequest, options?: AxiosRequestConfig) {
12131
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdRevalidatePost(requestParameters.hospitalId, requestParameters.specialtyId, requestParameters.serviceId, requestParameters.includeCurrent, options).then((request) => request(this.axios, this.basePath));
12132
+ }
12133
+
11686
12134
  /**
11687
12135
  *
11688
12136
  * @summary Translate hospital at once