ch-admin-api-client-typescript 2.7.8 → 2.7.9

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
@@ -4555,6 +4555,30 @@ export interface DealItemModel {
4555
4555
  * @memberof DealItemModel
4556
4556
  */
4557
4557
  'hospitalSlug'?: string | null;
4558
+ /**
4559
+ *
4560
+ * @type {string}
4561
+ * @memberof DealItemModel
4562
+ */
4563
+ 'hospitalLocationCountry'?: string | null;
4564
+ /**
4565
+ *
4566
+ * @type {string}
4567
+ * @memberof DealItemModel
4568
+ */
4569
+ 'hospitalLocationState'?: string | null;
4570
+ /**
4571
+ *
4572
+ * @type {boolean}
4573
+ * @memberof DealItemModel
4574
+ */
4575
+ 'hospitalConsultationEnabled'?: boolean;
4576
+ /**
4577
+ *
4578
+ * @type {number}
4579
+ * @memberof DealItemModel
4580
+ */
4581
+ 'serviceDuration'?: number;
4558
4582
  /**
4559
4583
  *
4560
4584
  * @type {MarketingType}
@@ -4658,6 +4682,30 @@ export interface DealModel {
4658
4682
  * @memberof DealModel
4659
4683
  */
4660
4684
  'hospitalSlug'?: string | null;
4685
+ /**
4686
+ *
4687
+ * @type {string}
4688
+ * @memberof DealModel
4689
+ */
4690
+ 'hospitalLocationCountry'?: string | null;
4691
+ /**
4692
+ *
4693
+ * @type {string}
4694
+ * @memberof DealModel
4695
+ */
4696
+ 'hospitalLocationState'?: string | null;
4697
+ /**
4698
+ *
4699
+ * @type {boolean}
4700
+ * @memberof DealModel
4701
+ */
4702
+ 'hospitalConsultationEnabled'?: boolean;
4703
+ /**
4704
+ *
4705
+ * @type {number}
4706
+ * @memberof DealModel
4707
+ */
4708
+ 'serviceDuration'?: number;
4661
4709
  /**
4662
4710
  *
4663
4711
  * @type {MarketingType}
@@ -5481,6 +5529,67 @@ export interface DoctorItemModel {
5481
5529
  */
5482
5530
  'confirmed'?: boolean;
5483
5531
  }
5532
+ /**
5533
+ *
5534
+ * @export
5535
+ * @interface DoctorItemSimpleModel
5536
+ */
5537
+ export interface DoctorItemSimpleModel {
5538
+ /**
5539
+ *
5540
+ * @type {string}
5541
+ * @memberof DoctorItemSimpleModel
5542
+ */
5543
+ 'id'?: string;
5544
+ /**
5545
+ *
5546
+ * @type {string}
5547
+ * @memberof DoctorItemSimpleModel
5548
+ */
5549
+ 'firstName'?: string | null;
5550
+ /**
5551
+ *
5552
+ * @type {string}
5553
+ * @memberof DoctorItemSimpleModel
5554
+ */
5555
+ 'lastName'?: string | null;
5556
+ /**
5557
+ *
5558
+ * @type {string}
5559
+ * @memberof DoctorItemSimpleModel
5560
+ */
5561
+ 'fullname'?: string | null;
5562
+ /**
5563
+ *
5564
+ * @type {string}
5565
+ * @memberof DoctorItemSimpleModel
5566
+ */
5567
+ 'slug'?: string | null;
5568
+ /**
5569
+ *
5570
+ * @type {string}
5571
+ * @memberof DoctorItemSimpleModel
5572
+ */
5573
+ 'hospitalId'?: string | null;
5574
+ /**
5575
+ *
5576
+ * @type {string}
5577
+ * @memberof DoctorItemSimpleModel
5578
+ */
5579
+ 'hospitalName'?: string | null;
5580
+ /**
5581
+ *
5582
+ * @type {string}
5583
+ * @memberof DoctorItemSimpleModel
5584
+ */
5585
+ 'overview'?: string | null;
5586
+ /**
5587
+ *
5588
+ * @type {boolean}
5589
+ * @memberof DoctorItemSimpleModel
5590
+ */
5591
+ 'confirmed'?: boolean;
5592
+ }
5484
5593
  /**
5485
5594
  *
5486
5595
  * @export
@@ -5860,6 +5969,25 @@ export interface DoctorsModel {
5860
5969
  */
