ch-api-client-typescript2 3.4.3 → 3.4.6

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
@@ -3619,31 +3619,25 @@ export interface DoctorAffiliationItemModel {
3619
3619
  * @type {string}
3620
3620
  * @memberof DoctorAffiliationItemModel
3621
3621
  */
3622
- 'hospitalId'?: string;
3623
- /**
3624
- *
3625
- * @type {string}
3626
- * @memberof DoctorAffiliationItemModel
3627
- */
3628
- 'hospitalName'?: string | null;
3622
+ 'languageCode'?: string | null;
3629
3623
  /**
3630
3624
  *
3631
3625
  * @type {string}
3632
3626
  * @memberof DoctorAffiliationItemModel
3633
3627
  */
3634
- 'hospitalSlug'?: string | null;
3628
+ 'hospitalId'?: string;
3635
3629
  /**
3636
3630
  *
3637
3631
  * @type {string}
3638
3632
  * @memberof DoctorAffiliationItemModel
3639
3633
  */
3640
- 'doctorId'?: string;
3634
+ 'hospitalName'?: string | null;
3641
3635
  /**
3642
3636
  *
3643
3637
  * @type {string}
3644
3638
  * @memberof DoctorAffiliationItemModel
3645
3639
  */
3646
- 'languageCode'?: string | null;
3640
+ 'hospitalSlug'?: string | null;
3647
3641
  /**
3648
3642
  *
3649
3643
  * @type {string}
@@ -3710,31 +3704,25 @@ export interface DoctorAffiliationModel {
3710
3704
  * @type {string}
3711
3705
  * @memberof DoctorAffiliationModel
3712
3706
  */
3713
- 'hospitalId'?: string;
3714
- /**
3715
- *
3716
- * @type {string}
3717
- * @memberof DoctorAffiliationModel
3718
- */
3719
- 'hospitalName'?: string | null;
3707
+ 'languageCode'?: string | null;
3720
3708
  /**
3721
3709
  *
3722
3710
  * @type {string}
3723
3711
  * @memberof DoctorAffiliationModel
3724
3712
  */
3725
- 'hospitalSlug'?: string | null;
3713
+ 'hospitalId'?: string;
3726
3714
  /**
3727
3715
  *
3728
3716
  * @type {string}
3729
3717
  * @memberof DoctorAffiliationModel
3730
3718
  */
3731
- 'doctorId'?: string;
3719
+ 'hospitalName'?: string | null;
3732
3720
  /**
3733
3721
  *
3734
3722
  * @type {string}
3735
3723
  * @memberof DoctorAffiliationModel
3736
3724
  */
3737
- 'languageCode'?: string | null;
3725
+ 'hospitalSlug'?: string | null;
3738
3726
  /**
3739
3727
  *
3740
3728
  * @type {string}
@@ -4097,18 +4085,6 @@ export interface DoctorItemModel {
4097
4085
  * @memberof DoctorItemModel
4098
4086
  */
4099
4087
  'id'?: string;
4100
- /**
4101
- *
4102
- * @type {string}
4103
- * @memberof DoctorItemModel
4104
- */
4105
- 'languageCode'?: string | null;
4106
- /**
4107
- *
4108
- * @type {string}
4109
- * @memberof DoctorItemModel
4110
- */
4111
- 'userName'?: string | null;
4112
4088
  /**
4113
4089
  *
4114
4090
  * @type {string}
@@ -4147,34 +4123,10 @@ export interface DoctorItemModel {
4147
4123
  'photoThumbnail'?: string | null;
4148
4124
  /**
4149
4125
  *
4150
- * @type {AuditableEntity}
4151
- * @memberof DoctorItemModel
4152
- */
4153
- 'auditableEntity'?: AuditableEntity;
4154
- /**
4155
- *
4156
- * @type {boolean}
4157
- * @memberof DoctorItemModel
4158
- */
4159
- 'consultationEnabled'?: boolean | null;
4160
- /**
4161
- *
4162
- * @type {number}
4163
- * @memberof DoctorItemModel
4164
- */
4165
- 'consultationFee'?: number | null;
4166
- /**
4167
- *
4168
- * @type {Array<DoctorSpecialtyItemModel>}
4169
- * @memberof DoctorItemModel
4170
- */
4171
- 'doctorSpecialties'?: Array<DoctorSpecialtyItemModel> | null;
4172
- /**
4173
- *
4174
- * @type {Array<DoctorAffiliationItemModel>}
4126
+ * @type {string}
4175
4127
  * @memberof DoctorItemModel
4176
4128
  */
4177
- 'doctorAffiliations'?: Array<DoctorAffiliationItemModel> | null;
4129
+ 'timeZone'?: string | null;
4178
4130
  }
