ch-api-client-typescript2 5.19.69 → 5.19.71

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 (60) hide show
  1. package/lib/api/hospitals-api.d.ts +234 -0
  2. package/lib/api/hospitals-api.d.ts.map +1 -1
  3. package/lib/api/hospitals-api.js +291 -0
  4. package/lib/models/hospital-item-model.d.ts +7 -0
  5. package/lib/models/hospital-item-model.d.ts.map +1 -1
  6. package/lib/models/hospital-model.d.ts +7 -0
  7. package/lib/models/hospital-model.d.ts.map +1 -1
  8. package/lib/models/hospital-rating-item-model.d.ts +67 -0
  9. package/lib/models/hospital-rating-item-model.d.ts.map +1 -0
  10. package/lib/models/hospital-rating-item-model.js +15 -0
  11. package/lib/models/hospital-ratings-model.d.ts +33 -0
  12. package/lib/models/hospital-ratings-model.d.ts.map +1 -0
  13. package/lib/models/hospital-ratings-model.js +15 -0
  14. package/lib/models/index.d.ts +11 -0
  15. package/lib/models/index.d.ts.map +1 -1
  16. package/lib/models/index.js +11 -0
  17. package/lib/models/page-block-link-model.d.ts +68 -0
  18. package/lib/models/page-block-link-model.d.ts.map +1 -0
  19. package/lib/models/page-block-link-model.js +15 -0
  20. package/lib/models/page-block-link-type.d.ts +22 -0
  21. package/lib/models/page-block-link-type.d.ts.map +1 -0
  22. package/lib/models/page-block-link-type.js +25 -0
  23. package/lib/models/page-block-location-model.d.ts +43 -0
  24. package/lib/models/page-block-location-model.d.ts.map +1 -0
  25. package/lib/models/page-block-location-model.js +15 -0
  26. package/lib/models/page-block-model.d.ts +113 -0
  27. package/lib/models/page-block-model.d.ts.map +1 -0
  28. package/lib/models/page-block-model.js +15 -0
  29. package/lib/models/page-block-type.d.ts +29 -0
  30. package/lib/models/page-block-type.d.ts.map +1 -0
  31. package/lib/models/page-block-type.js +32 -0
  32. package/lib/models/page-item-model.d.ts +93 -0
  33. package/lib/models/page-item-model.d.ts.map +1 -0
  34. package/lib/models/page-item-model.js +15 -0
  35. package/lib/models/page-item-status.d.ts +23 -0
  36. package/lib/models/page-item-status.d.ts.map +1 -0
  37. package/lib/models/page-item-status.js +26 -0
  38. package/lib/models/page-section-list-type.d.ts +23 -0
  39. package/lib/models/page-section-list-type.d.ts.map +1 -0
  40. package/lib/models/page-section-list-type.js +26 -0
  41. package/lib/models/page-section-model.d.ts +51 -0
  42. package/lib/models/page-section-model.d.ts.map +1 -0
  43. package/lib/models/page-section-model.js +15 -0
  44. package/package.json +1 -1
  45. package/src/.openapi-generator/FILES +11 -0
  46. package/src/api/hospitals-api.ts +391 -0
  47. package/src/models/hospital-item-model.ts +9 -0
  48. package/src/models/hospital-model.ts +9 -0
  49. package/src/models/hospital-rating-item-model.ts +72 -0
  50. package/src/models/hospital-ratings-model.ts +42 -0
  51. package/src/models/index.ts +11 -0
  52. package/src/models/page-block-link-model.ts +75 -0
  53. package/src/models/page-block-link-type.ts +31 -0
  54. package/src/models/page-block-location-model.ts +48 -0
  55. package/src/models/page-block-model.ts +126 -0
  56. package/src/models/page-block-type.ts +38 -0
  57. package/src/models/page-item-model.ts +102 -0
  58. package/src/models/page-item-status.ts +32 -0
  59. package/src/models/page-section-list-type.ts +32 -0
  60. package/src/models/page-section-model.ts +60 -0
