ch-api-client-typescript2 4.3.5 → 4.3.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.
package/src/api.ts CHANGED
@@ -6919,6 +6919,201 @@ export interface InviteSendBirdGroupChannelCommand {
6919
6919
  */
6920
6920
  'user_ids'?: Array<string> | null;
6921
6921
  }
6922
+ /**
6923
+ *
6924
+ * @export
6925
+ * @interface LandingItemModel
6926
+ */
6927
+ export interface LandingItemModel {
6928
+ /**
6929
+ *
6930
+ * @type {string}
6931
+ * @memberof LandingItemModel
6932
+ */
6933
+ 'id'?: string;
6934
+ /**
6935
+ *
6936
+ * @type {string}
6937
+ * @memberof LandingItemModel
6938
+ */
6939
+ 'languageCode'?: string | null;
6940
+ /**
6941
+ *
6942
+ * @type {string}
6943
+ * @memberof LandingItemModel
6944
+ */
6945
+ 'name'?: string | null;
6946
+ /**
6947
+ *
6948
+ * @type {string}
6949
+ * @memberof LandingItemModel
6950
+ */
6951
+ 'slug'?: string | null;
6952
+ /**
6953
+ *
6954
+ * @type {boolean}
6955
+ * @memberof LandingItemModel
6956
+ */
6957
+ 'confirmed'?: boolean;
6958
+ /**
6959
+ *
6960
+ * @type {number}
6961
+ * @memberof LandingItemModel
6962
+ */
6963
+ 'order'?: number;
6964
+ /**
6965
+ *
6966
+ * @type {string}
6967
+ * @memberof LandingItemModel
6968
+ */
6969
+ 'photo'?: string | null;
6970
+ /**
6971
+ *
6972
+ * @type {string}
6973
+ * @memberof LandingItemModel
6974
+ */
6975
+ 'photoThumbnail'?: string | null;
6976
+ /**
6977
+ *
6978
+ * @type {AuditableEntity}
6979
+ * @memberof LandingItemModel
6980
+ */
6981
+ 'auditableEntity'?: AuditableEntity;
6982
+ }
6983
+ /**
6984
+ *
6985
+ * @export
6986
+ * @interface LandingModel
6987
+ */
6988
+ export interface LandingModel {
6989
+ /**
6990
+ *
6991
+ * @type {string}
6992
+ * @memberof LandingModel
6993
+ */
6994
+ 'id'?: string;
6995
+ /**
6996
+ *
6997
+ * @type {string}
6998
+ * @memberof LandingModel
6999
+ */
7000
+ 'languageCode'?: string | null;
7001
+ /**
7002
+ *
7003
+ * @type {string}
7004
+ * @memberof LandingModel
7005
+ */
7006
+ 'name'?: string | null;
7007
+ /**
7008
+ *
7009
+ * @type {string}
7010
+ * @memberof LandingModel
7011
+ */
7012
+ 'slug'?: string | null;
7013
+ /**
7014
+ *
7015
+ * @type {boolean}
7016
+ * @memberof LandingModel
7017
+ */
7018
+ 'confirmed'?: boolean;
7019
+ /**
7020
+ *
7021
+ * @type {number}
7022
+ * @memberof LandingModel
7023
+ */
7024
+ 'order'?: number;
7025
+ /**
7026
+ *
7027
+ * @type {string}
7028
+ * @memberof LandingModel
7029
+ */
7030
+ 'photo'?: string | null;
7031
+ /**
7032
+ *
7033
+ * @type {string}
7034
+ * @memberof LandingModel
7035
+ */
7036
+ 'photoThumbnail'?: string | null;
7037
+ /**
7038
+ *
7039
+ * @type {AuditableEntity}
7040
+ * @memberof LandingModel
7041
+ */
7042
+ 'auditableEntity'?: AuditableEntity;
7043
+ /**
7044
+ *
7045
+ * @type {string}
7046
+ * @memberof LandingModel
7047
+ */
7048
+ 'description'?: string | null;
7049
+ /**
7050
+ *
7051
+ * @type {string}
7052
+ * @memberof LandingModel
7053
+ */
7054
+ 'overview'?: string | null;
7055
+ /**
7056
+ *
7057
+ * @type {string}
7058
+ * @memberof LandingModel
7059
+ */
7060
+ 'content'?: string | null;
7061
+ /**
7062
+ *
7063
+ * @type {string}
7064
+ * @memberof LandingModel
7065
+ */
7066
+ 'hospitalId'?: string;
7067
+ /**
7068
+ *
7069
+ * @type {string}
7070
+ * @memberof LandingModel
7071
+ */
7072
+ 'hospitalName'?: string | null;
7073
+ /**
7074
+ *
7075
+ * @type {string}
7076
+ * @memberof LandingModel
7077
+ */
7078
+ 'hospitalSlug'?: string | null;
7079
+ /**
7080
+ *
7081
+ * @type {string}
7082
+ * @memberof LandingModel
7083
+ */
7084
+ 'customStyle'?: string | null;
7085
+ /**
7086
+ *
7087
+ * @type {Array<LocalizedUrlModel>}
7088
+ * @memberof LandingModel
7089
+ */
7090
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
7091
+ /**
7092
+ *
7093
+ * @type {Array<MediaModel>}
7094
+ * @memberof LandingModel
7095
+ */
7096
+ 'medias'?: Array<MediaModel> | null;
7097
+ }
7098
+ /**
7099
+ *
7100
+ * @export
7101
+ * @interface LandingsModel
7102
+ */
7103
+ export interface LandingsModel {
7104
+ /**
7105
+ *
7106
+ * @type {Array<LandingItemModel>}
7107
+ * @memberof LandingsModel
7108
+ */
7109
+ 'items'?: Array<LandingItemModel> | null;
7110
+ /**
7111
+ *
7112
+ * @type {PagedListMetaData}
7113
+ * @memberof LandingsModel
7114
+ */
7115
+ 'metaData'?: PagedListMetaData;
7116
+ }
6922
7117
  /**
6923
7118
  *
6924
7119
  * @export
@@ -8415,6 +8610,12 @@ export interface ServiceReviewItemModel {
8415
8610
  * @memberof ServiceReviewItemModel
8416
8611
  */