4179
4131
  /**
4180
4132
  *
@@ -4257,12 +4209,6 @@ export interface DoctorModel {
4257
4209
  * @memberof DoctorModel
4258
4210
  */
4259
4211
  'id'?: string;
4260
- /**
4261
- *
4262
- * @type {string}
4263
- * @memberof DoctorModel
4264
- */
4265
- 'languageCode'?: string | null;
4266
4212
  /**
4267
4213
  *
4268
4214
  * @type {string}
@@ -4359,60 +4305,12 @@ export interface DoctorModel {
4359
4305
  * @memberof DoctorModel
4360
4306
  */
4361
4307
  'locations'?: Array<UserLocationModel> | null;
4362
- /**
4363
- *
4364
- * @type {string}
4365
- * @memberof DoctorModel
4366
- */
4367
- 'overview'?: string | null;
4368
- /**
4369
- *
4370
- * @type {string}
4371
- * @memberof DoctorModel
4372
- */
4373
- 'description'?: string | null;
4374
- /**
4375
- *
4376
- * @type {string}
4377
- * @memberof DoctorModel
4378
- */
4379
- 'content'?: string | null;
4380
4308
  /**
4381
4309
  *
4382
4310
  * @type {Date}
4383
4311
  * @memberof DoctorModel
4384
4312
  */
4385
4313
  'startPracticeDate'?: Date | null;
4386
- /**
4387
- *
4388
- * @type {boolean}
4389
- * @memberof DoctorModel
4390
- */
4391
- 'consultationEnabled'?: boolean | null;
4392
- /**
4393
- *
4394
- * @type {number}
4395
- * @memberof DoctorModel
4396
- */
4397
- 'consultationFee'?: number | null;
4398
- /**
4399
- *
4400
- * @type {Array<DoctorSpecialtyItemModel>}
4401
- * @memberof DoctorModel
4402
- */
4403
- 'doctorSpecialties'?: Array<DoctorSpecialtyItemModel> | null;
4404
- /**
4405
- *
4406
- * @type {Array<DoctorAffiliationItemModel>}
4407
- * @memberof DoctorModel
4408
- */
4409
- 'doctorAffiliations'?: Array<DoctorAffiliationItemModel> | null;
4410
- /**
4411
- *
4412
- * @type {Array<LocalizedUrlModel>}
4413
- * @memberof DoctorModel
4414
- */
4415
- 'localizedUrls'?: Array<LocalizedUrlModel> | null;
4416
4314
  }
4417
4315
  /**
4418
4316
  *
@@ -4555,6 +4453,12 @@ export interface DoctorSimpleItemModel {
4555
4453
  * @memberof DoctorSimpleItemModel
4556
4454
  */
4557
4455
  'lastName'?: string | null;
4456
+ /**
4457
+ *
4458
+ * @type {string}
4459
+ * @memberof DoctorSimpleItemModel
4460
+ */
4461
+ 'fullname'?: string | null;
4558
4462
  }
4559
4463
  /**
4560
4464
  *
@@ -7225,12 +7129,6 @@ export interface PatientModel {
7225
7129
  * @memberof PatientModel
7226
7130
  */
7227
7131
  'id'?: string;
7228
- /**
7229
- *
7230
- * @type {string}
7231
- * @memberof PatientModel
7232
- */
7233
- 'languageCode'?: string | null;
7234
7132
  /**
7235
7133
  *
7236
7134
  * @type {string}
@@ -9372,12 +9270,6 @@ export interface UserModel {
9372
9270
  * @memberof UserModel
9373
9271
  */