@@ -0,0 +1,51 @@
1
+ /**
2
+ * Swagger UI - Cloud Hospital Api-INT
3
+ * Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
4
+ *
5
+ * The version of the OpenAPI document: 2
6
+ * Contact: hyounoosung@icloudhospital.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { PageBlockModel } from './page-block-model';
13
+ import { PageSectionListType } from './page-section-list-type';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PageSectionModel
18
+ */
19
+ export interface PageSectionModel {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof PageSectionModel
24
+ */
25
+ 'id'?: string;
26
+ /**
27
+ *
28
+ * @type {PageSectionListType}
29
+ * @memberof PageSectionModel
30
+ */
31
+ 'listType'?: PageSectionListType;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof PageSectionModel
36
+ */
37
+ 'customStyle'?: string | null;
38
+ /**
39
+ *
40
+ * @type {number}
41
+ * @memberof PageSectionModel
42
+ */
43
+ 'order'?: number;
44
+ /**
45
+ *
46
+ * @type {Array<PageBlockModel>}
47
+ * @memberof PageSectionModel
48
+ */
49
+ 'blocks'?: Array<PageBlockModel> | null;
50
+ }
51
+ //# sourceMappingURL=page-section-model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"page-section-model.d.ts","sourceRoot":"","sources":["../../src/models/page-section-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAGpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAE/D;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,UAAU,CAAC,EAAE,mBAAmB,CAAC;IACjC;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC;CAC3C"}
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Swagger UI - Cloud Hospital Api-INT
6
+ * Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
7
+ *
8
+ * The version of the OpenAPI document: 2
9
+ * Contact: hyounoosung@icloudhospital.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ch-api-client-typescript2",
3
- "version": "5.19.69",
3
+ "version": "5.19.71",
4
4
  "description": "Openapi generated typescript-axios client for CloudHospital",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -229,6 +229,8 @@ models/hospital-model.ts
229
229
  models/hospital-payment-gateway-model.ts
230
230
  models/hospital-payment-method-model.ts
231
231
  models/hospital-payment-methods-model.ts
232
+ models/hospital-rating-item-model.ts
233
+ models/hospital-ratings-model.ts
232
234
  models/hospital-service-item-model.ts
233
235
  models/hospital-service-model.ts
234
236
  models/hospital-services-model.ts
@@ -280,6 +282,15 @@ models/notification-code.ts
280
282
  models/notification-model.ts
281
283
  models/notifications-model.ts
282
284
  models/package-sub-document-model.ts
285
+ models/page-block-link-model.ts
286
+ models/page-block-link-type.ts
287
+ models/page-block-location-model.ts
288
+ models/page-block-model.ts
289
+ models/page-block-type.ts
290
+ models/page-item-model.ts
291
+ models/page-item-status.ts
292
+ models/page-section-list-type.ts
293
+ models/page-section-model.ts
283
294
  models/paged-list-meta-data.ts
284
295
  models/patient-model.ts
285
296
  models/pay-appointment-command.ts
@@ -63,6 +63,8 @@ import { HospitalModel } from '../models';
63
63
  // @ts-ignore
64
64
  import { HospitalPaymentMethodsModel } from '../models';
65
65
  // @ts-ignore
66
+ import { HospitalRatingsModel } from '../models';
67
+ // @ts-ignore
66
68
  import { HospitalServiceModel } from '../models';
67
69
  // @ts-ignore
68
70
  import { HospitalServicesModel } from '../models';
@@ -99,6 +101,8 @@ import { MediasModel } from '../models';
99
101
  // @ts-ignore
100
102
  import { NoticesModel } from '../models';
101
103
  // @ts-ignore
104
+ import { PageItemModel } from '../models';
105
+ // @ts-ignore
102
106
  import { PaymentMethod } from '../models';
103
107
  // @ts-ignore
104
108
  import { PoliciesModel } from '../models';
@@ -838,6 +842,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
838
842
  },