8417
8612
  'hospitalId'?: string;
8613
+ /**
8614
+ *
8615
+ * @type {string}
8616
+ * @memberof ServiceReviewItemModel
8617
+ */
8618
+ 'hospitalSpecialtyId'?: string;
8418
8619
  /**
8419
8620
  *
8420
8621
  * @type {string}
@@ -8548,6 +8749,12 @@ export interface ServiceReviewModel {
8548
8749
  * @memberof ServiceReviewModel
8549
8750
  */
8550
8751
  'hospitalId'?: string;
8752
+ /**
8753
+ *
8754
+ * @type {string}
8755
+ * @memberof ServiceReviewModel
8756
+ */
8757
+ 'hospitalSpecialtyId'?: string;
8551
8758
  /**
8552
8759
  *
8553
8760
  * @type {string}
@@ -20795,6 +21002,160 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
20795
21002
 
20796
21003
 
20797
21004
 
21005
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
21006
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
21007
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
21008
+
21009
+ return {
21010
+ url: toPathString(localVarUrlObj),
21011
+ options: localVarRequestOptions,
21012
+ };
21013
+ },
21014
+ /**
21015
+ *
21016
+ * @param {string} hospitalId
21017
+ * @param {string} [name]
21018
+ * @param {string} [slug]
21019
+ * @param {string} [languageCode]
21020
+ * @param {boolean} [showHidden]
21021
+ * @param {number} [page]
21022
+ * @param {number} [limit]
21023
+ * @param {Date} [lastRetrieved]
21024
+ * @param {*} [options] Override http request option.
21025
+ * @throws {RequiredError}
21026
+ */
21027
+ apiV2HospitalsHospitalIdLandingsGet: async (hospitalId: string, name?: string, slug?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
21028
+ // verify required parameter 'hospitalId' is not null or undefined
21029
+ assertParamExists('apiV2HospitalsHospitalIdLandingsGet', 'hospitalId', hospitalId)
21030
+ const localVarPath = `/api/v2/hospitals/{hospitalId}/landings`
21031
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
21032
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
21033
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
21034
+ let baseOptions;
21035
+ if (configuration) {
21036
+ baseOptions = configuration.baseOptions;
21037
+ }
21038
+
21039
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
21040
+ const localVarHeaderParameter = {} as any;
21041
+ const localVarQueryParameter = {} as any;
21042
+
21043
+ if (name !== undefined) {
21044
+ localVarQueryParameter['Name'] = name;
21045
+ }
21046
+
21047
+ if (slug !== undefined) {
21048
+ localVarQueryParameter['Slug'] = slug;
21049
+ }
21050
+
21051
+ if (languageCode !== undefined) {
21052
+ localVarQueryParameter['LanguageCode'] = languageCode;
21053
+ }
21054
+
21055
+ if (showHidden !== undefined) {
21056
+ localVarQueryParameter['ShowHidden'] = showHidden;
21057
+ }
21058
+
21059
+ if (page !== undefined) {
21060
+ localVarQueryParameter['page'] = page;
21061
+ }
21062
+
21063
+ if (limit !== undefined) {
21064
+ localVarQueryParameter['limit'] = limit;
21065
+ }
21066
+
21067
+ if (lastRetrieved !== undefined) {
21068
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
21069
+ (lastRetrieved as any).toISOString() :
21070
+ lastRetrieved;
21071
+ }
21072
+
21073
+
21074
+
21075
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
21076
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
21077
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
21078
+
21079
+ return {
21080
+ url: toPathString(localVarUrlObj),
21081
+ options: localVarRequestOptions,
21082
+ };
21083
+ },
21084
+ /**
21085
+ *
21086
+ * @param {string} hospitalId
21087
+ * @param {string} landingId
21088
+ * @param {string} [languageCode]
21089
+ * @param {*} [options] Override http request option.
21090
+ * @throws {RequiredError}
21091
+ */
21092
+ apiV2HospitalsHospitalIdLandingsLandingIdGet: async (hospitalId: string, landingId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
21093
+ // verify required parameter 'hospitalId' is not null or undefined
21094
+ assertParamExists('apiV2HospitalsHospitalIdLandingsLandingIdGet', 'hospitalId', hospitalId)
21095
+ // verify required parameter 'landingId' is not null or undefined
21096
+ assertParamExists('apiV2HospitalsHospitalIdLandingsLandingIdGet', 'landingId', landingId)
21097
+ const localVarPath = `/api/v2/hospitals/{hospitalId}/landings/{landingId}`
21098
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
21099
+ .replace(`{${"landingId"}}`, encodeURIComponent(String(landingId)));
21100
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
21101
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
21102
+ let baseOptions;
21103
+ if (configuration) {
21104
+ baseOptions = configuration.baseOptions;
21105
+ }
21106
+
21107
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
21108
+ const localVarHeaderParameter = {} as any;
21109
+ const localVarQueryParameter = {} as any;
21110
+
21111
+ if (languageCode !== undefined) {
21112
+ localVarQueryParameter['languageCode'] = languageCode;
21113
+ }
21114
+
21115
+
21116
+
21117
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
21118
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
21119
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
21120
+
21121
+ return {
21122
+ url: toPathString(localVarUrlObj),
21123
+ options: localVarRequestOptions,
21124
+ };
21125
+ },
21126
+ /**
21127
+ *
21128
+ * @param {string} slug
21129
+ * @param {string} hospitalId
21130
+ * @param {string} [languageCode]
21131
+ * @param {*} [options] Override http request option.
21132
+ * @throws {RequiredError}
21133
+ */
21134
+ apiV2HospitalsHospitalIdLandingsSlugGet: async (slug: string, hospitalId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
21135
+ // verify required parameter 'slug' is not null or undefined
21136
+ assertParamExists('apiV2HospitalsHospitalIdLandingsSlugGet', 'slug', slug)
21137
+ // verify required parameter 'hospitalId' is not null or undefined
21138
+ assertParamExists('apiV2HospitalsHospitalIdLandingsSlugGet', 'hospitalId', hospitalId)
21139
+ const localVarPath = `/api/v2/hospitals/{hospitalId}/landings/{slug}`
21140
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)))
21141
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
21142
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
21143
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
21144
+ let baseOptions;
21145
+ if (configuration) {
21146
+ baseOptions = configuration.baseOptions;
21147
+ }
21148
+
21149
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
21150
+ const localVarHeaderParameter = {} as any;
21151
+ const localVarQueryParameter = {} as any;
21152
+
21153
+ if (languageCode !== undefined) {
21154
+ localVarQueryParameter['languageCode'] = languageCode;
21155
+ }
21156
+
21157
+
21158
+
20798
21159
  setSearchParams(localVarUrlObj, localVarQueryParameter);