9374
9272
  'id'?: string;
9375
- /**
9376
- *
9377
- * @type {string}
9378
- * @memberof UserModel
9379
- */
9380
- 'languageCode'?: string | null;
9381
9273
  /**
9382
9274
  *
9383
9275
  * @type {string}
@@ -15375,6 +15267,44 @@ export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?:
15375
15267
 
15376
15268
 
15377
15269
 
15270
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
15271
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15272
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15273
+
15274
+ return {
15275
+ url: toPathString(localVarUrlObj),
15276
+ options: localVarRequestOptions,
15277
+ };
15278
+ },
15279
+ /**
15280
+ *
15281
+ * @param {string} slug
15282
+ * @param {string} [languageCode]
15283
+ * @param {*} [options] Override http request option.
15284
+ * @throws {RequiredError}
15285
+ */
15286
+ apiV2DoctoraffiliationsSlugGet: async (slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
15287
+ // verify required parameter 'slug' is not null or undefined
15288
+ assertParamExists('apiV2DoctoraffiliationsSlugGet', 'slug', slug)
15289
+ const localVarPath = `/api/v2/doctoraffiliations/{slug}`
15290
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
15291
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
15292
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15293
+ let baseOptions;
15294
+ if (configuration) {
15295
+ baseOptions = configuration.baseOptions;
15296
+ }
15297
+
15298
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
15299
+ const localVarHeaderParameter = {} as any;
15300
+ const localVarQueryParameter = {} as any;
15301
+
15302
+ if (languageCode !== undefined) {
15303
+ localVarQueryParameter['languageCode'] = languageCode;
15304
+ }
15305
+
15306
+
15307
+
15378
15308
  setSearchParams(localVarUrlObj, localVarQueryParameter);
15379
15309
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15380
15310
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -15425,6 +15355,17 @@ export const DoctorAffiliationsApiFp = function(configuration?: Configuration) {
15425
15355
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctoraffiliationsIdGet(id, languageCode, options);
15426
15356
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
15427
15357
  },
15358
+ /**
15359
+ *
15360
+ * @param {string} slug
15361
+ * @param {string} [languageCode]
15362
+ * @param {*} [options] Override http request option.
15363
+ * @throws {RequiredError}
15364
+ */
15365
+ async apiV2DoctoraffiliationsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorAffiliationModel>> {
15366
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctoraffiliationsSlugGet(slug, languageCode, options);
15367
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
15368
+ },
15428
15369
  }
15429
15370
  };
15430
15371
 
@@ -15464,6 +15405,16 @@ export const DoctorAffiliationsApiFactory = function (configuration?: Configurat
15464
15405
  apiV2DoctoraffiliationsIdGet(id: string, languageCode?: string, options?: any): AxiosPromise<DoctorAffiliationModel> {
15465
15406
  return localVarFp.apiV2DoctoraffiliationsIdGet(id, languageCode, options).then((request) => request(axios, basePath));
15466
15407
  },
15408
+ /**
15409
+ *
15410
+ * @param {string} slug
15411
+ * @param {string} [languageCode]
15412
+ * @param {*} [options] Override http request option.
15413
+ * @throws {RequiredError}
15414
+ */
15415
+ apiV2DoctoraffiliationsSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<DoctorAffiliationModel> {
15416
+ return localVarFp.apiV2DoctoraffiliationsSlugGet(slug, languageCode, options).then((request) => request(axios, basePath));
15417
+ },
15467
15418
  };
15468
15419
  };
15469
15420
 
@@ -15506,6 +15457,18 @@ export class DoctorAffiliationsApi extends BaseAPI {
15506
15457
  public apiV2DoctoraffiliationsIdGet(id: string, languageCode?: string, options?: AxiosRequestConfig) {
15507
15458
  return DoctorAffiliationsApiFp(this.configuration).apiV2DoctoraffiliationsIdGet(id, languageCode, options).then((request) => request(this.axios, this.basePath));
15508
15459
  }
15460
+
15461
+ /**
15462
+ *
15463
+ * @param {string} slug
15464
+ * @param {string} [languageCode]
15465
+ * @param {*} [options] Override http request option.
15466
+ * @throws {RequiredError}
15467
+ * @memberof DoctorAffiliationsApi
15468
+ */
15469
+ public apiV2DoctoraffiliationsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig) {
15470
+ return DoctorAffiliationsApiFp(this.configuration).apiV2DoctoraffiliationsSlugGet(slug, languageCode, options).then((request) => request(this.axios, this.basePath));
15471
+ }
15509
15472
  }