839
843
  /**
840
844
  *
845
+ * @summary Get doctor portfolios by hospital
841
846
  * @param {string} hospitalId
842
847
  * @param {string} [doctorId]
843
848
  * @param {string} [languageCode]
@@ -1839,6 +1844,97 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
1839
1844
 
1840
1845
 
1841
1846
 
1847
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1848
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1849
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1850
+
1851
+ return {
1852
+ url: toPathString(localVarUrlObj),
1853
+ options: localVarRequestOptions,
1854
+ };
1855
+ },
1856
+ /**
1857
+ *
1858
+ * @summary Get page by id
1859
+ * @param {string} hospitalId
1860
+ * @param {string} pageItemId
1861
+ * @param {string} [languageCode]
1862
+ * @param {*} [options] Override http request option.
1863
+ * @throws {RequiredError}
1864
+ */
1865
+ apiV2HospitalsHospitalIdPagesPageItemIdGet: async (hospitalId: string, pageItemId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1866
+ // verify required parameter 'hospitalId' is not null or undefined
1867
+ assertParamExists('apiV2HospitalsHospitalIdPagesPageItemIdGet', 'hospitalId', hospitalId)
1868
+ // verify required parameter 'pageItemId' is not null or undefined
1869
+ assertParamExists('apiV2HospitalsHospitalIdPagesPageItemIdGet', 'pageItemId', pageItemId)
1870
+ const localVarPath = `/api/v2/hospitals/{hospitalId}/pages/{pageItemId}`
1871
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
1872
+ .replace(`{${"pageItemId"}}`, encodeURIComponent(String(pageItemId)));
1873
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1874
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1875
+ let baseOptions;
1876
+ if (configuration) {
1877
+ baseOptions = configuration.baseOptions;
1878
+ }
1879
+
1880
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1881
+ const localVarHeaderParameter = {} as any;
1882
+ const localVarQueryParameter = {} as any;
1883
+
1884
+ if (languageCode !== undefined) {
1885
+ localVarQueryParameter['languageCode'] = languageCode;
1886
+ }
1887
+
1888
+
1889
+
1890
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1891
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1892
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1893
+
1894
+ return {
1895
+ url: toPathString(localVarUrlObj),
1896
+ options: localVarRequestOptions,
1897
+ };
1898
+ },
1899
+ /**
1900
+ *
1901
+ * @summary Get page by slug
1902
+ * @param {string} hospitalId
1903
+ * @param {string} slug
1904
+ * @param {string} [languageCode]
1905
+ * @param {string} [previewSecret]
1906
+ * @param {*} [options] Override http request option.
1907
+ * @throws {RequiredError}
1908
+ */
1909
+ apiV2HospitalsHospitalIdPagesSlugGet: async (hospitalId: string, slug: string, languageCode?: string, previewSecret?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1910
+ // verify required parameter 'hospitalId' is not null or undefined
1911
+ assertParamExists('apiV2HospitalsHospitalIdPagesSlugGet', 'hospitalId', hospitalId)
1912
+ // verify required parameter 'slug' is not null or undefined
1913
+ assertParamExists('apiV2HospitalsHospitalIdPagesSlugGet', 'slug', slug)
1914
+ const localVarPath = `/api/v2/hospitals/{hospitalId}/pages/{slug}`
1915
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
1916
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
1917
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1918
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1919
+ let baseOptions;
1920
+ if (configuration) {
1921
+ baseOptions = configuration.baseOptions;
1922
+ }
1923
+
1924
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1925
+ const localVarHeaderParameter = {} as any;
1926
+ const localVarQueryParameter = {} as any;
1927
+
1928
+ if (languageCode !== undefined) {
1929
+ localVarQueryParameter['languageCode'] = languageCode;
1930
+ }
1931
+
1932
+ if (previewSecret !== undefined) {
1933
+ localVarQueryParameter['previewSecret'] = previewSecret;
1934
+ }
1935
+
1936
+
1937
+
1842
1938
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1843
1939
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1844
1940
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -2057,6 +2153,67 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
2057
2153
 
2058
2154
 
2059
2155
 
2156
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2157
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2158
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2159
+
2160
+ return {
2161
+ url: toPathString(localVarUrlObj),
2162
+ options: localVarRequestOptions,
2163
+ };
2164
+ },
2165
+ /**
2166
+ *
2167
+ * @summary Get hospitalRatings
2168
+ * @param {string} hospitalId
2169
+ * @param {string} [id]
2170
+ * @param {string} [vender]
2171
+ * @param {number} [page]
2172
+ * @param {number} [limit]
2173
+ * @param {Date} [lastRetrieved]
2174
+ * @param {*} [options] Override http request option.
2175
+ * @throws {RequiredError}
2176
+ */
2177
+ apiV2HospitalsHospitalIdRatingsGet: async (hospitalId: string, id?: string, vender?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2178
+ // verify required parameter 'hospitalId' is not null or undefined
2179
+ assertParamExists('apiV2HospitalsHospitalIdRatingsGet', 'hospitalId', hospitalId)
2180
+ const localVarPath = `/api/v2/hospitals/{hospitalId}/ratings`
2181
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
2182
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2183
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2184
+ let baseOptions;
2185
+ if (configuration) {
2186
+ baseOptions = configuration.baseOptions;
2187
+ }
2188
+
2189
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
2190
+ const localVarHeaderParameter = {} as any;
2191
+ const localVarQueryParameter = {} as any;
2192
+
2193
+ if (id !== undefined) {
2194
+ localVarQueryParameter['Id'] = id;
2195
+ }
2196
+
2197
+ if (vender !== undefined) {
2198
+ localVarQueryParameter['Vender'] = vender;
2199
+ }
2200
+
2201
+ if (page !== undefined) {
2202
+ localVarQueryParameter['page'] = page;
2203
+ }
2204
+
2205
+ if (limit !== undefined) {
2206
+ localVarQueryParameter['limit'] = limit;
2207
+ }
2208
+
2209
+ if (lastRetrieved !== undefined) {
2210
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
2211
+ (lastRetrieved as any).toISOString() :
2212
+ lastRetrieved;
2213
+ }
2214
+
2215
+
2216
+
2060
2217
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2061
2218
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2062
2219
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -3545,6 +3702,7 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
3545
3702
  },