5861
5970
  'metaData'?: PagedListMetaData;
5862
5971
  }
5972
+ /**
5973
+ *
5974
+ * @export
5975
+ * @interface DoctorsSimpleModel
5976
+ */
5977
+ export interface DoctorsSimpleModel {
5978
+ /**
5979
+ *
5980
+ * @type {Array<DoctorItemSimpleModel>}
5981
+ * @memberof DoctorsSimpleModel
5982
+ */
5983
+ 'items'?: Array<DoctorItemSimpleModel> | null;
5984
+ /**
5985
+ *
5986
+ * @type {PagedListMetaData}
5987
+ * @memberof DoctorsSimpleModel
5988
+ */
5989
+ 'metaData'?: PagedListMetaData;
5990
+ }
5863
5991
  /**
5864
5992
  *
5865
5993
  * @export
@@ -20407,6 +20535,7 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
20407
20535
  * @param {string} [hospitalName]
20408
20536
  * @param {string} [specialtyId]
20409
20537
  * @param {string} [specialtyTypeId]
20538
+ * @param {string} [serviceId]
20410
20539
  * @param {string} [exceptHospitalId]
20411
20540
  * @param {string} [exceptDealId]
20412
20541
  * @param {Array<string>} [ids]
@@ -20419,7 +20548,7 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
20419
20548
  * @param {*} [options] Override http request option.
20420
20549
  * @throws {RequiredError}
20421
20550
  */