15510
15473
 
15511
15474
 
@@ -16208,25 +16171,23 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
16208
16171
  * @summary Get all Doctors.
16209
16172
  * @param {string} [hospitalId]
16210
16173
  * @param {string} [hospitalName]
16211
- * @param {string} [languageCode]
16212
- * @param {boolean} [returnDefaultValue]
16213
16174
  * @param {Array<string>} [ids]
16214
16175
  * @param {string} [specialtyId]
16215
16176
  * @param {boolean} [consultationEnabled]
16177
+ * @param {string} [languageCode]
16216
16178
  * @param {string} [id]
16217
16179
  * @param {string} [fullname]
16218
16180
  * @param {string} [email]
16219
16181
  * @param {Gender} [gender]
16220
16182
  * @param {Date} [dateOfBirth]
16221
16183
  * @param {Date} [created]
16222
- * @param {boolean} [showHidden]
16223
16184
  * @param {number} [page]
16224
16185
  * @param {number} [limit]
16225
16186
  * @param {Date} [lastRetrieved]
16226
16187
  * @param {*} [options] Override http request option.
16227
16188
  * @throws {RequiredError}
16228
16189
  */
16229
- apiV2DoctorsGet: async (hospitalId?: string, hospitalName?: string, languageCode?: string, returnDefaultValue?: boolean, ids?: Array<string>, specialtyId?: string, consultationEnabled?: boolean, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
16190
+ apiV2DoctorsGet: async (hospitalId?: string, hospitalName?: string, ids?: Array<string>, specialtyId?: string, consultationEnabled?: boolean, languageCode?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
16230
16191
  const localVarPath = `/api/v2/doctors`;
16231
16192
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
16232
16193
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -16247,14 +16208,6 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
16247
16208
  localVarQueryParameter['HospitalName'] = hospitalName;
16248
16209
  }
16249
16210
 
16250
- if (languageCode !== undefined) {
16251
- localVarQueryParameter['LanguageCode'] = languageCode;
16252
- }
16253
-
16254
- if (returnDefaultValue !== undefined) {
16255
- localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
16256
- }
16257
-
16258
16211
  if (ids) {
16259
16212
  localVarQueryParameter['Ids'] = ids;
16260
16213
  }
@@ -16267,6 +16220,10 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
16267
16220
  localVarQueryParameter['ConsultationEnabled'] = consultationEnabled;
16268
16221
  }
16269
16222
 
16223
+ if (languageCode !== undefined) {
16224
+ localVarQueryParameter['LanguageCode'] = languageCode;
16225
+ }
16226
+
16270
16227
  if (id !== undefined) {
16271
16228
  localVarQueryParameter['Id'] = id;
16272
16229
  }
@@ -16295,10 +16252,6 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
16295
16252
  created;
16296
16253
  }
16297
16254
 
16298
- if (showHidden !== undefined) {
16299
- localVarQueryParameter['ShowHidden'] = showHidden;
16300
- }
16301
-
16302
16255
  if (page !== undefined) {
16303
16256
  localVarQueryParameter['page'] = page;
16304
16257
  }
@@ -16329,25 +16282,23 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
16329
16282
  * @summary Get all Doctors.
16330
16283
  * @param {string} [hospitalId]
16331
16284
  * @param {string} [hospitalName]
16332
- * @param {string} [languageCode]
16333
- * @param {boolean} [returnDefaultValue]
16334
16285
  * @param {Array<string>} [ids]
16335
16286
  * @param {string} [specialtyId]
16336
16287
  * @param {boolean} [consultationEnabled]
16288
+ * @param {string} [languageCode]
16337
16289
  * @param {string} [id]
