ch-admin-api-client-typescript 3.4.3 → 3.4.8
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/lib/api.d.ts +65 -262
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +33 -156
- package/package.json +1 -1
- package/src/api.ts +78 -337
package/src/api.ts
CHANGED
|
@@ -3636,6 +3636,12 @@ export interface CreateDoctorAffiliationCommand {
|
|
|
3636
3636
|
* @memberof CreateDoctorAffiliationCommand
|
|
3637
3637
|
*/
|
|
3638
3638
|
'description'?: string | null;
|
|
3639
|
+
/**
|
|
3640
|
+
*
|
|
3641
|
+
* @type {string}
|
|
3642
|
+
* @memberof CreateDoctorAffiliationCommand
|
|
3643
|
+
*/
|
|
3644
|
+
'overview'?: string | null;
|
|
3639
3645
|
/**
|
|
3640
3646
|
*
|
|
3641
3647
|
* @type {string}
|
|
@@ -6162,139 +6168,6 @@ export interface DoctorItemModel {
|
|
|
6162
6168
|
* @memberof DoctorItemModel
|
|
6163
6169
|
*/
|
|
6164
6170
|
'auditableEntity'?: AuditableEntity;
|
|
6165
|
-
/**
|
|
6166
|
-
*
|
|
6167
|
-
* @type {string}
|
|
6168
|
-
* @memberof DoctorItemModel
|
|
6169
|
-
*/
|
|
6170
|
-
'userType'?: string | null;
|
|
6171
|
-
/**
|
|
6172
|
-
*
|
|
6173
|
-
* @type {Array<UserLanguageModel>}
|
|
6174
|
-
* @memberof DoctorItemModel
|
|
6175
|
-
*/
|
|
6176
|
-
'languages'?: Array<UserLanguageModel> | null;
|
|
6177
|
-
/**
|
|
6178
|
-
*
|
|
6179
|
-
* @type {Array<UserLocationModel>}
|
|
6180
|
-
* @memberof DoctorItemModel
|
|
6181
|
-
*/
|
|
6182
|
-
'locations'?: Array<UserLocationModel> | null;
|
|
6183
|
-
/**
|
|
6184
|
-
*
|
|
6185
|
-
* @type {string}
|
|
6186
|
-
* @memberof DoctorItemModel
|
|
6187
|
-
*/
|
|
6188
|
-
'slug'?: string | null;
|
|
6189
|
-
/**
|
|
6190
|
-
*
|
|
6191
|
-
* @type {string}
|
|
6192
|
-
* @memberof DoctorItemModel
|
|
6193
|
-
*/
|
|
6194
|
-
'hospitalId'?: string | null;
|
|
6195
|
-
/**
|
|
6196
|
-
*
|
|
6197
|
-
* @type {string}
|
|
6198
|
-
* @memberof DoctorItemModel
|
|
6199
|
-
*/
|
|
6200
|
-
'hospitalName'?: string | null;
|
|
6201
|
-
/**
|
|
6202
|
-
*
|
|
6203
|
-
* @type {Date}
|
|
6204
|
-
* @memberof DoctorItemModel
|
|
6205
|
-
*/
|
|
6206
|
-
'startPracticeDate'?: Date | null;
|
|
6207
|
-
/**
|
|
6208
|
-
*
|
|
6209
|
-
* @type {string}
|
|
6210
|
-
* @memberof DoctorItemModel
|
|
6211
|
-
*/
|
|
6212
|
-
'overview'?: string | null;
|
|
6213
|
-
/**
|
|
6214
|
-
*
|
|
6215
|
-
* @type {boolean}
|
|
6216
|
-
* @memberof DoctorItemModel
|
|
6217
|
-
*/
|
|
6218
|
-
'consultationEnabled'?: boolean | null;
|
|
6219
|
-
/**
|
|
6220
|
-
*
|
|
6221
|
-
* @type {number}
|
|
6222
|
-
* @memberof DoctorItemModel
|
|
6223
|
-
*/
|
|
6224
|
-
'consultationFee'?: number | null;
|
|
6225
|
-
/**
|
|
6226
|
-
*
|
|
6227
|
-
* @type {Array<LocalizedUrlModel>}
|
|
6228
|
-
* @memberof DoctorItemModel
|
|
6229
|
-
*/
|
|
6230
|
-
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
6231
|
-
/**
|
|
6232
|
-
*
|
|
6233
|
-
* @type {boolean}
|
|
6234
|
-
* @memberof DoctorItemModel
|
|
6235
|
-
*/
|
|
6236
|
-
'confirmed'?: boolean;
|
|
6237
|
-
}
|
|
6238
|
-
/**
|
|
6239
|
-
*
|
|
6240
|
-
* @export
|
|
6241
|
-
* @interface DoctorItemSimpleModel
|
|
6242
|
-
*/
|
|
6243
|
-
export interface DoctorItemSimpleModel {
|
|
6244
|
-
/**
|
|
6245
|
-
*
|
|
6246
|
-
* @type {string}
|
|
6247
|
-
* @memberof DoctorItemSimpleModel
|
|
6248
|
-
*/
|
|
6249
|
-
'id'?: string;
|
|
6250
|
-
/**
|
|
6251
|
-
*
|
|
6252
|
-
* @type {string}
|
|
6253
|
-
* @memberof DoctorItemSimpleModel
|
|
6254
|
-
*/
|
|
6255
|
-
'firstName'?: string | null;
|
|
6256
|
-
/**
|
|
6257
|
-
*
|
|
6258
|
-
* @type {string}
|
|
6259
|
-
* @memberof DoctorItemSimpleModel
|
|
6260
|
-
*/
|
|
6261
|
-
'lastName'?: string | null;
|
|
6262
|
-
/**
|
|
6263
|
-
*
|
|
6264
|
-
* @type {string}
|
|
6265
|
-
* @memberof DoctorItemSimpleModel
|
|
6266
|
-
*/
|
|
6267
|
-
'fullname'?: string | null;
|
|
6268
|
-
/**
|
|
6269
|
-
*
|
|
6270
|
-
* @type {string}
|
|
6271
|
-
* @memberof DoctorItemSimpleModel
|
|
6272
|
-
*/
|
|
6273
|
-
'slug'?: string | null;
|
|
6274
|
-
/**
|
|
6275
|
-
*
|
|
6276
|
-
* @type {string}
|
|
6277
|
-
* @memberof DoctorItemSimpleModel
|
|
6278
|
-
*/
|
|
6279
|
-
'hospitalId'?: string | null;
|
|
6280
|
-
/**
|
|
6281
|
-
*
|
|
6282
|
-
* @type {string}
|
|
6283
|
-
* @memberof DoctorItemSimpleModel
|
|
6284
|
-
*/
|
|
6285
|
-
'hospitalName'?: string | null;
|
|
6286
|
-
/**
|
|
6287
|
-
*
|
|
6288
|
-
* @type {string}
|
|
6289
|
-
* @memberof DoctorItemSimpleModel
|
|
6290
|
-
*/
|
|
6291
|
-
'overview'?: string | null;
|
|
6292
|
-
/**
|
|
6293
|
-
*
|
|
6294
|
-
* @type {boolean}
|
|
6295
|
-
* @memberof DoctorItemSimpleModel
|
|
6296
|
-
*/
|
|
6297
|
-
'confirmed'?: boolean;
|
|
6298
6171
|
}
|
|
6299
6172
|
/**
|
|
6300
6173
|
*
|
|
@@ -6473,66 +6346,12 @@ export interface DoctorModel {
|
|
|
6473
6346
|
* @memberof DoctorModel
|
|
6474
6347
|
*/
|
|
6475
6348
|
'locations'?: Array<UserLocationModel> | null;
|
|
6476
|
-
/**
|
|
6477
|
-
*
|
|
6478
|
-
* @type {string}
|
|
6479
|
-
* @memberof DoctorModel
|
|
6480
|
-
*/
|
|
6481
|
-
'slug'?: string | null;
|
|
6482
|
-
/**
|
|
6483
|
-
*
|
|
6484
|
-
* @type {string}
|
|
6485
|
-
* @memberof DoctorModel
|
|
6486
|
-
*/
|
|
6487
|
-
'hospitalId'?: string | null;
|
|
6488
|
-
/**
|
|
6489
|
-
*
|
|
6490
|
-
* @type {string}
|
|
6491
|
-
* @memberof DoctorModel
|
|
6492
|
-
*/
|
|
6493
|
-
'hospitalName'?: string | null;
|
|
6494
6349
|
/**
|
|
6495
6350
|
*
|
|
6496
6351
|
* @type {Date}
|
|
6497
6352
|
* @memberof DoctorModel
|
|
6498
6353
|
*/
|
|
6499
6354
|
'startPracticeDate'?: Date | null;
|
|
6500
|
-
/**
|
|
6501
|
-
*
|
|
6502
|
-
* @type {string}
|
|
6503
|
-
* @memberof DoctorModel
|
|
6504
|
-
*/
|
|
6505
|
-
'overview'?: string | null;
|
|
6506
|
-
/**
|
|
6507
|
-
*
|
|
6508
|
-
* @type {boolean}
|
|
6509
|
-
* @memberof DoctorModel
|
|
6510
|
-
*/
|
|
6511
|
-
'consultationEnabled'?: boolean | null;
|
|
6512
|
-
/**
|
|
6513
|
-
*
|
|
6514
|
-
* @type {number}
|
|
6515
|
-
* @memberof DoctorModel
|
|
6516
|
-
*/
|
|
6517
|
-
'consultationFee'?: number | null;
|
|
6518
|
-
/**
|
|
6519
|
-
*
|
|
6520
|
-
* @type {Array<LocalizedUrlModel>}
|
|
6521
|
-
* @memberof DoctorModel
|
|
6522
|
-
*/
|
|
6523
|
-
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
6524
|
-
/**
|
|
6525
|
-
*
|
|
6526
|
-
* @type {boolean}
|
|
6527
|
-
* @memberof DoctorModel
|
|
6528
|
-
*/
|
|
6529
|
-
'confirmed'?: boolean;
|
|
6530
|
-
/**
|
|
6531
|
-
*
|
|
6532
|
-
* @type {string}
|
|
6533
|
-
* @memberof DoctorModel
|
|
6534
|
-
*/
|
|
6535
|
-
'languageCode'?: string | null;
|
|
6536
6355
|
}
|
|
6537
6356
|
/**
|
|
6538
6357
|
*
|
|
@@ -6651,6 +6470,43 @@ export interface DoctorPortfoliosModel {
|
|
|
6651
6470
|
*/
|
|
6652
6471
|
'metaData'?: PagedListMetaData;
|
|
6653
6472
|
}
|
|
6473
|
+
/**
|
|
6474
|
+
*
|
|
6475
|
+
* @export
|
|
6476
|
+
* @interface DoctorSimpleItemModel
|
|
6477
|
+
*/
|
|
6478
|
+
export interface DoctorSimpleItemModel {
|
|
6479
|
+
/**
|
|
6480
|
+
*
|
|
6481
|
+
* @type {string}
|
|
6482
|
+
* @memberof DoctorSimpleItemModel
|
|
6483
|
+
*/
|
|
6484
|
+
'id'?: string;
|
|
6485
|
+
/**
|
|
6486
|
+
*
|
|
6487
|
+
* @type {string}
|
|
6488
|
+
* @memberof DoctorSimpleItemModel
|
|
6489
|
+
*/
|
|
6490
|
+
'userName'?: string | null;
|
|
6491
|
+
/**
|
|
6492
|
+
*
|
|
6493
|
+
* @type {string}
|
|
6494
|
+
* @memberof DoctorSimpleItemModel
|
|
6495
|
+
*/
|
|
6496
|
+
'firstName'?: string | null;
|
|
6497
|
+
/**
|
|
6498
|
+
*
|
|
6499
|
+
* @type {string}
|
|
6500
|
+
* @memberof DoctorSimpleItemModel
|
|
6501
|
+
*/
|
|
6502
|
+
'lastName'?: string | null;
|
|
6503
|
+
/**
|
|
6504
|
+
*
|
|
6505
|
+
* @type {string}
|
|
6506
|
+
* @memberof DoctorSimpleItemModel
|
|
6507
|
+
*/
|
|
6508
|
+
'fullname'?: string | null;
|
|
6509
|
+
}
|
|
6654
6510
|
/**
|
|
6655
6511
|
*
|
|
6656
6512
|
* @export
|
|
@@ -6746,10 +6602,10 @@ export interface DoctorsModel {
|
|
|
6746
6602
|
export interface DoctorsSimpleModel {
|
|
6747
6603
|
/**
|
|
6748
6604
|
*
|
|
6749
|
-
* @type {Array<
|
|
6605
|
+
* @type {Array<DoctorSimpleItemModel>}
|
|
6750
6606
|
* @memberof DoctorsSimpleModel
|
|
6751
6607
|
*/
|
|
6752
|
-
'items'?: Array<
|
|
6608
|
+
'items'?: Array<DoctorSimpleItemModel> | null;
|
|
6753
6609
|
/**
|
|
6754
6610
|
*
|
|
6755
6611
|
* @type {PagedListMetaData}
|
|
@@ -25273,12 +25129,10 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
25273
25129
|
/**
|
|
25274
25130
|
*
|
|
25275
25131
|
* @param {string} doctorId
|
|
25276
|
-
* @param {string} [languageCode]
|
|
25277
|
-
* @param {boolean} [returnDefaultValue]
|
|
25278
25132
|
* @param {*} [options] Override http request option.
|
|
25279
25133
|
* @throws {RequiredError}
|
|
25280
25134
|
*/
|
|
25281
|
-
apiV1DoctorsDoctorIdGet: async (doctorId: string,
|
|
25135
|
+
apiV1DoctorsDoctorIdGet: async (doctorId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25282
25136
|
// verify required parameter 'doctorId' is not null or undefined
|
|
25283
25137
|
assertParamExists('apiV1DoctorsDoctorIdGet', 'doctorId', doctorId)
|
|
25284
25138
|
const localVarPath = `/api/v1/doctors/{doctorId}`
|
|
@@ -25298,14 +25152,6 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
25298
25152
|
// oauth required
|
|
25299
25153
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
25300
25154
|
|
|
25301
|
-
if (languageCode !== undefined) {
|
|
25302
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
25303
|
-
}
|
|
25304
|
-
|
|
25305
|
-
if (returnDefaultValue !== undefined) {
|
|
25306
|
-
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
25307
|
-
}
|
|
25308
|
-
|
|
25309
25155
|
|
|
25310
25156
|
|
|
25311
25157
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -26321,8 +26167,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26321
26167
|
*
|
|
26322
26168
|
* @summary Get all Doctors.
|
|
26323
26169
|
* @param {string} [hospitalId]
|
|
26324
|
-
* @param {string} [
|
|
26325
|
-
* @param {boolean} [returnDefaultValue]
|
|
26170
|
+
* @param {string} [hospitalName]
|
|
26326
26171
|
* @param {Array<string>} [ids]
|
|
26327
26172
|
* @param {string} [specialtyId]
|
|
26328
26173
|
* @param {boolean} [consultationEnabled]
|
|
@@ -26339,7 +26184,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26339
26184
|
* @param {*} [options] Override http request option.
|
|
26340
26185
|
* @throws {RequiredError}
|
|
26341
26186
|
*/
|
|
26342
|
-
apiV1DoctorsGet: async (hospitalId?: string,
|
|
26187
|
+
apiV1DoctorsGet: async (hospitalId?: string, hospitalName?: string, 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> => {
|
|
26343
26188
|
const localVarPath = `/api/v1/doctors`;
|
|
26344
26189
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26345
26190
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -26360,12 +26205,8 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26360
26205
|
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
26361
26206
|
}
|
|
26362
26207
|
|
|
26363
|
-
if (
|
|
26364
|
-
localVarQueryParameter['
|
|
26365
|
-
}
|
|
26366
|
-
|
|
26367
|
-
if (returnDefaultValue !== undefined) {
|
|
26368
|
-
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
26208
|
+
if (hospitalName !== undefined) {
|
|
26209
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
26369
26210
|
}
|
|
26370
26211
|
|
|
26371
26212
|
if (ids) {
|
|
@@ -26479,8 +26320,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26479
26320
|
*
|
|
26480
26321
|
* @summary Get all Doctors.
|
|
26481
26322
|
* @param {string} [hospitalId]
|
|
26482
|
-
* @param {string} [
|
|
26483
|
-
* @param {boolean} [returnDefaultValue]
|
|
26323
|
+
* @param {string} [hospitalName]
|
|
26484
26324
|
* @param {Array<string>} [ids]
|
|
26485
26325
|
* @param {string} [specialtyId]
|
|
26486
26326
|
* @param {boolean} [consultationEnabled]
|
|
@@ -26497,7 +26337,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26497
26337
|
* @param {*} [options] Override http request option.
|
|
26498
26338
|
* @throws {RequiredError}
|
|
26499
26339
|
*/
|
|
26500
|
-
apiV1DoctorsSimpleGet: async (hospitalId?: string,
|
|
26340
|
+
apiV1DoctorsSimpleGet: async (hospitalId?: string, hospitalName?: string, 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> => {
|
|
26501
26341
|
const localVarPath = `/api/v1/doctors/simple`;
|
|
26502
26342
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26503
26343
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -26518,12 +26358,8 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26518
26358
|
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
26519
26359
|
}
|
|
26520
26360
|
|
|
26521
|
-
if (
|
|
26522
|
-
localVarQueryParameter['
|
|
26523
|
-
}
|
|
26524
|
-
|
|
26525
|
-
if (returnDefaultValue !== undefined) {
|
|
26526
|
-
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
26361
|
+
if (hospitalName !== undefined) {
|
|
26362
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
26527
26363
|
}
|
|
26528
26364
|
|
|
26529
26365
|
if (ids) {
|
|
@@ -26586,53 +26422,6 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26586
26422
|
|
|
26587
26423
|
|
|
26588
26424
|
|
|
26589
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26590
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26591
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
26592
|
-
|
|
26593
|
-
return {
|
|
26594
|
-
url: toPathString(localVarUrlObj),
|
|
26595
|
-
options: localVarRequestOptions,
|
|
26596
|
-
};
|
|
26597
|
-
},
|
|
26598
|
-
/**
|
|
26599
|
-
*
|
|
26600
|
-
* @param {string} slug
|
|
26601
|
-
* @param {string} [languageCode]
|
|
26602
|
-
* @param {boolean} [returnDefaultValue]
|
|
26603
|
-
* @param {*} [options] Override http request option.
|
|
26604
|
-
* @throws {RequiredError}
|
|
26605
|
-
*/
|
|
26606
|
-
apiV1DoctorsSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26607
|
-
// verify required parameter 'slug' is not null or undefined
|
|
26608
|
-
assertParamExists('apiV1DoctorsSlugGet', 'slug', slug)
|
|
26609
|
-
const localVarPath = `/api/v1/doctors/{slug}`
|
|
26610
|
-
.replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
|
|
26611
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26612
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26613
|
-
let baseOptions;
|
|
26614
|
-
if (configuration) {
|
|
26615
|
-
baseOptions = configuration.baseOptions;
|
|
26616
|
-
}
|
|
26617
|
-
|
|
26618
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
26619
|
-
const localVarHeaderParameter = {} as any;
|
|
26620
|
-
const localVarQueryParameter = {} as any;
|
|
26621
|
-
|
|
26622
|
-
// authentication oauth2 required
|
|
26623
|
-
// oauth required
|
|
26624
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
26625
|
-
|
|
26626
|
-
if (languageCode !== undefined) {
|
|
26627
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
26628
|
-
}
|
|
26629
|
-
|
|
26630
|
-
if (returnDefaultValue !== undefined) {
|
|
26631
|
-
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
26632
|
-
}
|
|
26633
|
-
|
|
26634
|
-
|
|
26635
|
-
|
|
26636
26425
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26637
26426
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26638
26427
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -26802,13 +26591,11 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
26802
26591
|
/**
|
|
26803
26592
|
*
|
|
26804
26593
|
* @param {string} doctorId
|
|
26805
|
-
* @param {string} [languageCode]
|
|
26806
|
-
* @param {boolean} [returnDefaultValue]
|
|
26807
26594
|
* @param {*} [options] Override http request option.
|
|
26808
26595
|
* @throws {RequiredError}
|
|
26809
26596
|
*/
|
|
26810
|
-
async apiV1DoctorsDoctorIdGet(doctorId: string,
|
|
26811
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdGet(doctorId,
|
|
26597
|
+
async apiV1DoctorsDoctorIdGet(doctorId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorModel>> {
|
|
26598
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdGet(doctorId, options);
|
|
26812
26599
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
26813
26600
|
},
|
|
26814
26601
|
/**
|
|
@@ -27089,8 +26876,7 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
27089
26876
|
*
|
|
27090
26877
|
* @summary Get all Doctors.
|
|
27091
26878
|
* @param {string} [hospitalId]
|
|
27092
|
-
* @param {string} [
|
|
27093
|
-
* @param {boolean} [returnDefaultValue]
|
|
26879
|
+
* @param {string} [hospitalName]
|
|
27094
26880
|
* @param {Array<string>} [ids]
|
|
27095
26881
|
* @param {string} [specialtyId]
|
|
27096
26882
|
* @param {boolean} [consultationEnabled]
|
|
@@ -27107,8 +26893,8 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
27107
26893
|
* @param {*} [options] Override http request option.
|
|
27108
26894
|
* @throws {RequiredError}
|
|
27109
26895
|
*/
|
|
27110
|
-
async apiV1DoctorsGet(hospitalId?: string,
|
|
27111
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsGet(hospitalId,
|
|
26896
|
+
async apiV1DoctorsGet(hospitalId?: string, hospitalName?: string, 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>> {
|
|
26897
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options);
|
|
27112
26898
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
27113
26899
|
},
|
|
27114
26900
|
/**
|
|
@@ -27126,8 +26912,7 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
27126
26912
|
*
|
|
27127
26913
|
* @summary Get all Doctors.
|
|
27128
26914
|
* @param {string} [hospitalId]
|
|
27129
|
-
* @param {string} [
|
|
27130
|
-
* @param {boolean} [returnDefaultValue]
|
|
26915
|
+
* @param {string} [hospitalName]
|
|
27131
26916
|
* @param {Array<string>} [ids]
|
|
27132
26917
|
* @param {string} [specialtyId]
|
|
27133
26918
|
* @param {boolean} [consultationEnabled]
|
|
@@ -27144,20 +26929,8 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
27144
26929
|
* @param {*} [options] Override http request option.
|
|
27145
26930
|
* @throws {RequiredError}
|
|
27146
26931
|
*/
|
|
27147
|
-
async apiV1DoctorsSimpleGet(hospitalId?: string,
|
|
27148
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsSimpleGet(hospitalId,
|
|
27149
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
27150
|
-
},
|
|
27151
|
-
/**
|
|
27152
|
-
*
|
|
27153
|
-
* @param {string} slug
|
|
27154
|
-
* @param {string} [languageCode]
|
|
27155
|
-
* @param {boolean} [returnDefaultValue]
|
|
27156
|
-
* @param {*} [options] Override http request option.
|
|
27157
|
-
* @throws {RequiredError}
|
|
27158
|
-
*/
|
|
27159
|
-
async apiV1DoctorsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorModel>> {
|
|
27160
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsSlugGet(slug, languageCode, returnDefaultValue, options);
|
|
26932
|
+
async apiV1DoctorsSimpleGet(hospitalId?: string, hospitalName?: string, 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>> {
|
|
26933
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsSimpleGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options);
|
|
27161
26934
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
27162
26935
|
},
|
|
27163
26936
|
}
|
|
@@ -27309,13 +27082,11 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
27309
27082
|
/**
|
|
27310
27083
|
*
|
|
27311
27084
|
* @param {string} doctorId
|
|
27312
|
-
* @param {string} [languageCode]
|
|
27313
|
-
* @param {boolean} [returnDefaultValue]
|
|
27314
27085
|
* @param {*} [options] Override http request option.
|
|
27315
27086
|
* @throws {RequiredError}
|
|
27316
27087
|
*/
|
|
27317
|
-
apiV1DoctorsDoctorIdGet(doctorId: string,
|
|
27318
|
-
return localVarFp.apiV1DoctorsDoctorIdGet(doctorId,
|
|
27088
|
+
apiV1DoctorsDoctorIdGet(doctorId: string, options?: any): AxiosPromise<DoctorModel> {
|
|
27089
|
+
return localVarFp.apiV1DoctorsDoctorIdGet(doctorId, options).then((request) => request(axios, basePath));
|
|
27319
27090
|
},
|
|
27320
27091
|
/**
|
|
27321
27092
|
*
|
|
@@ -27574,8 +27345,7 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
27574
27345
|
*
|
|
27575
27346
|
* @summary Get all Doctors.
|
|
27576
27347
|
* @param {string} [hospitalId]
|
|
27577
|
-
* @param {string} [
|
|
27578
|
-
* @param {boolean} [returnDefaultValue]
|
|
27348
|
+
* @param {string} [hospitalName]
|
|
27579
27349
|
* @param {Array<string>} [ids]
|
|
27580
27350
|
* @param {string} [specialtyId]
|
|
27581
27351
|
* @param {boolean} [consultationEnabled]
|
|
@@ -27592,8 +27362,8 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
27592
27362
|
* @param {*} [options] Override http request option.
|
|
27593
27363
|
* @throws {RequiredError}
|
|
27594
27364
|
*/
|
|
27595
|
-
apiV1DoctorsGet(hospitalId?: string,
|
|
27596
|
-
return localVarFp.apiV1DoctorsGet(hospitalId,
|
|
27365
|
+
apiV1DoctorsGet(hospitalId?: string, hospitalName?: string, 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> {
|
|
27366
|
+
return localVarFp.apiV1DoctorsGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
27597
27367
|
},
|
|
27598
27368
|
/**
|
|
27599
27369
|
*
|
|
@@ -27609,8 +27379,7 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
27609
27379
|
*
|
|
27610
27380
|
* @summary Get all Doctors.
|
|
27611
27381
|
* @param {string} [hospitalId]
|
|
27612
|
-
* @param {string} [
|
|
27613
|
-
* @param {boolean} [returnDefaultValue]
|
|
27382
|
+
* @param {string} [hospitalName]
|
|
27614
27383
|
* @param {Array<string>} [ids]
|
|
27615
27384
|
* @param {string} [specialtyId]
|
|
27616
27385
|
* @param {boolean} [consultationEnabled]
|
|
@@ -27627,19 +27396,8 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
27627
27396
|
* @param {*} [options] Override http request option.
|
|
27628
27397
|
* @throws {RequiredError}
|
|
27629
27398
|
*/
|
|
27630
|
-
apiV1DoctorsSimpleGet(hospitalId?: string,
|
|
27631
|
-
return localVarFp.apiV1DoctorsSimpleGet(hospitalId,
|
|
27632
|
-
},
|
|
27633
|
-
/**
|
|
27634
|
-
*
|
|
27635
|
-
* @param {string} slug
|
|
27636
|
-
* @param {string} [languageCode]
|
|
27637
|
-
* @param {boolean} [returnDefaultValue]
|
|
27638
|
-
* @param {*} [options] Override http request option.
|
|
27639
|
-
* @throws {RequiredError}
|
|
27640
|
-
*/
|
|
27641
|
-
apiV1DoctorsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<DoctorModel> {
|
|
27642
|
-
return localVarFp.apiV1DoctorsSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
27399
|
+
apiV1DoctorsSimpleGet(hospitalId?: string, hospitalName?: string, 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> {
|
|
27400
|
+
return localVarFp.apiV1DoctorsSimpleGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
27643
27401
|
},
|
|
27644
27402
|
};
|
|
27645
27403
|
};
|
|
@@ -27812,14 +27570,12 @@ export class DoctorsApi extends BaseAPI {
|
|
|
27812
27570
|
/**
|
|
27813
27571
|
*
|
|
27814
27572
|
* @param {string} doctorId
|
|
27815
|
-
* @param {string} [languageCode]
|
|
27816
|
-
* @param {boolean} [returnDefaultValue]
|
|
27817
27573
|
* @param {*} [options] Override http request option.
|
|
27818
27574
|
* @throws {RequiredError}
|
|
27819
27575
|
* @memberof DoctorsApi
|
|
27820
27576
|
*/
|
|
27821
|
-
public apiV1DoctorsDoctorIdGet(doctorId: string,
|
|
27822
|
-
return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdGet(doctorId,
|
|
27577
|
+
public apiV1DoctorsDoctorIdGet(doctorId: string, options?: AxiosRequestConfig) {
|
|
27578
|
+
return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdGet(doctorId, options).then((request) => request(this.axios, this.basePath));
|
|
27823
27579
|
}
|
|
27824
27580
|
|
|
27825
27581
|
/**
|
|
@@ -28121,8 +27877,7 @@ export class DoctorsApi extends BaseAPI {
|
|
|
28121
27877
|
*
|
|
28122
27878
|
* @summary Get all Doctors.
|
|
28123
27879
|
* @param {string} [hospitalId]
|
|
28124
|
-
* @param {string} [
|
|
28125
|
-
* @param {boolean} [returnDefaultValue]
|
|
27880
|
+
* @param {string} [hospitalName]
|
|
28126
27881
|
* @param {Array<string>} [ids]
|
|
28127
27882
|
* @param {string} [specialtyId]
|
|
28128
27883
|
* @param {boolean} [consultationEnabled]
|
|
@@ -28140,8 +27895,8 @@ export class DoctorsApi extends BaseAPI {
|
|
|
28140
27895
|
* @throws {RequiredError}
|
|
28141
27896
|
* @memberof DoctorsApi
|
|
28142
27897
|
*/
|
|
28143
|
-
public apiV1DoctorsGet(hospitalId?: string,
|
|
28144
|
-
return DoctorsApiFp(this.configuration).apiV1DoctorsGet(hospitalId,
|
|
27898
|
+
public apiV1DoctorsGet(hospitalId?: string, hospitalName?: string, 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) {
|
|
27899
|
+
return DoctorsApiFp(this.configuration).apiV1DoctorsGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
28145
27900
|
}
|
|
28146
27901
|
|
|
28147
27902
|
/**
|
|
@@ -28160,8 +27915,7 @@ export class DoctorsApi extends BaseAPI {
|
|
|
28160
27915
|
*
|
|
28161
27916
|
* @summary Get all Doctors.
|
|
28162
27917
|
* @param {string} [hospitalId]
|
|
28163
|
-
* @param {string} [
|
|
28164
|
-
* @param {boolean} [returnDefaultValue]
|
|
27918
|
+
* @param {string} [hospitalName]
|
|
28165
27919
|
* @param {Array<string>} [ids]
|
|
28166
27920
|
* @param {string} [specialtyId]
|
|
28167
27921
|
* @param {boolean} [consultationEnabled]
|
|
@@ -28179,21 +27933,8 @@ export class DoctorsApi extends BaseAPI {
|
|
|
28179
27933
|
* @throws {RequiredError}
|
|
28180
27934
|
* @memberof DoctorsApi
|
|
28181
27935
|
*/
|
|
28182
|
-
public apiV1DoctorsSimpleGet(hospitalId?: string,
|
|
28183
|
-
return DoctorsApiFp(this.configuration).apiV1DoctorsSimpleGet(hospitalId,
|
|
28184
|
-
}
|
|
28185
|
-
|
|
28186
|
-
/**
|
|
28187
|
-
*
|
|
28188
|
-
* @param {string} slug
|
|
28189
|
-
* @param {string} [languageCode]
|
|
28190
|
-
* @param {boolean} [returnDefaultValue]
|
|
28191
|
-
* @param {*} [options] Override http request option.
|
|
28192
|
-
* @throws {RequiredError}
|
|
28193
|
-
* @memberof DoctorsApi
|
|
28194
|
-
*/
|
|
28195
|
-
public apiV1DoctorsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
28196
|
-
return DoctorsApiFp(this.configuration).apiV1DoctorsSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
27936
|
+
public apiV1DoctorsSimpleGet(hospitalId?: string, hospitalName?: string, 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) {
|
|
27937
|
+
return DoctorsApiFp(this.configuration).apiV1DoctorsSimpleGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
28197
27938
|
}
|
|
28198
27939
|
}
|
|
28199
27940
|
|