3546
3703
  /**
3547
3704
  *
3705
+ * @summary Get doctor portfolios by hospital
3548
3706
  * @param {string} hospitalId
3549
3707
  * @param {string} [doctorId]
3550
3708
  * @param {string} [languageCode]
@@ -3822,6 +3980,33 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
3822
3980
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdNoticesGet(hospitalId, id, languageCode, name, page, limit, lastRetrieved, options);
3823
3981
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3824
3982
  },
3983
+ /**
3984
+ *
3985
+ * @summary Get page by id
3986
+ * @param {string} hospitalId
3987
+ * @param {string} pageItemId
3988
+ * @param {string} [languageCode]
3989
+ * @param {*} [options] Override http request option.
3990
+ * @throws {RequiredError}
3991
+ */
3992
+ async apiV2HospitalsHospitalIdPagesPageItemIdGet(hospitalId: string, pageItemId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PageItemModel>> {
3993
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdPagesPageItemIdGet(hospitalId, pageItemId, languageCode, options);
3994
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3995
+ },
3996
+ /**
3997
+ *
3998
+ * @summary Get page by slug
3999
+ * @param {string} hospitalId
4000
+ * @param {string} slug
4001
+ * @param {string} [languageCode]
4002
+ * @param {string} [previewSecret]
4003
+ * @param {*} [options] Override http request option.
4004
+ * @throws {RequiredError}
4005
+ */
4006
+ async apiV2HospitalsHospitalIdPagesSlugGet(hospitalId: string, slug: string, languageCode?: string, previewSecret?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PageItemModel>> {
4007
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdPagesSlugGet(hospitalId, slug, languageCode, previewSecret, options);
4008
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4009
+ },
3825
4010
  /**
3826
4011
  *
3827
4012
  * @summary Get HospitalPaymentMethods
@@ -3882,6 +4067,22 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
3882
4067
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdPoliciesSlugGet(hospitalId, slug, languageCode, previewSecret, options);
3883
4068
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3884
4069
  },
4070
+ /**
4071
+ *
4072
+ * @summary Get hospitalRatings
4073
+ * @param {string} hospitalId
4074
+ * @param {string} [id]
4075
+ * @param {string} [vender]
4076
+ * @param {number} [page]
4077
+ * @param {number} [limit]
4078
+ * @param {Date} [lastRetrieved]
4079
+ * @param {*} [options] Override http request option.
4080
+ * @throws {RequiredError}
4081
+ */
4082
+ async apiV2HospitalsHospitalIdRatingsGet(hospitalId: string, id?: string, vender?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalRatingsModel>> {
4083
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdRatingsGet(hospitalId, id, vender, page, limit, lastRetrieved, options);
4084
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4085
+ },
3885
4086
  /**
3886
4087
  *
3887
4088
  * @summary Upload secure file as anonymous
@@ -4403,6 +4604,7 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
4403
4604
  },
4404
4605
  /**
4405
4606
  *
4607
+ * @summary Get doctor portfolios by hospital
4406
4608
  * @param {string} hospitalId
4407
4609
  * @param {string} [doctorId]
4408
4610
  * @param {string} [languageCode]
@@ -4661,6 +4863,31 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
4661
4863
  apiV2HospitalsHospitalIdNoticesGet(hospitalId: string, id?: string, languageCode?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<NoticesModel> {
4662
4864
  return localVarFp.apiV2HospitalsHospitalIdNoticesGet(hospitalId, id, languageCode, name, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
4663
4865
  },
4866
+ /**
4867
+ *
4868
+ * @summary Get page by id
4869
+ * @param {string} hospitalId
4870
+ * @param {string} pageItemId
4871
+ * @param {string} [languageCode]
4872
+ * @param {*} [options] Override http request option.
4873
+ * @throws {RequiredError}
4874
+ */
4875
+ apiV2HospitalsHospitalIdPagesPageItemIdGet(hospitalId: string, pageItemId: string, languageCode?: string, options?: any): AxiosPromise<PageItemModel> {
4876
+ return localVarFp.apiV2HospitalsHospitalIdPagesPageItemIdGet(hospitalId, pageItemId, languageCode, options).then((request) => request(axios, basePath));
4877
+ },
4878
+ /**
4879
+ *
4880
+ * @summary Get page by slug
4881
+ * @param {string} hospitalId
4882
+ * @param {string} slug
4883
+ * @param {string} [languageCode]
4884
+ * @param {string} [previewSecret]
4885
+ * @param {*} [options] Override http request option.
4886
+ * @throws {RequiredError}
4887
+ */
4888
+ apiV2HospitalsHospitalIdPagesSlugGet(hospitalId: string, slug: string, languageCode?: string, previewSecret?: string, options?: any): AxiosPromise<PageItemModel> {
4889
+ return localVarFp.apiV2HospitalsHospitalIdPagesSlugGet(hospitalId, slug, languageCode, previewSecret, options).then((request) => request(axios, basePath));
4890
+ },
4664
4891
  /**
4665
4892
  *
4666
4893
  * @summary Get HospitalPaymentMethods
@@ -4717,6 +4944,21 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
4717
4944
  apiV2HospitalsHospitalIdPoliciesSlugGet(hospitalId: string, slug: string, languageCode?: string, previewSecret?: string, options?: any): AxiosPromise<PolicyModel> {
4718
4945
  return localVarFp.apiV2HospitalsHospitalIdPoliciesSlugGet(hospitalId, slug, languageCode, previewSecret, options).then((request) => request(axios, basePath));
4719
4946
  },
4947
+ /**
4948
+ *
4949
+ * @summary Get hospitalRatings
4950
+ * @param {string} hospitalId
4951
+ * @param {string} [id]
4952
+ * @param {string} [vender]
4953
+ * @param {number} [page]
4954
+ * @param {number} [limit]
4955
+ * @param {Date} [lastRetrieved]
4956
+ * @param {*} [options] Override http request option.
4957
+ * @throws {RequiredError}
4958
+ */
4959
+ apiV2HospitalsHospitalIdRatingsGet(hospitalId: string, id?: string, vender?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalRatingsModel> {
4960
+ return localVarFp.apiV2HospitalsHospitalIdRatingsGet(hospitalId, id, vender, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
4961
+ },
4720
4962
  /**
4721
4963
  *
4722
4964
  * @summary Upload secure file as anonymous
@@ -6376,6 +6618,69 @@ export interface HospitalsApiApiV2HospitalsHospitalIdNoticesGetRequest {
6376
6618
  readonly lastRetrieved?: Date
6377
6619
  }
6378
6620
 
6621
+ /**
6622
+ * Request parameters for apiV2HospitalsHospitalIdPagesPageItemIdGet operation in HospitalsApi.
6623
+ * @export
6624
+ * @interface HospitalsApiApiV2HospitalsHospitalIdPagesPageItemIdGetRequest
6625
+ */
6626
+ export interface HospitalsApiApiV2HospitalsHospitalIdPagesPageItemIdGetRequest {
6627
+ /**
6628
+ *
6629
+ * @type {string}
6630
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdPagesPageItemIdGet
6631
+ */
6632
+ readonly hospitalId: string
6633
+
6634
+ /**
6635
+ *
6636
+ * @type {string}
6637
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdPagesPageItemIdGet
6638
+ */
6639
+ readonly pageItemId: string
6640
+
6641
+ /**
6642
+ *
6643
+ * @type {string}
6644
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdPagesPageItemIdGet
6645
+ */
6646
+ readonly languageCode?: string
6647
+ }
6648
+
6649
+ /**
6650
+ * Request parameters for apiV2HospitalsHospitalIdPagesSlugGet operation in HospitalsApi.
6651
+ * @export
6652
+ * @interface HospitalsApiApiV2HospitalsHospitalIdPagesSlugGetRequest
6653
+ */
6654
+ export interface HospitalsApiApiV2HospitalsHospitalIdPagesSlugGetRequest {
6655
+ /**
6656
+ *
6657
+ * @type {string}
6658
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdPagesSlugGet
6659
+ */
6660
+ readonly hospitalId: string
6661
+
6662
+ /**
6663
+ *
6664
+ * @type {string}
6665
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdPagesSlugGet
6666
+ */
6667
+ readonly slug: string
6668
+
6669
+ /**
6670
+ *
6671
+ * @type {string}
6672
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdPagesSlugGet
6673
+ */
6674
+ readonly languageCode?: string
6675
+
6676
+ /**
6677
+ *
6678
+ * @type {string}
6679
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdPagesSlugGet
6680
+ */
6681
+ readonly previewSecret?: string
6682
+ }
6683
+
6379
6684
  /**
6380
6685
  * Request parameters for apiV2HospitalsHospitalIdPaymentmethodsGet operation in HospitalsApi.
6381
6686
  * @export
@@ -6544,6 +6849,55 @@ export interface HospitalsApiApiV2HospitalsHospitalIdPoliciesSlugGetRequest {
6544
6849
  readonly previewSecret?: string
6545
6850
  }
6546
6851
 
6852
+ /**
6853
+ * Request parameters for apiV2HospitalsHospitalIdRatingsGet operation in HospitalsApi.
6854
+ * @export
6855
+ * @interface HospitalsApiApiV2HospitalsHospitalIdRatingsGetRequest
6856
+ */
6857
+ export interface HospitalsApiApiV2HospitalsHospitalIdRatingsGetRequest {
6858
+ /**
6859
+ *
6860
+ * @type {string}
6861
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdRatingsGet
6862
+ */
6863
+ readonly hospitalId: string
6864
+
6865
+ /**
6866
+ *
6867
+ * @type {string}
6868
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdRatingsGet
6869
+ */
6870
+ readonly id?: string
6871
+
6872
+ /**
6873
+ *
6874
+ * @type {string}
6875
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdRatingsGet
6876
+ */
6877
+ readonly vender?: string
6878
+
6879
+ /**
6880
+ *
6881
+ * @type {number}
6882
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdRatingsGet
6883
+ */
6884
+ readonly page?: number
6885
+
6886
+ /**
6887
+ *
6888
+ * @type {number}
6889
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdRatingsGet
6890
+ */
6891
+ readonly limit?: number
6892
+
6893
+ /**
6894
+ *
6895
+ * @type {Date}
6896
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdRatingsGet
6897
+ */
6898
+ readonly lastRetrieved?: Date
6899
+ }
6900
+
6547
6901
  /**
6548
6902
  * Request parameters for apiV2HospitalsHospitalIdSecurefilesPost operation in HospitalsApi.
6549
6903
  * @export
@@ -7816,6 +8170,7 @@ export class HospitalsApi extends BaseAPI {
7816
8170
 
7817
8171
  /**
7818
8172
  *
8173
+ * @summary Get doctor portfolios by hospital
7819
8174
  * @param {HospitalsApiApiV2HospitalsHospitalIdDoctorportfoliosGetRequest} requestParameters Request parameters.
7820
8175
  * @param {*} [options] Override http request option.
7821
8176
  * @throws {RequiredError}
@@ -8041,6 +8396,30 @@ export class HospitalsApi extends BaseAPI {
8041
8396
  return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdNoticesGet(requestParameters.hospitalId, requestParameters.id, requestParameters.languageCode, requestParameters.name, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
8042
8397
  }
8043
8398
 
8399
+ /**
8400
+ *
8401
+ * @summary Get page by id
8402
+ * @param {HospitalsApiApiV2HospitalsHospitalIdPagesPageItemIdGetRequest} requestParameters Request parameters.
8403
+ * @param {*} [options] Override http request option.
8404
+ * @throws {RequiredError}
8405
+ * @memberof HospitalsApi
8406
+ */
8407
+ public apiV2HospitalsHospitalIdPagesPageItemIdGet(requestParameters: HospitalsApiApiV2HospitalsHospitalIdPagesPageItemIdGetRequest, options?: AxiosRequestConfig) {
8408
+ return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdPagesPageItemIdGet(requestParameters.hospitalId, requestParameters.pageItemId, requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
8409
+ }
8410
+
8411
+ /**
8412
+ *
8413
+ * @summary Get page by slug
8414
+ * @param {HospitalsApiApiV2HospitalsHospitalIdPagesSlugGetRequest} requestParameters Request parameters.
8415
+ * @param {*} [options] Override http request option.
8416
+ * @throws {RequiredError}
8417
+ * @memberof HospitalsApi
8418
+ */
8419
+ public apiV2HospitalsHospitalIdPagesSlugGet(requestParameters: HospitalsApiApiV2HospitalsHospitalIdPagesSlugGetRequest, options?: AxiosRequestConfig) {
8420
+ return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdPagesSlugGet(requestParameters.hospitalId, requestParameters.slug, requestParameters.languageCode, requestParameters.previewSecret, options).then((request) => request(this.axios, this.basePath));
8421
+ }
8422
+
8044
8423
  /**
8045
8424
  *
8046
8425
  * @summary Get HospitalPaymentMethods
@@ -8089,6 +8468,18 @@ export class HospitalsApi extends BaseAPI {
8089
8468
  return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdPoliciesSlugGet(requestParameters.hospitalId, requestParameters.slug, requestParameters.languageCode, requestParameters.previewSecret, options).then((request) => request(this.axios, this.basePath));
8090
8469
  }
8091
8470
 
8471
+ /**
8472
+ *
8473
+ * @summary Get hospitalRatings
8474
+ * @param {HospitalsApiApiV2HospitalsHospitalIdRatingsGetRequest} requestParameters Request parameters.
8475
+ * @param {*} [options] Override http request option.
8476
+ * @throws {RequiredError}
8477
+ * @memberof HospitalsApi
8478
+ */
8479
+ public apiV2HospitalsHospitalIdRatingsGet(requestParameters: HospitalsApiApiV2HospitalsHospitalIdRatingsGetRequest, options?: AxiosRequestConfig) {
8480
+ return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdRatingsGet(requestParameters.hospitalId, requestParameters.id, requestParameters.vender, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
8481
+ }
8482
+
8092
8483
  /**
8093
8484
  *
8094
8485
  * @summary Upload secure file as anonymous
@@ -30,6 +30,9 @@ import { HospitalAccreditationItemModel } from './hospital-accreditation-item-mo
30
30
  import { HospitalContactItemModel } from './hospital-contact-item-model';
31
31
  // May contain unused imports in some cases
32
32
  // @ts-ignore
33
+ import { HospitalRatingItemModel } from './hospital-rating-item-model';
34
+ // May contain unused imports in some cases
35
+ // @ts-ignore
33
36
  import { HospitalSpecialtySimpleItemModel } from './hospital-specialty-simple-item-model';
34
37
  // May contain unused imports in some cases
35
38
  // @ts-ignore
@@ -245,6 +248,12 @@ export interface HospitalItemModel {
245
248
  * @memberof HospitalItemModel
246
249
  */
247
250
  'tags'?: Array<HospitalTagItemModel> | null;
251
+ /**
252
+ *
253
+ * @type {Array<HospitalRatingItemModel>}
254
+ * @memberof HospitalItemModel
255
+ */
256
+ 'hospitalRatings'?: Array<HospitalRatingItemModel> | null;
248
257
  /**
249
258
  *
250
259
  * @type {LocationModel}
@@ -45,6 +45,9 @@ import { HospitalEvaluationItemModel } from './hospital-evaluation-item-model';
45
45
  import { HospitalLanguageItemModel } from './hospital-language-item-model';
46
46
  // May contain unused imports in some cases
47
47
  // @ts-ignore
48
+ import { HospitalRatingItemModel } from './hospital-rating-item-model';
49
+ // May contain unused imports in some cases
50
+ // @ts-ignore
48
51
  import { HospitalServiceItemModel } from './hospital-service-item-model';
49
52
  // May contain unused imports in some cases
50
53
  // @ts-ignore
@@ -272,6 +275,12 @@ export interface HospitalModel {
272
275
  * @memberof HospitalModel
273
276
  */
274
277
  'tags'?: Array<HospitalTagItemModel> | null;
278
+ /**
279
+ *
280
+ * @type {Array<HospitalRatingItemModel>}
281
+ * @memberof HospitalModel
282
+ */
283
+ 'hospitalRatings'?: Array<HospitalRatingItemModel> | null;
275
284
  /**
276
285
  *
277
286
  * @type {LocationModel}