16338
16290
  * @param {string} [fullname]
16339
16291
  * @param {string} [email]
16340
16292
  * @param {Gender} [gender]
16341
16293
  * @param {Date} [dateOfBirth]
16342
16294
  * @param {Date} [created]
16343
- * @param {boolean} [showHidden]
16344
16295
  * @param {number} [page]
16345
16296
  * @param {number} [limit]
16346
16297
  * @param {Date} [lastRetrieved]
16347
16298
  * @param {*} [options] Override http request option.
16348
16299
  * @throws {RequiredError}
16349
16300
  */
16350
- apiV2DoctorsSimpleGet: async (hospitalId?: string, hospitalName?: string, languageCode?: string, returnDefaultValue?: boolean, ids?: Array<string>, specialtyId?: string, consultationEnabled?: boolean, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
16301
+ apiV2DoctorsSimpleGet: async (hospitalId?: string, hospitalName?: string, ids?: Array<string>, specialtyId?: string, consultationEnabled?: boolean, languageCode?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
16351
16302
  const localVarPath = `/api/v2/doctors/simple`;
16352
16303
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
16353
16304
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -16368,14 +16319,6 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
16368
16319
  localVarQueryParameter['HospitalName'] = hospitalName;
16369
16320
  }
16370
16321
 
16371
- if (languageCode !== undefined) {
16372
- localVarQueryParameter['LanguageCode'] = languageCode;
16373
- }
16374
-
16375
- if (returnDefaultValue !== undefined) {
16376
- localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
16377
- }
16378
-
16379
16322
  if (ids) {
16380
16323
  localVarQueryParameter['Ids'] = ids;
16381
16324
  }
@@ -16388,6 +16331,10 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
16388
16331
  localVarQueryParameter['ConsultationEnabled'] = consultationEnabled;
16389
16332
  }
16390
16333
 
16334
+ if (languageCode !== undefined) {
16335
+ localVarQueryParameter['LanguageCode'] = languageCode;
16336
+ }
16337
+
16391
16338
  if (id !== undefined) {
16392
16339
  localVarQueryParameter['Id'] = id;
16393
16340
  }
@@ -16416,10 +16363,6 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
16416
16363
  created;
16417
16364
  }
16418
16365
 
16419
- if (showHidden !== undefined) {
16420
- localVarQueryParameter['ShowHidden'] = showHidden;
16421
- }
16422
-
16423
16366
  if (page !== undefined) {
16424
16367
  localVarQueryParameter['page'] = page;
16425
16368
  }
@@ -16436,49 +16379,6 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
16436
16379
 
16437
16380
 
16438
16381
 
16439
- setSearchParams(localVarUrlObj, localVarQueryParameter);
16440
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16441
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16442
-
16443
- return {
16444
- url: toPathString(localVarUrlObj),
16445
- options: localVarRequestOptions,
16446
- };
16447
- },
16448
- /**
16449
- *
16450
- * @param {string} slug
16451
- * @param {string} [languageCode]
16452
- * @param {boolean} [returnDefaultValue]
16453
- * @param {*} [options] Override http request option.
16454
- * @throws {RequiredError}
16455
- */
16456
- apiV2DoctorsSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
16457
- // verify required parameter 'slug' is not null or undefined
16458
- assertParamExists('apiV2DoctorsSlugGet', 'slug', slug)
16459
- const localVarPath = `/api/v2/doctors/{slug}`
16460
- .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
16461
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16462
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16463
- let baseOptions;
16464
- if (configuration) {
16465
- baseOptions = configuration.baseOptions;
16466
- }
16467
-
16468
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
16469
- const localVarHeaderParameter = {} as any;
16470
- const localVarQueryParameter = {} as any;
16471
-
16472
- if (languageCode !== undefined) {
16473
- localVarQueryParameter['languageCode'] = languageCode;
16474
- }
16475
-
16476
- if (returnDefaultValue !== undefined) {
16477
- localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
16478
- }
16479
-
16480
-
16481
-
16482
16382
  setSearchParams(localVarUrlObj, localVarQueryParameter);
