ch-admin-api-client-typescript 5.19.69 → 5.19.70

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 (30) hide show
  1. package/lib/api/hospitals-api.d.ts +333 -0
  2. package/lib/api/hospitals-api.d.ts.map +1 -1
  3. package/lib/api/hospitals-api.js +491 -0
  4. package/lib/models/create-hospital-rating-command.d.ts +61 -0
  5. package/lib/models/create-hospital-rating-command.d.ts.map +1 -0
  6. package/lib/models/create-hospital-rating-command.js +15 -0
  7. package/lib/models/hospital-rating-item-model.d.ts +67 -0
  8. package/lib/models/hospital-rating-item-model.d.ts.map +1 -0
  9. package/lib/models/hospital-rating-item-model.js +15 -0
  10. package/lib/models/hospital-rating-model.d.ts +67 -0
  11. package/lib/models/hospital-rating-model.d.ts.map +1 -0
  12. package/lib/models/hospital-rating-model.js +15 -0
  13. package/lib/models/hospital-ratings-model.d.ts +33 -0
  14. package/lib/models/hospital-ratings-model.d.ts.map +1 -0
  15. package/lib/models/hospital-ratings-model.js +15 -0
  16. package/lib/models/index.d.ts +5 -0
  17. package/lib/models/index.d.ts.map +1 -1
  18. package/lib/models/index.js +5 -0
  19. package/lib/models/update-hospital-rating-command.d.ts +61 -0
  20. package/lib/models/update-hospital-rating-command.d.ts.map +1 -0
  21. package/lib/models/update-hospital-rating-command.js +15 -0
  22. package/package.json +1 -1
  23. package/src/.openapi-generator/FILES +5 -0
  24. package/src/api/hospitals-api.ts +584 -0
  25. package/src/models/create-hospital-rating-command.ts +66 -0
  26. package/src/models/hospital-rating-item-model.ts +72 -0
  27. package/src/models/hospital-rating-model.ts +72 -0
  28. package/src/models/hospital-ratings-model.ts +42 -0
  29. package/src/models/index.ts +5 -0
  30. package/src/models/update-hospital-rating-command.ts +66 -0
@@ -59,6 +59,8 @@ import { CreateHospitalLanguageCommand } from '../models';
59
59
  // @ts-ignore
60
60
  import { CreateHospitalPaymentMethodCommand } from '../models';
61
61
  // @ts-ignore
62
+ import { CreateHospitalRatingCommand } from '../models';
63
+ // @ts-ignore
62
64
  import { CreateHospitalServiceCommand } from '../models';
63
65
  // @ts-ignore
64
66
  import { CreateHospitalSnsHandleCommand } from '../models';
@@ -115,6 +117,10 @@ import { HospitalPaymentMethodModel } from '../models';
115
117
  // @ts-ignore
116
118
  import { HospitalPaymentMethodsModel } from '../models';
117
119
  // @ts-ignore
120
+ import { HospitalRatingModel } from '../models';
121
+ // @ts-ignore
122
+ import { HospitalRatingsModel } from '../models';
123
+ // @ts-ignore
118
124
  import { HospitalServiceModel } from '../models';
119
125
  // @ts-ignore
120
126
  import { HospitalServicesModel } from '../models';
@@ -213,6 +219,8 @@ import { UpdateHospitalLanguageCommand } from '../models';
213
219
  // @ts-ignore
214
220
  import { UpdateHospitalPaymentMethodCommand } from '../models';
215
221
  // @ts-ignore
222
+ import { UpdateHospitalRatingCommand } from '../models';
223
+ // @ts-ignore
216
224
  import { UpdateHospitalServiceCommand } from '../models';
217
225
  // @ts-ignore
218
226
  import { UpdateHospitalSnsHandleCommand } from '../models';
@@ -4785,6 +4793,248 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
4785
4793
  options: localVarRequestOptions,
4786
4794
  };
4787
4795
  },