20422
- apiV1DealsGet: async (id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
20551
+ apiV1DealsGet: async (id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
20423
20552
  const localVarPath = `/api/v1/deals`;
20424
20553
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
20425
20554
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -20468,6 +20597,10 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
20468
20597
  localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
20469
20598
  }
20470
20599
 
20600
+ if (serviceId !== undefined) {
20601
+ localVarQueryParameter['ServiceId'] = serviceId;
20602
+ }
20603
+
20471
20604
  if (exceptHospitalId !== undefined) {
20472
20605
  localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
20473
20606
  }
@@ -20792,6 +20925,7 @@ export const DealsApiFp = function(configuration?: Configuration) {
20792
20925
  * @param {string} [hospitalName]
20793
20926
  * @param {string} [specialtyId]
20794
20927
  * @param {string} [specialtyTypeId]
20928
+ * @param {string} [serviceId]
20795
20929
  * @param {string} [exceptHospitalId]
20796
20930
  * @param {string} [exceptDealId]
20797
20931
  * @param {Array<string>} [ids]
@@ -20804,8 +20938,8 @@ export const DealsApiFp = function(configuration?: Configuration) {
20804
20938
  * @param {*} [options] Override http request option.
20805
20939
  * @throws {RequiredError}
20806
20940
  */
20807
- async apiV1DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealsModel>> {
20808
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
20941
+ async apiV1DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealsModel>> {
20942
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
20809
20943
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
20810
20944
  },
20811
20945
  /**
@@ -21008,6 +21142,7 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
21008
21142
  * @param {string} [hospitalName]
21009
21143
  * @param {string} [specialtyId]
21010
21144
  * @param {string} [specialtyTypeId]
21145
+ * @param {string} [serviceId]
21011
21146
  * @param {string} [exceptHospitalId]
21012
21147
  * @param {string} [exceptDealId]
21013
21148
  * @param {Array<string>} [ids]
@@ -21020,8 +21155,8 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
21020
21155
  * @param {*} [options] Override http request option.
21021
21156
  * @throws {RequiredError}
21022
21157
  */
21023
- apiV1DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealsModel> {
21024
- return localVarFp.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
21158
+ apiV1DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealsModel> {
21159
+ return localVarFp.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
21025
21160
  },
21026
21161
  /**
21027
21162
  *
@@ -21247,6 +21382,7 @@ export class DealsApi extends BaseAPI {
21247
21382
  * @param {string} [hospitalName]
21248
21383
  * @param {string} [specialtyId]
21249
21384
  * @param {string} [specialtyTypeId]
21385
+ * @param {string} [serviceId]
21250
21386
  * @param {string} [exceptHospitalId]
21251
21387
  * @param {string} [exceptDealId]
21252
21388
  * @param {Array<string>} [ids]
@@ -21260,8 +21396,8 @@ export class DealsApi extends BaseAPI {
21260
21396
  * @throws {RequiredError}
21261
21397
  * @memberof DealsApi
21262
21398
  */
21263
- public apiV1DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
21264
- return DealsApiFp(this.configuration).apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
21399
+ public apiV1DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
21400
+ return DealsApiFp(this.configuration).apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
21265
21401
  }
21266
21402
 
21267
21403
  /**
@@ -22989,6 +23125,116 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
22989
23125
  options: localVarRequestOptions,
22990
23126
  };
22991
23127
  },
23128
+ /**
23129
+ *
23130
+ * @summary Get all Doctors.
23131
+ * @param {string} [hospitalId]
23132
+ * @param {string} [languageCode]
23133
+ * @param {boolean} [returnDefaultValue]
23134
+ * @param {Array<string>} [ids]
23135
+ * @param {string} [id]
23136
+ * @param {string} [fullname]
23137
+ * @param {string} [email]
23138
+ * @param {Gender} [gender]
23139
+ * @param {Date} [dateOfBirth]
23140
+ * @param {Date} [created]
23141
+ * @param {boolean} [showHidden]
23142
+ * @param {number} [page]
23143
+ * @param {number} [limit]
23144
+ * @param {Date} [lastRetrieved]
23145
+ * @param {*} [options] Override http request option.
23146
+ * @throws {RequiredError}
23147
+ */
23148
+ apiV1DoctorsSimpleGet: async (hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, ids?: Array<string>, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23149
+ const localVarPath = `/api/v1/doctors/simple`;
23150
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23151
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23152
+ let baseOptions;
23153
+ if (configuration) {
23154
+ baseOptions = configuration.baseOptions;
23155
+ }
23156
+
23157
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
23158
+ const localVarHeaderParameter = {} as any;
23159
+ const localVarQueryParameter = {} as any;
23160
+
23161
+ // authentication oauth2 required
23162
+ // oauth required
23163
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23164
+
23165
+ if (hospitalId !== undefined) {
23166
+ localVarQueryParameter['HospitalId'] = hospitalId;
23167
+ }
23168
+
23169
+ if (languageCode !== undefined) {
23170
+ localVarQueryParameter['LanguageCode'] = languageCode;
23171
+ }
23172
+
23173
+ if (returnDefaultValue !== undefined) {
23174
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
23175
+ }
23176
+
23177
+ if (ids) {
23178
+ localVarQueryParameter['Ids'] = ids;
23179
+ }
23180
+
23181
+ if (id !== undefined) {
23182
+ localVarQueryParameter['Id'] = id;
23183
+ }
23184
+
23185
+ if (fullname !== undefined) {
23186
+ localVarQueryParameter['Fullname'] = fullname;
23187
+ }
23188
+
23189
+ if (email !== undefined) {
23190
+ localVarQueryParameter['Email'] = email;
23191
+ }
23192
+
23193
+ if (gender !== undefined) {
23194
+ localVarQueryParameter['Gender'] = gender;
23195
+ }
23196
+
23197
+ if (dateOfBirth !== undefined) {
23198
+ localVarQueryParameter['DateOfBirth'] = (dateOfBirth as any instanceof Date) ?
23199
+ (dateOfBirth as any).toISOString() :
23200
+ dateOfBirth;
23201
+ }
23202
+
23203
+ if (created !== undefined) {
23204
+ localVarQueryParameter['Created'] = (created as any instanceof Date) ?
23205
+ (created as any).toISOString() :
23206
+ created;
23207
+ }
23208
+
23209
+ if (showHidden !== undefined) {
23210
+ localVarQueryParameter['ShowHidden'] = showHidden;
23211
+ }
23212
+
23213
+ if (page !== undefined) {
23214
+ localVarQueryParameter['page'] = page;
23215
+ }
23216
+
23217
+ if (limit !== undefined) {
23218
+ localVarQueryParameter['limit'] = limit;
23219
+ }
23220
+
23221
+ if (lastRetrieved !== undefined) {
23222
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
23223
+ (lastRetrieved as any).toISOString() :
23224
+ lastRetrieved;
23225
+ }
23226
+
23227
+
23228
+
23229
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23230
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23231
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23232
+
23233
+ return {
23234
+ url: toPathString(localVarUrlObj),
23235
+ options: localVarRequestOptions,
23236
+ };
23237
+ },
22992
23238
  /**
22993
23239
  *
22994
23240
  * @param {string} slug
@@ -23499,6 +23745,30 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
23499
23745
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsPost(createDoctorCommand, options);
23500
23746
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23501
23747
  },
23748
+ /**
23749
+ *
23750
+ * @summary Get all Doctors.
23751
+ * @param {string} [hospitalId]
23752
+ * @param {string} [languageCode]
23753
+ * @param {boolean} [returnDefaultValue]
23754
+ * @param {Array<string>} [ids]
23755
+ * @param {string} [id]
23756
+ * @param {string} [fullname]
23757
+ * @param {string} [email]
23758
+ * @param {Gender} [gender]
23759
+ * @param {Date} [dateOfBirth]
23760
+ * @param {Date} [created]
23761
+ * @param {boolean} [showHidden]
23762
+ * @param {number} [page]
23763
+ * @param {number} [limit]
23764
+ * @param {Date} [lastRetrieved]
23765
+ * @param {*} [options] Override http request option.
23766
+ * @throws {RequiredError}
23767
+ */
23768
+ async apiV1DoctorsSimpleGet(hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, ids?: Array<string>, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorsSimpleModel>> {
23769
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options);
23770
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23771
+ },
23502
23772
  /**
23503
23773
  *
23504
23774
  * @param {string} slug
@@ -23940,6 +24210,29 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
23940
24210
  apiV1DoctorsPost(createDoctorCommand?: CreateDoctorCommand, options?: any): AxiosPromise<DoctorModel> {
23941
24211
  return localVarFp.apiV1DoctorsPost(createDoctorCommand, options).then((request) => request(axios, basePath));
23942
24212
  },
24213
+ /**
24214
+ *
24215
+ * @summary Get all Doctors.
24216
+ * @param {string} [hospitalId]
24217
+ * @param {string} [languageCode]
24218
+ * @param {boolean} [returnDefaultValue]
24219
+ * @param {Array<string>} [ids]
24220
+ * @param {string} [id]
24221
+ * @param {string} [fullname]
24222
+ * @param {string} [email]
24223
+ * @param {Gender} [gender]
24224
+ * @param {Date} [dateOfBirth]
24225
+ * @param {Date} [created]
24226
+ * @param {boolean} [showHidden]
24227
+ * @param {number} [page]
24228
+ * @param {number} [limit]
24229
+ * @param {Date} [lastRetrieved]
24230
+ * @param {*} [options] Override http request option.
24231
+ * @throws {RequiredError}
24232
+ */
24233
+ apiV1DoctorsSimpleGet(hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, ids?: Array<string>, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorsSimpleModel> {
24234
+ return localVarFp.apiV1DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
24235
+ },
23943
24236
  /**
23944
24237
  *
23945
24238
  * @param {string} slug
@@ -24448,6 +24741,31 @@ export class DoctorsApi extends BaseAPI {
24448
24741
  return DoctorsApiFp(this.configuration).apiV1DoctorsPost(createDoctorCommand, options).then((request) => request(this.axios, this.basePath));
24449
24742
  }
24450
24743
 
24744
+ /**
24745
+ *
24746
+ * @summary Get all Doctors.
24747
+ * @param {string} [hospitalId]
24748
+ * @param {string} [languageCode]
24749
+ * @param {boolean} [returnDefaultValue]
24750
+ * @param {Array<string>} [ids]
24751
+ * @param {string} [id]
24752
+ * @param {string} [fullname]
24753
+ * @param {string} [email]
24754
+ * @param {Gender} [gender]
24755
+ * @param {Date} [dateOfBirth]
24756
+ * @param {Date} [created]
24757
+ * @param {boolean} [showHidden]
24758
+ * @param {number} [page]
24759
+ * @param {number} [limit]
24760
+ * @param {Date} [lastRetrieved]
24761
+ * @param {*} [options] Override http request option.
24762
+ * @throws {RequiredError}
24763
+ * @memberof DoctorsApi
24764
+ */
24765
+ public apiV1DoctorsSimpleGet(hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, ids?: Array<string>, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
24766
+ return DoctorsApiFp(this.configuration).apiV1DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
24767
+ }
24768
+
24451
24769
  /**
24452
24770
  *
24453
24771
  * @param {string} slug
@@ -36125,6 +36443,7 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
36125
36443
  * @param {string} [serviceName]
36126
36444
  * @param {string} [patientId]
36127
36445
  * @param {string} [patientName]
36446
+ * @param {Gender} [gender]
36128
36447
  * @param {boolean} [recommended]
36129
36448
  * @param {number} [rate]
36130
36449
  * @param {ReviewType} [reviewType]
@@ -36134,7 +36453,7 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
36134
36453
  * @param {*} [options] Override http request option.
36135
36454
  * @throws {RequiredError}
36136
36455
  */
36137
- apiV1ServicereviewsGet: async (serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
36456
+ apiV1ServicereviewsGet: async (serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
36138
36457
  const localVarPath = `/api/v1/servicereviews`;
36139
36458
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
36140
36459
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -36167,6 +36486,10 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
36167
36486
  localVarQueryParameter['PatientName'] = patientName;
36168
36487
  }
36169
36488
 
36489
+ if (gender !== undefined) {
36490
+ localVarQueryParameter['Gender'] = gender;
36491
+ }
36492
+
36170
36493
  if (recommended !== undefined) {
36171
36494
  localVarQueryParameter['Recommended'] = recommended;
36172
36495
  }
@@ -36613,6 +36936,7 @@ export const ServiceReviewsApiFp = function(configuration?: Configuration) {
36613
36936
  * @param {string} [serviceName]
36614
36937
  * @param {string} [patientId]
36615
36938
  * @param {string} [patientName]
36939
+ * @param {Gender} [gender]
36616
36940
  * @param {boolean} [recommended]
36617
36941
  * @param {number} [rate]
36618
36942
  * @param {ReviewType} [reviewType]
@@ -36622,8 +36946,8 @@ export const ServiceReviewsApiFp = function(configuration?: Configuration) {
36622
36946
  * @param {*} [options] Override http request option.
36623
36947
  * @throws {RequiredError}
36624
36948
  */
36625
- async apiV1ServicereviewsGet(serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewsModel>> {
36626
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options);
36949
+ async apiV1ServicereviewsGet(serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewsModel>> {
36950
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options);
36627
36951
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36628
36952
  },
36629
36953
  /**
@@ -36752,6 +37076,7 @@ export const ServiceReviewsApiFactory = function (configuration?: Configuration,
36752
37076
  * @param {string} [serviceName]
36753
37077
  * @param {string} [patientId]
36754
37078
  * @param {string} [patientName]
37079
+ * @param {Gender} [gender]
36755
37080
  * @param {boolean} [recommended]
36756
37081
  * @param {number} [rate]
36757
37082
  * @param {ReviewType} [reviewType]
@@ -36761,8 +37086,8 @@ export const ServiceReviewsApiFactory = function (configuration?: Configuration,
36761
37086
  * @param {*} [options] Override http request option.
36762
37087
  * @throws {RequiredError}
36763
37088
  */
36764
- apiV1ServicereviewsGet(serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceReviewsModel> {
36765
- return localVarFp.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
37089
+ apiV1ServicereviewsGet(serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceReviewsModel> {
37090
+ return localVarFp.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
36766
37091
  },
36767
37092
  /**
36768
37093
  *
@@ -36881,6 +37206,7 @@ export class ServiceReviewsApi extends BaseAPI {
36881
37206
  * @param {string} [serviceName]
36882
37207
  * @param {string} [patientId]
36883
37208
  * @param {string} [patientName]
37209
+ * @param {Gender} [gender]
36884
37210
  * @param {boolean} [recommended]
36885
37211
  * @param {number} [rate]
36886
37212
  * @param {ReviewType} [reviewType]
@@ -36891,8 +37217,8 @@ export class ServiceReviewsApi extends BaseAPI {
36891
37217
  * @throws {RequiredError}
36892
37218
  * @memberof ServiceReviewsApi
36893
37219
  */
36894
- public apiV1ServicereviewsGet(serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
36895
- return ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
37220
+ public apiV1ServicereviewsGet(serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
37221
+ return ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
36896
37222
  }
36897
37223
 
36898
37224
  /**