20799
21160
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20800
21161
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -22039,6 +22400,47 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
22039
22400
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdHandlesHandleIdGet(hospitalId, handleId, options);
22040
22401
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
22041
22402
  },
22403
+ /**
22404
+ *
22405
+ * @param {string} hospitalId
22406
+ * @param {string} [name]
22407
+ * @param {string} [slug]
22408
+ * @param {string} [languageCode]
22409
+ * @param {boolean} [showHidden]
22410
+ * @param {number} [page]
22411
+ * @param {number} [limit]
22412
+ * @param {Date} [lastRetrieved]
22413
+ * @param {*} [options] Override http request option.
22414
+ * @throws {RequiredError}
22415
+ */
22416
+ async apiV2HospitalsHospitalIdLandingsGet(hospitalId: string, name?: string, slug?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LandingsModel>> {
22417
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdLandingsGet(hospitalId, name, slug, languageCode, showHidden, page, limit, lastRetrieved, options);
22418
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
22419
+ },
22420
+ /**
22421
+ *
22422
+ * @param {string} hospitalId
22423
+ * @param {string} landingId
22424
+ * @param {string} [languageCode]
22425
+ * @param {*} [options] Override http request option.
22426
+ * @throws {RequiredError}
22427
+ */
22428
+ async apiV2HospitalsHospitalIdLandingsLandingIdGet(hospitalId: string, landingId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LandingModel>> {
22429
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdLandingsLandingIdGet(hospitalId, landingId, languageCode, options);
22430
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
22431
+ },
22432
+ /**
22433
+ *
22434
+ * @param {string} slug
22435
+ * @param {string} hospitalId
22436
+ * @param {string} [languageCode]
22437
+ * @param {*} [options] Override http request option.
22438
+ * @throws {RequiredError}
22439
+ */
22440
+ async apiV2HospitalsHospitalIdLandingsSlugGet(slug: string, hospitalId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LandingModel>> {
22441
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdLandingsSlugGet(slug, hospitalId, languageCode, options);
22442
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
22443
+ },
22042
22444
  /**
22043
22445
  *
22044
22446
  * @summary Get all HospitalMedias.
@@ -22496,6 +22898,44 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
22496
22898
  apiV2HospitalsHospitalIdHandlesHandleIdGet(hospitalId: string, handleId: string, options?: any): AxiosPromise<SnsHandleModel> {
22497
22899
  return localVarFp.apiV2HospitalsHospitalIdHandlesHandleIdGet(hospitalId, handleId, options).then((request) => request(axios, basePath));
22498
22900
  },
22901
+ /**
22902
+ *
22903
+ * @param {string} hospitalId
22904
+ * @param {string} [name]
22905
+ * @param {string} [slug]
22906
+ * @param {string} [languageCode]
22907
+ * @param {boolean} [showHidden]
22908
+ * @param {number} [page]
22909
+ * @param {number} [limit]
22910
+ * @param {Date} [lastRetrieved]
22911
+ * @param {*} [options] Override http request option.
22912
+ * @throws {RequiredError}
22913
+ */
22914
+ apiV2HospitalsHospitalIdLandingsGet(hospitalId: string, name?: string, slug?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<LandingsModel> {
22915
+ return localVarFp.apiV2HospitalsHospitalIdLandingsGet(hospitalId, name, slug, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
22916
+ },
22917
+ /**
22918
+ *
22919
+ * @param {string} hospitalId
22920
+ * @param {string} landingId
22921
+ * @param {string} [languageCode]
22922
+ * @param {*} [options] Override http request option.
22923
+ * @throws {RequiredError}
22924
+ */
22925
+ apiV2HospitalsHospitalIdLandingsLandingIdGet(hospitalId: string, landingId: string, languageCode?: string, options?: any): AxiosPromise<LandingModel> {
22926
+ return localVarFp.apiV2HospitalsHospitalIdLandingsLandingIdGet(hospitalId, landingId, languageCode, options).then((request) => request(axios, basePath));
22927
+ },
22928
+ /**
22929
+ *
22930
+ * @param {string} slug
22931
+ * @param {string} hospitalId
22932
+ * @param {string} [languageCode]
22933
+ * @param {*} [options] Override http request option.
22934
+ * @throws {RequiredError}
22935
+ */
22936
+ apiV2HospitalsHospitalIdLandingsSlugGet(slug: string, hospitalId: string, languageCode?: string, options?: any): AxiosPromise<LandingModel> {
22937
+ return localVarFp.apiV2HospitalsHospitalIdLandingsSlugGet(slug, hospitalId, languageCode, options).then((request) => request(axios, basePath));
22938
+ },
22499
22939
  /**
22500
22940
  *
22501
22941
  * @summary Get all HospitalMedias.
@@ -22961,6 +23401,50 @@ export class HospitalsApi extends BaseAPI {
22961
23401
  return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdHandlesHandleIdGet(hospitalId, handleId, options).then((request) => request(this.axios, this.basePath));
22962
23402
  }
22963
23403
 
23404
+ /**
23405
+ *
23406
+ * @param {string} hospitalId
23407
+ * @param {string} [name]
23408
+ * @param {string} [slug]
23409
+ * @param {string} [languageCode]
23410
+ * @param {boolean} [showHidden]
23411
+ * @param {number} [page]
23412
+ * @param {number} [limit]
23413
+ * @param {Date} [lastRetrieved]
23414
+ * @param {*} [options] Override http request option.
23415
+ * @throws {RequiredError}
23416
+ * @memberof HospitalsApi
23417
+ */
23418
+ public apiV2HospitalsHospitalIdLandingsGet(hospitalId: string, name?: string, slug?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
23419
+ return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdLandingsGet(hospitalId, name, slug, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
23420
+ }
23421
+
23422
+ /**
23423
+ *
23424
+ * @param {string} hospitalId
23425
+ * @param {string} landingId
23426
+ * @param {string} [languageCode]
23427
+ * @param {*} [options] Override http request option.
23428
+ * @throws {RequiredError}
23429
+ * @memberof HospitalsApi
23430
+ */
23431
+ public apiV2HospitalsHospitalIdLandingsLandingIdGet(hospitalId: string, landingId: string, languageCode?: string, options?: AxiosRequestConfig) {
23432
+ return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdLandingsLandingIdGet(hospitalId, landingId, languageCode, options).then((request) => request(this.axios, this.basePath));
23433
+ }
23434
+
23435
+ /**
23436
+ *
23437
+ * @param {string} slug
23438
+ * @param {string} hospitalId
23439
+ * @param {string} [languageCode]
23440
+ * @param {*} [options] Override http request option.
23441
+ * @throws {RequiredError}
23442
+ * @memberof HospitalsApi
23443
+ */
23444
+ public apiV2HospitalsHospitalIdLandingsSlugGet(slug: string, hospitalId: string, languageCode?: string, options?: AxiosRequestConfig) {
23445
+ return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdLandingsSlugGet(slug, hospitalId, languageCode, options).then((request) => request(this.axios, this.basePath));
23446
+ }
23447
+
22964
23448
  /**
22965
23449
  *
22966
23450
  * @summary Get all HospitalMedias.
@@ -25174,6 +25658,7 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
25174
25658
  * @summary Get all ServiceReviews.
25175
25659
  * @param {string} [id]
25176
25660
  * @param {string} [hospitalId]
25661
+ * @param {string} [hospitalSpecialtyId]
25177
25662
  * @param {string} [serviceId]
25178
25663
  * @param {string} [serviceName]
25179
25664
  * @param {string} [patientId]
@@ -25190,7 +25675,7 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
25190
25675
  * @param {*} [options] Override http request option.
25191
25676
  * @throws {RequiredError}
25192
25677
  */
25193
- apiV2ServicereviewsGet: async (id?: string, hospitalId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
25678
+ apiV2ServicereviewsGet: async (id?: string, hospitalId?: string, hospitalSpecialtyId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
25194
25679
  const localVarPath = `/api/v2/servicereviews`;
25195
25680
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
25196
25681
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -25211,6 +25696,10 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
25211
25696
  localVarQueryParameter['HospitalId'] = hospitalId;
25212
25697
  }
25213
25698
 
25699
+ if (hospitalSpecialtyId !== undefined) {
25700
+ localVarQueryParameter['HospitalSpecialtyId'] = hospitalSpecialtyId;
25701
+ }
25702
+
25214
25703
  if (serviceId !== undefined) {
25215
25704
  localVarQueryParameter['ServiceId'] = serviceId;
25216
25705
  }
@@ -25676,6 +26165,7 @@ export const ServiceReviewsApiFp = function(configuration?: Configuration) {
25676
26165
  * @summary Get all ServiceReviews.
25677
26166
  * @param {string} [id]
25678
26167
  * @param {string} [hospitalId]
26168
+ * @param {string} [hospitalSpecialtyId]
25679
26169
  * @param {string} [serviceId]
25680
26170
  * @param {string} [serviceName]
25681
26171
  * @param {string} [patientId]
@@ -25692,8 +26182,8 @@ export const ServiceReviewsApiFp = function(configuration?: Configuration) {
25692
26182
  * @param {*} [options] Override http request option.
25693
26183
  * @throws {RequiredError}
25694
26184
  */
25695
- async apiV2ServicereviewsGet(id?: string, hospitalId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewsModel>> {
25696
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsGet(id, hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options);
26185
+ async apiV2ServicereviewsGet(id?: string, hospitalId?: string, hospitalSpecialtyId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewsModel>> {
26186
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsGet(id, hospitalId, hospitalSpecialtyId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options);
25697
26187
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
25698
26188
  },
25699
26189
  /**
@@ -25821,6 +26311,7 @@ export const ServiceReviewsApiFactory = function (configuration?: Configuration,
25821
26311
  * @summary Get all ServiceReviews.
25822
26312
  * @param {string} [id]
25823
26313
  * @param {string} [hospitalId]
26314
+ * @param {string} [hospitalSpecialtyId]
25824
26315
  * @param {string} [serviceId]
25825
26316
  * @param {string} [serviceName]
25826
26317
  * @param {string} [patientId]
@@ -25837,8 +26328,8 @@ export const ServiceReviewsApiFactory = function (configuration?: Configuration,
25837
26328
  * @param {*} [options] Override http request option.
25838
26329
  * @throws {RequiredError}
25839
26330
  */
25840
- apiV2ServicereviewsGet(id?: string, hospitalId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceReviewsModel> {
25841
- return localVarFp.apiV2ServicereviewsGet(id, hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
26331
+ apiV2ServicereviewsGet(id?: string, hospitalId?: string, hospitalSpecialtyId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceReviewsModel> {
26332
+ return localVarFp.apiV2ServicereviewsGet(id, hospitalId, hospitalSpecialtyId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
25842
26333
  },
25843
26334
  /**
25844
26335
  *
@@ -25956,6 +26447,7 @@ export class ServiceReviewsApi extends BaseAPI {
25956
26447
  * @summary Get all ServiceReviews.
25957
26448
  * @param {string} [id]
25958
26449
  * @param {string} [hospitalId]
26450
+ * @param {string} [hospitalSpecialtyId]
25959
26451
  * @param {string} [serviceId]
25960
26452
  * @param {string} [serviceName]
25961
26453
  * @param {string} [patientId]
@@ -25973,8 +26465,8 @@ export class ServiceReviewsApi extends BaseAPI {
25973
26465
  * @throws {RequiredError}
25974
26466
  * @memberof ServiceReviewsApi
25975
26467
  */
25976
- public apiV2ServicereviewsGet(id?: string, hospitalId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
25977
- return ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsGet(id, hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
26468
+ public apiV2ServicereviewsGet(id?: string, hospitalId?: string, hospitalSpecialtyId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
26469
+ return ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsGet(id, hospitalId, hospitalSpecialtyId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
25978
26470
  }
25979
26471
 
25980
26472
  /**