16483
16383
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16484
16384
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -16692,26 +16592,24 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
16692
16592
  * @summary Get all Doctors.
16693
16593
  * @param {string} [hospitalId]
16694
16594
  * @param {string} [hospitalName]
16695
- * @param {string} [languageCode]
16696
- * @param {boolean} [returnDefaultValue]
16697
16595
  * @param {Array<string>} [ids]
16698
16596
  * @param {string} [specialtyId]
16699
16597
  * @param {boolean} [consultationEnabled]
16598
+ * @param {string} [languageCode]
16700
16599
  * @param {string} [id]
16701
16600
  * @param {string} [fullname]
16702
16601
  * @param {string} [email]
16703
16602
  * @param {Gender} [gender]
16704
16603
  * @param {Date} [dateOfBirth]
16705
16604
  * @param {Date} [created]
16706
- * @param {boolean} [showHidden]
16707
16605
  * @param {number} [page]
16708
16606
  * @param {number} [limit]
16709
16607
  * @param {Date} [lastRetrieved]
16710
16608
  * @param {*} [options] Override http request option.
16711
16609
  * @throws {RequiredError}
16712
16610
  */
16713
- async apiV2DoctorsGet(hospitalId?: string, hospitalName?: string, languageCode?: string, returnDefaultValue?: boolean, ids?: Array<string>, specialtyId?: string, consultationEnabled?: boolean, 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<DoctorsModel>> {
16714
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsGet(hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options);
16611
+ async apiV2DoctorsGet(hospitalId?: string, hospitalName?: string, ids?: Array<string>, specialtyId?: string, consultationEnabled?: boolean, languageCode?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorsModel>> {
16612
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, languageCode, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options);
16715
16613
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
16716
16614
  },
16717
16615
  /**
@@ -16719,38 +16617,24 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
16719
16617
  * @summary Get all Doctors.
16720
16618
  * @param {string} [hospitalId]
16721
16619
  * @param {string} [hospitalName]
16722
- * @param {string} [languageCode]
16723
- * @param {boolean} [returnDefaultValue]
16724
16620
  * @param {Array<string>} [ids]
16725
16621
  * @param {string} [specialtyId]
16726
16622
  * @param {boolean} [consultationEnabled]
16623
+ * @param {string} [languageCode]
16727
16624
  * @param {string} [id]
16728
16625
  * @param {string} [fullname]
16729
16626
  * @param {string} [email]
16730
16627
  * @param {Gender} [gender]
16731
16628
  * @param {Date} [dateOfBirth]
16732
16629
  * @param {Date} [created]
16733
- * @param {boolean} [showHidden]
16734
16630
  * @param {number} [page]
16735
16631
  * @param {number} [limit]
16736
16632
  * @param {Date} [lastRetrieved]
16737
16633
  * @param {*} [options] Override http request option.
16738
16634
  * @throws {RequiredError}
16739
16635
  */
16740
- async apiV2DoctorsSimpleGet(hospitalId?: string, hospitalName?: string, languageCode?: string, returnDefaultValue?: boolean, ids?: Array<string>, specialtyId?: string, consultationEnabled?: boolean, 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>> {
16741
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsSimpleGet(hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options);
16742
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
16743
- },
16744
- /**
16745
- *
16746
- * @param {string} slug
16747
- * @param {string} [languageCode]
16748
- * @param {boolean} [returnDefaultValue]
16749
- * @param {*} [options] Override http request option.
16750
- * @throws {RequiredError}
16751
- */
16752
- async apiV2DoctorsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorModel>> {
16753
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsSlugGet(slug, languageCode, returnDefaultValue, options);
16636
+ async apiV2DoctorsSimpleGet(hospitalId?: string, hospitalName?: string, ids?: Array<string>, specialtyId?: string, consultationEnabled?: boolean, languageCode?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorsSimpleModel>> {
16637
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsSimpleGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, languageCode, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options);
16754
16638
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
16755
16639
  },
16756
16640
  }
@@ -16944,63 +16828,48 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
16944
16828
  * @summary Get all Doctors.
16945
16829
  * @param {string} [hospitalId]
16946
16830
  * @param {string} [hospitalName]
16947
- * @param {string} [languageCode]
16948
- * @param {boolean} [returnDefaultValue]
16949
16831
  * @param {Array<string>} [ids]
16950
16832
  * @param {string} [specialtyId]
16951
16833
  * @param {boolean} [consultationEnabled]
16834
+ * @param {string} [languageCode]
16952
16835
  * @param {string} [id]
16953
16836
  * @param {string} [fullname]
16954
16837
  * @param {string} [email]
16955
16838
  * @param {Gender} [gender]
16956
16839
  * @param {Date} [dateOfBirth]
16957
16840
  * @param {Date} [created]
16958
- * @param {boolean} [showHidden]
16959
16841
  * @param {number} [page]
16960
16842
  * @param {number} [limit]
16961
16843
  * @param {Date} [lastRetrieved]
16962
16844
  * @param {*} [options] Override http request option.
16963
16845
  * @throws {RequiredError}
16964
16846
  */
16965
- apiV2DoctorsGet(hospitalId?: string, hospitalName?: string, languageCode?: string, returnDefaultValue?: boolean, ids?: Array<string>, specialtyId?: string, consultationEnabled?: boolean, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorsModel> {
16966
- return localVarFp.apiV2DoctorsGet(hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
16847
+ apiV2DoctorsGet(hospitalId?: string, hospitalName?: string, ids?: Array<string>, specialtyId?: string, consultationEnabled?: boolean, languageCode?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorsModel> {
16848
+ return localVarFp.apiV2DoctorsGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, languageCode, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
16967
16849
  },
16968
16850
  /**
16969
16851
  *
16970
16852
  * @summary Get all Doctors.
16971
16853
  * @param {string} [hospitalId]
16972
16854
  * @param {string} [hospitalName]
16973
- * @param {string} [languageCode]
16974
- * @param {boolean} [returnDefaultValue]
16975
16855
  * @param {Array<string>} [ids]
16976
16856
  * @param {string} [specialtyId]
16977
16857
  * @param {boolean} [consultationEnabled]
16858
+ * @param {string} [languageCode]
16978
16859
  * @param {string} [id]
16979
16860
  * @param {string} [fullname]
16980
16861
  * @param {string} [email]
16981
16862
  * @param {Gender} [gender]
16982
16863
  * @param {Date} [dateOfBirth]
16983
16864
  * @param {Date} [created]
16984
- * @param {boolean} [showHidden]
16985
16865
  * @param {number} [page]
16986
16866
  * @param {number} [limit]
16987
16867
  * @param {Date} [lastRetrieved]
16988
16868
  * @param {*} [options] Override http request option.
16989
16869
  * @throws {RequiredError}
16990
16870
  */
16991
- apiV2DoctorsSimpleGet(hospitalId?: string, hospitalName?: string, languageCode?: string, returnDefaultValue?: boolean, ids?: Array<string>, specialtyId?: string, consultationEnabled?: boolean, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorsSimpleModel> {
16992
- return localVarFp.apiV2DoctorsSimpleGet(hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
16993
- },
16994
- /**
16995
- *
16996
- * @param {string} slug
16997
- * @param {string} [languageCode]
16998
- * @param {boolean} [returnDefaultValue]
16999
- * @param {*} [options] Override http request option.
17000
- * @throws {RequiredError}
17001
- */
17002
- apiV2DoctorsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<DoctorModel> {
17003
- return localVarFp.apiV2DoctorsSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
16871
+ apiV2DoctorsSimpleGet(hospitalId?: string, hospitalName?: string, ids?: Array<string>, specialtyId?: string, consultationEnabled?: boolean, languageCode?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorsSimpleModel> {
16872
+ return localVarFp.apiV2DoctorsSimpleGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, languageCode, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
17004
16873
  },
17005
16874
  };
17006
16875
  };
@@ -17219,18 +17088,16 @@ export class DoctorsApi extends BaseAPI {
17219
17088
  * @summary Get all Doctors.
17220
17089
  * @param {string} [hospitalId]
17221
17090
  * @param {string} [hospitalName]
17222
- * @param {string} [languageCode]
17223
- * @param {boolean} [returnDefaultValue]
17224
17091
  * @param {Array<string>} [ids]
17225
17092
  * @param {string} [specialtyId]
17226
17093
  * @param {boolean} [consultationEnabled]
17094
+ * @param {string} [languageCode]
17227
17095
  * @param {string} [id]
17228
17096
  * @param {string} [fullname]
17229
17097
  * @param {string} [email]
17230
17098
  * @param {Gender} [gender]
17231
17099
  * @param {Date} [dateOfBirth]
17232
17100
  * @param {Date} [created]
17233
- * @param {boolean} [showHidden]
17234
17101
  * @param {number} [page]
17235
17102
  * @param {number} [limit]
17236
17103
  * @param {Date} [lastRetrieved]
@@ -17238,8 +17105,8 @@ export class DoctorsApi extends BaseAPI {
17238
17105
  * @throws {RequiredError}
17239
17106
  * @memberof DoctorsApi
17240
17107
  */
17241
- public apiV2DoctorsGet(hospitalId?: string, hospitalName?: string, languageCode?: string, returnDefaultValue?: boolean, ids?: Array<string>, specialtyId?: string, consultationEnabled?: boolean, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
17242
- return DoctorsApiFp(this.configuration).apiV2DoctorsGet(hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
17108
+ public apiV2DoctorsGet(hospitalId?: string, hospitalName?: string, ids?: Array<string>, specialtyId?: string, consultationEnabled?: boolean, languageCode?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
17109
+ return DoctorsApiFp(this.configuration).apiV2DoctorsGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, languageCode, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
17243
17110
  }
17244
17111
 
17245
17112
  /**
@@ -17247,18 +17114,16 @@ export class DoctorsApi extends BaseAPI {
17247
17114
  * @summary Get all Doctors.
17248
17115
  * @param {string} [hospitalId]
17249
17116
  * @param {string} [hospitalName]
17250
- * @param {string} [languageCode]
17251
- * @param {boolean} [returnDefaultValue]
17252
17117
  * @param {Array<string>} [ids]
17253
17118
  * @param {string} [specialtyId]
17254
17119
  * @param {boolean} [consultationEnabled]
17120
+ * @param {string} [languageCode]
17255
17121
  * @param {string} [id]
17256
17122
  * @param {string} [fullname]
17257
17123
  * @param {string} [email]
17258
17124
  * @param {Gender} [gender]
17259
17125
  * @param {Date} [dateOfBirth]
17260
17126
  * @param {Date} [created]
17261
- * @param {boolean} [showHidden]
17262
17127
  * @param {number} [page]
17263
17128
  * @param {number} [limit]
17264
17129
  * @param {Date} [lastRetrieved]
@@ -17266,21 +17131,8 @@ export class DoctorsApi extends BaseAPI {
17266
17131
  * @throws {RequiredError}
17267
17132
  * @memberof DoctorsApi
17268
17133
  */
17269
- public apiV2DoctorsSimpleGet(hospitalId?: string, hospitalName?: string, languageCode?: string, returnDefaultValue?: boolean, ids?: Array<string>, specialtyId?: string, consultationEnabled?: boolean, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
17270
- return DoctorsApiFp(this.configuration).apiV2DoctorsSimpleGet(hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
17271
- }
17272
-
17273
- /**
17274
- *
17275
- * @param {string} slug
17276
- * @param {string} [languageCode]
17277
- * @param {boolean} [returnDefaultValue]
17278
- * @param {*} [options] Override http request option.
17279
- * @throws {RequiredError}
17280
- * @memberof DoctorsApi
17281
- */
17282
- public apiV2DoctorsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
17283
- return DoctorsApiFp(this.configuration).apiV2DoctorsSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
17134
+ public apiV2DoctorsSimpleGet(hospitalId?: string, hospitalName?: string, ids?: Array<string>, specialtyId?: string, consultationEnabled?: boolean, languageCode?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
17135
+ return DoctorsApiFp(this.configuration).apiV2DoctorsSimpleGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, languageCode, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
17284
17136
  }
17285
17137
  }
17286
17138