4796
+ /**
4797
+ *
4798
+ * @summary Get hospitalRatings
4799
+ * @param {string} hospitalId
4800
+ * @param {string} [id]
4801
+ * @param {string} [vender]
4802
+ * @param {boolean} [isConfirmed]
4803
+ * @param {number} [page]
4804
+ * @param {number} [limit]
4805
+ * @param {Date} [lastRetrieved]
4806
+ * @param {*} [options] Override http request option.
4807
+ * @throws {RequiredError}
4808
+ */
4809
+ apiV1HospitalsHospitalIdRatingsGet: async (hospitalId: string, id?: string, vender?: string, isConfirmed?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4810
+ // verify required parameter 'hospitalId' is not null or undefined
4811
+ assertParamExists('apiV1HospitalsHospitalIdRatingsGet', 'hospitalId', hospitalId)
4812
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/ratings`
4813
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
4814
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4815
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4816
+ let baseOptions;
4817
+ if (configuration) {
4818
+ baseOptions = configuration.baseOptions;
4819
+ }
4820
+
4821
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4822
+ const localVarHeaderParameter = {} as any;
4823
+ const localVarQueryParameter = {} as any;
4824
+
4825
+ // authentication oauth2 required
4826
+ // oauth required
4827
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
4828
+
4829
+ if (id !== undefined) {
4830
+ localVarQueryParameter['Id'] = id;
4831
+ }
4832
+
4833
+ if (vender !== undefined) {
4834
+ localVarQueryParameter['Vender'] = vender;
4835
+ }
4836
+
4837
+ if (isConfirmed !== undefined) {
4838
+ localVarQueryParameter['IsConfirmed'] = isConfirmed;
4839
+ }
4840
+
4841
+ if (page !== undefined) {
4842
+ localVarQueryParameter['page'] = page;
4843
+ }
4844
+
4845
+ if (limit !== undefined) {
4846
+ localVarQueryParameter['limit'] = limit;
4847
+ }
4848
+
4849
+ if (lastRetrieved !== undefined) {
4850
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
4851
+ (lastRetrieved as any).toISOString() :
4852
+ lastRetrieved;
4853
+ }
4854
+
4855
+
4856
+
4857
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4858
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4859
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4860
+
4861
+ return {
4862
+ url: toPathString(localVarUrlObj),
4863
+ options: localVarRequestOptions,
4864
+ };
4865
+ },
4866
+ /**
4867
+ *
4868
+ * @summary Delete hospitalRating
4869
+ * @param {string} hospitalId
4870
+ * @param {string} id
4871
+ * @param {*} [options] Override http request option.
4872
+ * @throws {RequiredError}
4873
+ */
4874
+ apiV1HospitalsHospitalIdRatingsIdDelete: async (hospitalId: string, id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4875
+ // verify required parameter 'hospitalId' is not null or undefined
4876
+ assertParamExists('apiV1HospitalsHospitalIdRatingsIdDelete', 'hospitalId', hospitalId)
4877
+ // verify required parameter 'id' is not null or undefined
4878
+ assertParamExists('apiV1HospitalsHospitalIdRatingsIdDelete', 'id', id)
4879
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/ratings/{id}`
4880
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
4881
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4882
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4883
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4884
+ let baseOptions;
4885
+ if (configuration) {
4886
+ baseOptions = configuration.baseOptions;
4887
+ }
4888
+
4889
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
4890
+ const localVarHeaderParameter = {} as any;
4891
+ const localVarQueryParameter = {} as any;
4892
+
4893
+ // authentication oauth2 required
4894
+ // oauth required
4895
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
4896
+
4897
+
4898
+
4899
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4900
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4901
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4902
+
4903
+ return {
4904
+ url: toPathString(localVarUrlObj),
4905
+ options: localVarRequestOptions,
4906
+ };
4907
+ },
4908
+ /**
4909
+ *
4910
+ * @summary Get hospitalRating
4911
+ * @param {string} hospitalId
4912
+ * @param {string} id
4913
+ * @param {*} [options] Override http request option.
4914
+ * @throws {RequiredError}
4915
+ */
4916
+ apiV1HospitalsHospitalIdRatingsIdGet: async (hospitalId: string, id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4917
+ // verify required parameter 'hospitalId' is not null or undefined
4918
+ assertParamExists('apiV1HospitalsHospitalIdRatingsIdGet', 'hospitalId', hospitalId)
4919
+ // verify required parameter 'id' is not null or undefined
4920
+ assertParamExists('apiV1HospitalsHospitalIdRatingsIdGet', 'id', id)
4921
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/ratings/{id}`
4922
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
4923
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4924
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4925
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4926
+ let baseOptions;
4927
+ if (configuration) {
4928
+ baseOptions = configuration.baseOptions;
4929
+ }
4930
+
4931
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4932
+ const localVarHeaderParameter = {} as any;
4933
+ const localVarQueryParameter = {} as any;
4934
+
4935
+ // authentication oauth2 required
4936
+ // oauth required
4937
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
4938
+
4939
+
4940
+
4941
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4942
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4943
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4944
+
4945
+ return {
4946
+ url: toPathString(localVarUrlObj),
4947
+ options: localVarRequestOptions,
4948
+ };
4949
+ },
4950
+ /**
4951
+ *
4952
+ * @summary Update hospitalRating
4953
+ * @param {string} hospitalId
4954
+ * @param {string} id
4955
+ * @param {UpdateHospitalRatingCommand} [updateHospitalRatingCommand]
4956
+ * @param {*} [options] Override http request option.
4957
+ * @throws {RequiredError}
4958
+ */
4959
+ apiV1HospitalsHospitalIdRatingsIdPut: async (hospitalId: string, id: string, updateHospitalRatingCommand?: UpdateHospitalRatingCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4960
+ // verify required parameter 'hospitalId' is not null or undefined
4961
+ assertParamExists('apiV1HospitalsHospitalIdRatingsIdPut', 'hospitalId', hospitalId)
4962
+ // verify required parameter 'id' is not null or undefined
4963
+ assertParamExists('apiV1HospitalsHospitalIdRatingsIdPut', 'id', id)
4964
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/ratings/{id}`
4965
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
4966
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4967
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4968
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4969
+ let baseOptions;
4970
+ if (configuration) {
4971
+ baseOptions = configuration.baseOptions;
4972
+ }
4973
+
4974
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
4975
+ const localVarHeaderParameter = {} as any;
4976
+ const localVarQueryParameter = {} as any;
4977
+
4978
+ // authentication oauth2 required
4979
+ // oauth required
4980
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
4981
+
4982
+
4983
+
4984
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4985
+
4986
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4987
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4988
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4989
+ localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalRatingCommand, localVarRequestOptions, configuration)
4990
+
4991
+ return {
4992
+ url: toPathString(localVarUrlObj),
4993
+ options: localVarRequestOptions,
4994
+ };
4995
+ },
4996
+ /**
4997
+ *
4998
+ * @summary Create hospitalRating
4999
+ * @param {string} hospitalId
5000
+ * @param {CreateHospitalRatingCommand} [createHospitalRatingCommand]
5001
+ * @param {*} [options] Override http request option.
5002
+ * @throws {RequiredError}
5003
+ */
5004
+ apiV1HospitalsHospitalIdRatingsPost: async (hospitalId: string, createHospitalRatingCommand?: CreateHospitalRatingCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5005
+ // verify required parameter 'hospitalId' is not null or undefined
5006
+ assertParamExists('apiV1HospitalsHospitalIdRatingsPost', 'hospitalId', hospitalId)
5007
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/ratings`
5008
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
5009
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5010
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5011
+ let baseOptions;
5012
+ if (configuration) {
5013
+ baseOptions = configuration.baseOptions;
5014
+ }
5015
+
5016
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
5017
+ const localVarHeaderParameter = {} as any;
5018
+ const localVarQueryParameter = {} as any;
5019
+
5020
+ // authentication oauth2 required
5021
+ // oauth required
5022
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
5023
+
5024
+
5025
+
5026
+ localVarHeaderParameter['Content-Type'] = 'application/json';
5027
+
5028
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5029
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5030
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5031
+ localVarRequestOptions.data = serializeDataIfNeeded(createHospitalRatingCommand, localVarRequestOptions, configuration)
5032
+
5033
+ return {
5034
+ url: toPathString(localVarUrlObj),
5035
+ options: localVarRequestOptions,
5036
+ };
5037
+ },
4788
5038
  /**
4789
5039
  *
4790
5040
  * @summary Delete HospitalSpecialty.
@@ -9482,6 +9732,72 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
9482
9732
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdPut(hospitalId, updateHospitalCommand, options);
9483
9733
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9484
9734
  },
9735
+ /**
9736
+ *
9737
+ * @summary Get hospitalRatings
9738
+ * @param {string} hospitalId
9739
+ * @param {string} [id]
9740
+ * @param {string} [vender]
9741
+ * @param {boolean} [isConfirmed]
9742
+ * @param {number} [page]
9743
+ * @param {number} [limit]
9744
+ * @param {Date} [lastRetrieved]
9745
+ * @param {*} [options] Override http request option.
9746
+ * @throws {RequiredError}
9747
+ */
9748
+ async apiV1HospitalsHospitalIdRatingsGet(hospitalId: string, id?: string, vender?: string, isConfirmed?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalRatingsModel>> {
9749
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdRatingsGet(hospitalId, id, vender, isConfirmed, page, limit, lastRetrieved, options);
9750
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9751
+ },
9752
+ /**
9753
+ *
9754
+ * @summary Delete hospitalRating
9755
+ * @param {string} hospitalId
9756
+ * @param {string} id
9757
+ * @param {*} [options] Override http request option.
9758
+ * @throws {RequiredError}
9759
+ */
9760
+ async apiV1HospitalsHospitalIdRatingsIdDelete(hospitalId: string, id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
9761
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdRatingsIdDelete(hospitalId, id, options);
9762
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9763
+ },
9764
+ /**
9765
+ *
9766
+ * @summary Get hospitalRating
9767
+ * @param {string} hospitalId
9768
+ * @param {string} id
9769
+ * @param {*} [options] Override http request option.
9770
+ * @throws {RequiredError}
9771
+ */
9772
+ async apiV1HospitalsHospitalIdRatingsIdGet(hospitalId: string, id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalRatingModel>> {
9773
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdRatingsIdGet(hospitalId, id, options);
9774
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9775
+ },
9776
+ /**
9777
+ *
9778
+ * @summary Update hospitalRating
9779
+ * @param {string} hospitalId
9780
+ * @param {string} id
9781
+ * @param {UpdateHospitalRatingCommand} [updateHospitalRatingCommand]
9782
+ * @param {*} [options] Override http request option.
9783
+ * @throws {RequiredError}
9784
+ */
9785
+ async apiV1HospitalsHospitalIdRatingsIdPut(hospitalId: string, id: string, updateHospitalRatingCommand?: UpdateHospitalRatingCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalRatingModel>> {
9786
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdRatingsIdPut(hospitalId, id, updateHospitalRatingCommand, options);
9787
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9788
+ },
9789
+ /**
9790
+ *
9791
+ * @summary Create hospitalRating
9792
+ * @param {string} hospitalId
9793
+ * @param {CreateHospitalRatingCommand} [createHospitalRatingCommand]
9794
+ * @param {*} [options] Override http request option.
9795
+ * @throws {RequiredError}
9796
+ */
9797
+ async apiV1HospitalsHospitalIdRatingsPost(hospitalId: string, createHospitalRatingCommand?: CreateHospitalRatingCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalRatingModel>> {
9798
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdRatingsPost(hospitalId, createHospitalRatingCommand, options);
9799
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9800
+ },
9485
9801
  /**
9486
9802
  *
9487
9803
  * @summary Delete HospitalSpecialty.
@@ -11548,6 +11864,67 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
11548
11864
  apiV1HospitalsHospitalIdPut(hospitalId: string, updateHospitalCommand?: UpdateHospitalCommand, options?: any): AxiosPromise<HospitalModel> {
11549
11865
  return localVarFp.apiV1HospitalsHospitalIdPut(hospitalId, updateHospitalCommand, options).then((request) => request(axios, basePath));
11550
11866
  },
11867
+ /**
11868
+ *
11869
+ * @summary Get hospitalRatings
11870
+ * @param {string} hospitalId
11871
+ * @param {string} [id]
11872
+ * @param {string} [vender]
11873
+ * @param {boolean} [isConfirmed]
11874
+ * @param {number} [page]
11875
+ * @param {number} [limit]
11876
+ * @param {Date} [lastRetrieved]
11877
+ * @param {*} [options] Override http request option.
11878
+ * @throws {RequiredError}
11879
+ */
11880
+ apiV1HospitalsHospitalIdRatingsGet(hospitalId: string, id?: string, vender?: string, isConfirmed?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalRatingsModel> {
11881
+ return localVarFp.apiV1HospitalsHospitalIdRatingsGet(hospitalId, id, vender, isConfirmed, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
11882
+ },
11883
+ /**
11884
+ *
11885
+ * @summary Delete hospitalRating
11886
+ * @param {string} hospitalId
11887
+ * @param {string} id
11888
+ * @param {*} [options] Override http request option.
11889
+ * @throws {RequiredError}
11890
+ */
11891
+ apiV1HospitalsHospitalIdRatingsIdDelete(hospitalId: string, id: string, options?: any): AxiosPromise<boolean> {
11892
+ return localVarFp.apiV1HospitalsHospitalIdRatingsIdDelete(hospitalId, id, options).then((request) => request(axios, basePath));
11893
+ },
11894
+ /**
11895
+ *
11896
+ * @summary Get hospitalRating
11897
+ * @param {string} hospitalId
11898
+ * @param {string} id
11899
+ * @param {*} [options] Override http request option.
11900
+ * @throws {RequiredError}
11901
+ */
11902
+ apiV1HospitalsHospitalIdRatingsIdGet(hospitalId: string, id: string, options?: any): AxiosPromise<HospitalRatingModel> {
11903
+ return localVarFp.apiV1HospitalsHospitalIdRatingsIdGet(hospitalId, id, options).then((request) => request(axios, basePath));
11904
+ },
11905
+ /**
11906
+ *
11907
+ * @summary Update hospitalRating
11908
+ * @param {string} hospitalId
11909
+ * @param {string} id
11910
+ * @param {UpdateHospitalRatingCommand} [updateHospitalRatingCommand]
11911
+ * @param {*} [options] Override http request option.
11912
+ * @throws {RequiredError}
11913
+ */
11914
+ apiV1HospitalsHospitalIdRatingsIdPut(hospitalId: string, id: string, updateHospitalRatingCommand?: UpdateHospitalRatingCommand, options?: any): AxiosPromise<HospitalRatingModel> {
11915
+ return localVarFp.apiV1HospitalsHospitalIdRatingsIdPut(hospitalId, id, updateHospitalRatingCommand, options).then((request) => request(axios, basePath));
11916
+ },
11917
+ /**
11918
+ *
11919
+ * @summary Create hospitalRating
11920
+ * @param {string} hospitalId
11921
+ * @param {CreateHospitalRatingCommand} [createHospitalRatingCommand]
11922
+ * @param {*} [options] Override http request option.
11923
+ * @throws {RequiredError}
11924
+ */
11925
+ apiV1HospitalsHospitalIdRatingsPost(hospitalId: string, createHospitalRatingCommand?: CreateHospitalRatingCommand, options?: any): AxiosPromise<HospitalRatingModel> {
11926
+ return localVarFp.apiV1HospitalsHospitalIdRatingsPost(hospitalId, createHospitalRatingCommand, options).then((request) => request(axios, basePath));
11927
+ },
11551
11928
  /**
11552
11929
  *
11553
11930
  * @summary Delete HospitalSpecialty.
@@ -15269,6 +15646,153 @@ export interface HospitalsApiApiV1HospitalsHospitalIdPutRequest {
15269
15646
  readonly updateHospitalCommand?: UpdateHospitalCommand
15270
15647
  }
15271
15648
 
15649
+ /**
15650
+ * Request parameters for apiV1HospitalsHospitalIdRatingsGet operation in HospitalsApi.
15651
+ * @export
15652
+ * @interface HospitalsApiApiV1HospitalsHospitalIdRatingsGetRequest
15653
+ */
15654
+ export interface HospitalsApiApiV1HospitalsHospitalIdRatingsGetRequest {
15655
+ /**
15656
+ *
15657
+ * @type {string}
15658
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdRatingsGet
15659
+ */
15660
+ readonly hospitalId: string
15661
+
15662
+ /**
15663
+ *
15664
+ * @type {string}
15665
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdRatingsGet
15666
+ */
15667
+ readonly id?: string
15668
+
15669
+ /**
15670
+ *
15671
+ * @type {string}
15672
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdRatingsGet
15673
+ */
15674
+ readonly vender?: string
15675
+
15676
+ /**
15677
+ *
15678
+ * @type {boolean}
15679
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdRatingsGet
15680
+ */
15681
+ readonly isConfirmed?: boolean
15682
+
15683
+ /**
15684
+ *
15685
+ * @type {number}
15686
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdRatingsGet
15687
+ */
15688
+ readonly page?: number
15689
+
15690
+ /**
15691
+ *
15692
+ * @type {number}
15693
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdRatingsGet
15694
+ */
15695
+ readonly limit?: number
15696
+
15697
+ /**
15698
+ *
15699
+ * @type {Date}
15700
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdRatingsGet
15701
+ */
15702
+ readonly lastRetrieved?: Date
15703
+ }
15704
+
15705
+ /**
15706
+ * Request parameters for apiV1HospitalsHospitalIdRatingsIdDelete operation in HospitalsApi.
15707
+ * @export
15708
+ * @interface HospitalsApiApiV1HospitalsHospitalIdRatingsIdDeleteRequest
15709
+ */
15710
+ export interface HospitalsApiApiV1HospitalsHospitalIdRatingsIdDeleteRequest {
15711
+ /**
15712
+ *
15713
+ * @type {string}
15714
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdRatingsIdDelete
15715
+ */
15716
+ readonly hospitalId: string
15717
+
15718
+ /**
15719
+ *
15720
+ * @type {string}
15721
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdRatingsIdDelete
15722
+ */
15723
+ readonly id: string
15724
+ }
15725
+
15726
+ /**
15727
+ * Request parameters for apiV1HospitalsHospitalIdRatingsIdGet operation in HospitalsApi.
15728
+ * @export
15729
+ * @interface HospitalsApiApiV1HospitalsHospitalIdRatingsIdGetRequest
15730
+ */
15731
+ export interface HospitalsApiApiV1HospitalsHospitalIdRatingsIdGetRequest {
15732
+ /**
15733
+ *
15734
+ * @type {string}
15735
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdRatingsIdGet
15736
+ */
15737
+ readonly hospitalId: string
15738
+
15739
+ /**
15740
+ *
15741
+ * @type {string}
15742
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdRatingsIdGet
15743
+ */
15744
+ readonly id: string
15745
+ }
15746
+
15747
+ /**
15748
+ * Request parameters for apiV1HospitalsHospitalIdRatingsIdPut operation in HospitalsApi.
15749
+ * @export
15750
+ * @interface HospitalsApiApiV1HospitalsHospitalIdRatingsIdPutRequest
15751
+ */
15752
+ export interface HospitalsApiApiV1HospitalsHospitalIdRatingsIdPutRequest {
15753
+ /**
15754
+ *
15755
+ * @type {string}
15756
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdRatingsIdPut
15757
+ */
15758
+ readonly hospitalId: string
15759
+
15760
+ /**
15761
+ *
15762
+ * @type {string}
15763
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdRatingsIdPut
15764
+ */
15765
+ readonly id: string
15766
+
15767
+ /**
15768
+ *
15769
+ * @type {UpdateHospitalRatingCommand}
15770
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdRatingsIdPut
15771
+ */
15772
+ readonly updateHospitalRatingCommand?: UpdateHospitalRatingCommand
15773
+ }
15774
+
15775
+ /**
15776
+ * Request parameters for apiV1HospitalsHospitalIdRatingsPost operation in HospitalsApi.
15777
+ * @export
15778
+ * @interface HospitalsApiApiV1HospitalsHospitalIdRatingsPostRequest
15779
+ */
15780
+ export interface HospitalsApiApiV1HospitalsHospitalIdRatingsPostRequest {
15781
+ /**
15782
+ *
15783
+ * @type {string}
15784
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdRatingsPost
15785
+ */
15786
+ readonly hospitalId: string
15787
+
15788
+ /**
15789
+ *
15790
+ * @type {CreateHospitalRatingCommand}
15791
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdRatingsPost
15792
+ */
15793
+ readonly createHospitalRatingCommand?: CreateHospitalRatingCommand
15794
+ }
15795
+
15272
15796
  /**
15273
15797
  * Request parameters for apiV1HospitalsHospitalIdReactivatePut operation in HospitalsApi.
15274
15798
  * @export
@@ -18769,6 +19293,66 @@ export class HospitalsApi extends BaseAPI {
18769
19293
  return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdPut(requestParameters.hospitalId, requestParameters.updateHospitalCommand, options).then((request) => request(this.axios, this.basePath));
18770
19294
  }
18771
19295
 
19296
+ /**
19297
+ *
19298
+ * @summary Get hospitalRatings
19299
+ * @param {HospitalsApiApiV1HospitalsHospitalIdRatingsGetRequest} requestParameters Request parameters.
19300
+ * @param {*} [options] Override http request option.
19301
+ * @throws {RequiredError}
19302
+ * @memberof HospitalsApi
19303
+ */
19304
+ public apiV1HospitalsHospitalIdRatingsGet(requestParameters: HospitalsApiApiV1HospitalsHospitalIdRatingsGetRequest, options?: AxiosRequestConfig) {
19305
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdRatingsGet(requestParameters.hospitalId, requestParameters.id, requestParameters.vender, requestParameters.isConfirmed, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
19306
+ }
19307
+
19308
+ /**
19309
+ *
19310
+ * @summary Delete hospitalRating
19311
+ * @param {HospitalsApiApiV1HospitalsHospitalIdRatingsIdDeleteRequest} requestParameters Request parameters.
19312
+ * @param {*} [options] Override http request option.
19313
+ * @throws {RequiredError}
19314
+ * @memberof HospitalsApi
19315
+ */
19316
+ public apiV1HospitalsHospitalIdRatingsIdDelete(requestParameters: HospitalsApiApiV1HospitalsHospitalIdRatingsIdDeleteRequest, options?: AxiosRequestConfig) {
19317
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdRatingsIdDelete(requestParameters.hospitalId, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
19318
+ }
19319
+
19320
+ /**
19321
+ *
19322
+ * @summary Get hospitalRating
19323
+ * @param {HospitalsApiApiV1HospitalsHospitalIdRatingsIdGetRequest} requestParameters Request parameters.
19324
+ * @param {*} [options] Override http request option.
19325
+ * @throws {RequiredError}
19326
+ * @memberof HospitalsApi
19327
+ */
19328
+ public apiV1HospitalsHospitalIdRatingsIdGet(requestParameters: HospitalsApiApiV1HospitalsHospitalIdRatingsIdGetRequest, options?: AxiosRequestConfig) {
19329
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdRatingsIdGet(requestParameters.hospitalId, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
19330
+ }
19331
+
19332
+ /**
19333
+ *
19334
+ * @summary Update hospitalRating
19335
+ * @param {HospitalsApiApiV1HospitalsHospitalIdRatingsIdPutRequest} requestParameters Request parameters.
19336
+ * @param {*} [options] Override http request option.
19337
+ * @throws {RequiredError}
19338
+ * @memberof HospitalsApi
19339
+ */
19340
+ public apiV1HospitalsHospitalIdRatingsIdPut(requestParameters: HospitalsApiApiV1HospitalsHospitalIdRatingsIdPutRequest, options?: AxiosRequestConfig) {
19341
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdRatingsIdPut(requestParameters.hospitalId, requestParameters.id, requestParameters.updateHospitalRatingCommand, options).then((request) => request(this.axios, this.basePath));
19342
+ }
19343
+
19344
+ /**
19345
+ *
19346
+ * @summary Create hospitalRating
19347
+ * @param {HospitalsApiApiV1HospitalsHospitalIdRatingsPostRequest} requestParameters Request parameters.
19348
+ * @param {*} [options] Override http request option.
19349
+ * @throws {RequiredError}
19350
+ * @memberof HospitalsApi
19351
+ */
19352
+ public apiV1HospitalsHospitalIdRatingsPost(requestParameters: HospitalsApiApiV1HospitalsHospitalIdRatingsPostRequest, options?: AxiosRequestConfig) {
19353
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdRatingsPost(requestParameters.hospitalId, requestParameters.createHospitalRatingCommand, options).then((request) => request(this.axios, this.basePath));
19354
+ }
19355
+
18772
19356
  /**
18773
19357
  *
18774
19358
  * @summary Delete HospitalSpecialty.