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/lib/api.d.ts +65 -193
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +106 -141
- package/package.json +1 -1
- package/src/api.ts +117 -265
package/lib/api.js
CHANGED
|
@@ -6460,6 +6460,42 @@ var DoctorAffiliationsApiAxiosParamCreator = function (configuration) {
|
|
|
6460
6460
|
});
|
|
6461
6461
|
});
|
|
6462
6462
|
},
|
|
6463
|
+
/**
|
|
6464
|
+
*
|
|
6465
|
+
* @param {string} slug
|
|
6466
|
+
* @param {string} [languageCode]
|
|
6467
|
+
* @param {*} [options] Override http request option.
|
|
6468
|
+
* @throws {RequiredError}
|
|
6469
|
+
*/
|
|
6470
|
+
apiV2DoctoraffiliationsSlugGet: function (slug, languageCode, options) {
|
|
6471
|
+
if (options === void 0) { options = {}; }
|
|
6472
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
6473
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
6474
|
+
return __generator(this, function (_a) {
|
|
6475
|
+
// verify required parameter 'slug' is not null or undefined
|
|
6476
|
+
(0, common_1.assertParamExists)('apiV2DoctoraffiliationsSlugGet', 'slug', slug);
|
|
6477
|
+
localVarPath = "/api/v2/doctoraffiliations/{slug}"
|
|
6478
|
+
.replace("{".concat("slug", "}"), encodeURIComponent(String(slug)));
|
|
6479
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6480
|
+
if (configuration) {
|
|
6481
|
+
baseOptions = configuration.baseOptions;
|
|
6482
|
+
}
|
|
6483
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
6484
|
+
localVarHeaderParameter = {};
|
|
6485
|
+
localVarQueryParameter = {};
|
|
6486
|
+
if (languageCode !== undefined) {
|
|
6487
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
6488
|
+
}
|
|
6489
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6490
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6491
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6492
|
+
return [2 /*return*/, {
|
|
6493
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6494
|
+
options: localVarRequestOptions,
|
|
6495
|
+
}];
|
|
6496
|
+
});
|
|
6497
|
+
});
|
|
6498
|
+
},
|
|
6463
6499
|
};
|
|
6464
6500
|
};
|
|
6465
6501
|
exports.DoctorAffiliationsApiAxiosParamCreator = DoctorAffiliationsApiAxiosParamCreator;
|
|
@@ -6519,6 +6555,26 @@ var DoctorAffiliationsApiFp = function (configuration) {
|
|
|
6519
6555
|
});
|
|
6520
6556
|
});
|
|
6521
6557
|
},
|
|
6558
|
+
/**
|
|
6559
|
+
*
|
|
6560
|
+
* @param {string} slug
|
|
6561
|
+
* @param {string} [languageCode]
|
|
6562
|
+
* @param {*} [options] Override http request option.
|
|
6563
|
+
* @throws {RequiredError}
|
|
6564
|
+
*/
|
|
6565
|
+
apiV2DoctoraffiliationsSlugGet: function (slug, languageCode, options) {
|
|
6566
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6567
|
+
var localVarAxiosArgs;
|
|
6568
|
+
return __generator(this, function (_a) {
|
|
6569
|
+
switch (_a.label) {
|
|
6570
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctoraffiliationsSlugGet(slug, languageCode, options)];
|
|
6571
|
+
case 1:
|
|
6572
|
+
localVarAxiosArgs = _a.sent();
|
|
6573
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
6574
|
+
}
|
|
6575
|
+
});
|
|
6576
|
+
});
|
|
6577
|
+
},
|
|
6522
6578
|
};
|
|
6523
6579
|
};
|
|
6524
6580
|
exports.DoctorAffiliationsApiFp = DoctorAffiliationsApiFp;
|
|
@@ -6558,6 +6614,16 @@ var DoctorAffiliationsApiFactory = function (configuration, basePath, axios) {
|
|
|
6558
6614
|
apiV2DoctoraffiliationsIdGet: function (id, languageCode, options) {
|
|
6559
6615
|
return localVarFp.apiV2DoctoraffiliationsIdGet(id, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
6560
6616
|
},
|
|
6617
|
+
/**
|
|
6618
|
+
*
|
|
6619
|
+
* @param {string} slug
|
|
6620
|
+
* @param {string} [languageCode]
|
|
6621
|
+
* @param {*} [options] Override http request option.
|
|
6622
|
+
* @throws {RequiredError}
|
|
6623
|
+
*/
|
|
6624
|
+
apiV2DoctoraffiliationsSlugGet: function (slug, languageCode, options) {
|
|
6625
|
+
return localVarFp.apiV2DoctoraffiliationsSlugGet(slug, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
6626
|
+
},
|
|
6561
6627
|
};
|
|
6562
6628
|
};
|
|
6563
6629
|
exports.DoctorAffiliationsApiFactory = DoctorAffiliationsApiFactory;
|
|
@@ -6605,6 +6671,18 @@ var DoctorAffiliationsApi = /** @class */ (function (_super) {
|
|
|
6605
6671
|
var _this = this;
|
|
6606
6672
|
return (0, exports.DoctorAffiliationsApiFp)(this.configuration).apiV2DoctoraffiliationsIdGet(id, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6607
6673
|
};
|
|
6674
|
+
/**
|
|
6675
|
+
*
|
|
6676
|
+
* @param {string} slug
|
|
6677
|
+
* @param {string} [languageCode]
|
|
6678
|
+
* @param {*} [options] Override http request option.
|
|
6679
|
+
* @throws {RequiredError}
|
|
6680
|
+
* @memberof DoctorAffiliationsApi
|
|
6681
|
+
*/
|
|
6682
|
+
DoctorAffiliationsApi.prototype.apiV2DoctoraffiliationsSlugGet = function (slug, languageCode, options) {
|
|
6683
|
+
var _this = this;
|
|
6684
|
+
return (0, exports.DoctorAffiliationsApiFp)(this.configuration).apiV2DoctoraffiliationsSlugGet(slug, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6685
|
+
};
|
|
6608
6686
|
return DoctorAffiliationsApi;
|
|
6609
6687
|
}(base_1.BaseAPI));
|
|
6610
6688
|
exports.DoctorAffiliationsApi = DoctorAffiliationsApi;
|
|
@@ -7254,25 +7332,23 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
7254
7332
|
* @summary Get all Doctors.
|
|
7255
7333
|
* @param {string} [hospitalId]
|
|
7256
7334
|
* @param {string} [hospitalName]
|
|
7257
|
-
* @param {string} [languageCode]
|
|
7258
|
-
* @param {boolean} [returnDefaultValue]
|
|
7259
7335
|
* @param {Array<string>} [ids]
|
|
7260
7336
|
* @param {string} [specialtyId]
|
|
7261
7337
|
* @param {boolean} [consultationEnabled]
|
|
7338
|
+
* @param {string} [languageCode]
|
|
7262
7339
|
* @param {string} [id]
|
|
7263
7340
|
* @param {string} [fullname]
|
|
7264
7341
|
* @param {string} [email]
|
|
7265
7342
|
* @param {Gender} [gender]
|
|
7266
7343
|
* @param {Date} [dateOfBirth]
|
|
7267
7344
|
* @param {Date} [created]
|
|
7268
|
-
* @param {boolean} [showHidden]
|
|
7269
7345
|
* @param {number} [page]
|
|
7270
7346
|
* @param {number} [limit]
|
|
7271
7347
|
* @param {Date} [lastRetrieved]
|
|
7272
7348
|
* @param {*} [options] Override http request option.
|
|
7273
7349
|
* @throws {RequiredError}
|
|
7274
7350
|
*/
|
|
7275
|
-
apiV2DoctorsGet: function (hospitalId, hospitalName,
|
|
7351
|
+
apiV2DoctorsGet: function (hospitalId, hospitalName, ids, specialtyId, consultationEnabled, languageCode, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options) {
|
|
7276
7352
|
if (options === void 0) { options = {}; }
|
|
7277
7353
|
return __awaiter(_this, void 0, void 0, function () {
|
|
7278
7354
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -7291,12 +7367,6 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
7291
7367
|
if (hospitalName !== undefined) {
|
|
7292
7368
|
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
7293
7369
|
}
|
|
7294
|
-
if (languageCode !== undefined) {
|
|
7295
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
7296
|
-
}
|
|
7297
|
-
if (returnDefaultValue !== undefined) {
|
|
7298
|
-
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
7299
|
-
}
|
|
7300
7370
|
if (ids) {
|
|
7301
7371
|
localVarQueryParameter['Ids'] = ids;
|
|
7302
7372
|
}
|
|
@@ -7306,6 +7376,9 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
7306
7376
|
if (consultationEnabled !== undefined) {
|
|
7307
7377
|
localVarQueryParameter['ConsultationEnabled'] = consultationEnabled;
|
|
7308
7378
|
}
|
|
7379
|
+
if (languageCode !== undefined) {
|
|
7380
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
7381
|
+
}
|
|
7309
7382
|
if (id !== undefined) {
|
|
7310
7383
|
localVarQueryParameter['Id'] = id;
|
|
7311
7384
|
}
|
|
@@ -7328,9 +7401,6 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
7328
7401
|
created.toISOString() :
|
|
7329
7402
|
created;
|
|
7330
7403
|
}
|
|
7331
|
-
if (showHidden !== undefined) {
|
|
7332
|
-
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
7333
|
-
}
|
|
7334
7404
|
if (page !== undefined) {
|
|
7335
7405
|
localVarQueryParameter['page'] = page;
|
|
7336
7406
|
}
|
|
@@ -7357,25 +7427,23 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
7357
7427
|
* @summary Get all Doctors.
|
|
7358
7428
|
* @param {string} [hospitalId]
|
|
7359
7429
|
* @param {string} [hospitalName]
|
|
7360
|
-
* @param {string} [languageCode]
|
|
7361
|
-
* @param {boolean} [returnDefaultValue]
|
|
7362
7430
|
* @param {Array<string>} [ids]
|
|
7363
7431
|
* @param {string} [specialtyId]
|
|
7364
7432
|
* @param {boolean} [consultationEnabled]
|
|
7433
|
+
* @param {string} [languageCode]
|
|
7365
7434
|
* @param {string} [id]
|
|
7366
7435
|
* @param {string} [fullname]
|
|
7367
7436
|
* @param {string} [email]
|
|
7368
7437
|
* @param {Gender} [gender]
|
|
7369
7438
|
* @param {Date} [dateOfBirth]
|
|
7370
7439
|
* @param {Date} [created]
|
|
7371
|
-
* @param {boolean} [showHidden]
|
|
7372
7440
|
* @param {number} [page]
|
|
7373
7441
|
* @param {number} [limit]
|
|
7374
7442
|
* @param {Date} [lastRetrieved]
|
|
7375
7443
|
* @param {*} [options] Override http request option.
|
|
7376
7444
|
* @throws {RequiredError}
|
|
7377
7445
|
*/
|
|
7378
|
-
apiV2DoctorsSimpleGet: function (hospitalId, hospitalName,
|
|
7446
|
+
apiV2DoctorsSimpleGet: function (hospitalId, hospitalName, ids, specialtyId, consultationEnabled, languageCode, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options) {
|
|
7379
7447
|
if (options === void 0) { options = {}; }
|
|
7380
7448
|
return __awaiter(_this, void 0, void 0, function () {
|
|
7381
7449
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -7394,12 +7462,6 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
7394
7462
|
if (hospitalName !== undefined) {
|
|
7395
7463
|
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
7396
7464
|
}
|
|
7397
|
-
if (languageCode !== undefined) {
|
|
7398
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
7399
|
-
}
|
|
7400
|
-
if (returnDefaultValue !== undefined) {
|
|
7401
|
-
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
7402
|
-
}
|
|
7403
7465
|
if (ids) {
|
|
7404
7466
|
localVarQueryParameter['Ids'] = ids;
|
|
7405
7467
|
}
|
|
@@ -7409,6 +7471,9 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
7409
7471
|
if (consultationEnabled !== undefined) {
|
|
7410
7472
|
localVarQueryParameter['ConsultationEnabled'] = consultationEnabled;
|
|
7411
7473
|
}
|
|
7474
|
+
if (languageCode !== undefined) {
|
|
7475
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
7476
|
+
}
|
|
7412
7477
|
if (id !== undefined) {
|
|
7413
7478
|
localVarQueryParameter['Id'] = id;
|
|
7414
7479
|
}
|
|
@@ -7431,9 +7496,6 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
7431
7496
|
created.toISOString() :
|
|
7432
7497
|
created;
|
|
7433
7498
|
}
|
|
7434
|
-
if (showHidden !== undefined) {
|
|
7435
|
-
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
7436
|
-
}
|
|
7437
7499
|
if (page !== undefined) {
|
|
7438
7500
|
localVarQueryParameter['page'] = page;
|
|
7439
7501
|
}
|
|
@@ -7455,46 +7517,6 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
7455
7517
|
});
|
|
7456
7518
|
});
|
|
7457
7519
|
},
|
|
7458
|
-
/**
|
|
7459
|
-
*
|
|
7460
|
-
* @param {string} slug
|
|
7461
|
-
* @param {string} [languageCode]
|
|
7462
|
-
* @param {boolean} [returnDefaultValue]
|
|
7463
|
-
* @param {*} [options] Override http request option.
|
|
7464
|
-
* @throws {RequiredError}
|
|
7465
|
-
*/
|
|
7466
|
-
apiV2DoctorsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
7467
|
-
if (options === void 0) { options = {}; }
|
|
7468
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
7469
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7470
|
-
return __generator(this, function (_a) {
|
|
7471
|
-
// verify required parameter 'slug' is not null or undefined
|
|
7472
|
-
(0, common_1.assertParamExists)('apiV2DoctorsSlugGet', 'slug', slug);
|
|
7473
|
-
localVarPath = "/api/v2/doctors/{slug}"
|
|
7474
|
-
.replace("{".concat("slug", "}"), encodeURIComponent(String(slug)));
|
|
7475
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7476
|
-
if (configuration) {
|
|
7477
|
-
baseOptions = configuration.baseOptions;
|
|
7478
|
-
}
|
|
7479
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
7480
|
-
localVarHeaderParameter = {};
|
|
7481
|
-
localVarQueryParameter = {};
|
|
7482
|
-
if (languageCode !== undefined) {
|
|
7483
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
7484
|
-
}
|
|
7485
|
-
if (returnDefaultValue !== undefined) {
|
|
7486
|
-
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
7487
|
-
}
|
|
7488
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7489
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7490
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7491
|
-
return [2 /*return*/, {
|
|
7492
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7493
|
-
options: localVarRequestOptions,
|
|
7494
|
-
}];
|
|
7495
|
-
});
|
|
7496
|
-
});
|
|
7497
|
-
},
|
|
7498
7520
|
};
|
|
7499
7521
|
};
|
|
7500
7522
|
exports.DoctorsApiAxiosParamCreator = DoctorsApiAxiosParamCreator;
|
|
@@ -7816,30 +7838,28 @@ var DoctorsApiFp = function (configuration) {
|
|
|
7816
7838
|
* @summary Get all Doctors.
|
|
7817
7839
|
* @param {string} [hospitalId]
|
|
7818
7840
|
* @param {string} [hospitalName]
|
|
7819
|
-
* @param {string} [languageCode]
|
|
7820
|
-
* @param {boolean} [returnDefaultValue]
|
|
7821
7841
|
* @param {Array<string>} [ids]
|
|
7822
7842
|
* @param {string} [specialtyId]
|
|
7823
7843
|
* @param {boolean} [consultationEnabled]
|
|
7844
|
+
* @param {string} [languageCode]
|
|
7824
7845
|
* @param {string} [id]
|
|
7825
7846
|
* @param {string} [fullname]
|
|
7826
7847
|
* @param {string} [email]
|
|
7827
7848
|
* @param {Gender} [gender]
|
|
7828
7849
|
* @param {Date} [dateOfBirth]
|
|
7829
7850
|
* @param {Date} [created]
|
|
7830
|
-
* @param {boolean} [showHidden]
|
|
7831
7851
|
* @param {number} [page]
|
|
7832
7852
|
* @param {number} [limit]
|
|
7833
7853
|
* @param {Date} [lastRetrieved]
|
|
7834
7854
|
* @param {*} [options] Override http request option.
|
|
7835
7855
|
* @throws {RequiredError}
|
|
7836
7856
|
*/
|
|
7837
|
-
apiV2DoctorsGet: function (hospitalId, hospitalName,
|
|
7857
|
+
apiV2DoctorsGet: function (hospitalId, hospitalName, ids, specialtyId, consultationEnabled, languageCode, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options) {
|
|
7838
7858
|
return __awaiter(this, void 0, void 0, function () {
|
|
7839
7859
|
var localVarAxiosArgs;
|
|
7840
7860
|
return __generator(this, function (_a) {
|
|
7841
7861
|
switch (_a.label) {
|
|
7842
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsGet(hospitalId, hospitalName,
|
|
7862
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, languageCode, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options)];
|
|
7843
7863
|
case 1:
|
|
7844
7864
|
localVarAxiosArgs = _a.sent();
|
|
7845
7865
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -7852,51 +7872,28 @@ var DoctorsApiFp = function (configuration) {
|
|
|
7852
7872
|
* @summary Get all Doctors.
|
|
7853
7873
|
* @param {string} [hospitalId]
|
|
7854
7874
|
* @param {string} [hospitalName]
|
|
7855
|
-
* @param {string} [languageCode]
|
|
7856
|
-
* @param {boolean} [returnDefaultValue]
|
|
7857
7875
|
* @param {Array<string>} [ids]
|
|
7858
7876
|
* @param {string} [specialtyId]
|
|
7859
7877
|
* @param {boolean} [consultationEnabled]
|
|
7878
|
+
* @param {string} [languageCode]
|
|
7860
7879
|
* @param {string} [id]
|
|
7861
7880
|
* @param {string} [fullname]
|
|
7862
7881
|
* @param {string} [email]
|
|
7863
7882
|
* @param {Gender} [gender]
|
|
7864
7883
|
* @param {Date} [dateOfBirth]
|
|
7865
7884
|
* @param {Date} [created]
|
|
7866
|
-
* @param {boolean} [showHidden]
|
|
7867
7885
|
* @param {number} [page]
|
|
7868
7886
|
* @param {number} [limit]
|
|
7869
7887
|
* @param {Date} [lastRetrieved]
|
|
7870
7888
|
* @param {*} [options] Override http request option.
|
|
7871
7889
|
* @throws {RequiredError}
|
|
7872
7890
|
*/
|
|
7873
|
-
apiV2DoctorsSimpleGet: function (hospitalId, hospitalName,
|
|
7874
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
7875
|
-
var localVarAxiosArgs;
|
|
7876
|
-
return __generator(this, function (_a) {
|
|
7877
|
-
switch (_a.label) {
|
|
7878
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsSimpleGet(hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
|
|
7879
|
-
case 1:
|
|
7880
|
-
localVarAxiosArgs = _a.sent();
|
|
7881
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
7882
|
-
}
|
|
7883
|
-
});
|
|
7884
|
-
});
|
|
7885
|
-
},
|
|
7886
|
-
/**
|
|
7887
|
-
*
|
|
7888
|
-
* @param {string} slug
|
|
7889
|
-
* @param {string} [languageCode]
|
|
7890
|
-
* @param {boolean} [returnDefaultValue]
|
|
7891
|
-
* @param {*} [options] Override http request option.
|
|
7892
|
-
* @throws {RequiredError}
|
|
7893
|
-
*/
|
|
7894
|
-
apiV2DoctorsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
7891
|
+
apiV2DoctorsSimpleGet: function (hospitalId, hospitalName, ids, specialtyId, consultationEnabled, languageCode, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options) {
|
|
7895
7892
|
return __awaiter(this, void 0, void 0, function () {
|
|
7896
7893
|
var localVarAxiosArgs;
|
|
7897
7894
|
return __generator(this, function (_a) {
|
|
7898
7895
|
switch (_a.label) {
|
|
7899
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
7896
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsSimpleGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, languageCode, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options)];
|
|
7900
7897
|
case 1:
|
|
7901
7898
|
localVarAxiosArgs = _a.sent();
|
|
7902
7899
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -8095,63 +8092,48 @@ var DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
8095
8092
|
* @summary Get all Doctors.
|
|
8096
8093
|
* @param {string} [hospitalId]
|
|
8097
8094
|
* @param {string} [hospitalName]
|
|
8098
|
-
* @param {string} [languageCode]
|
|
8099
|
-
* @param {boolean} [returnDefaultValue]
|
|
8100
8095
|
* @param {Array<string>} [ids]
|
|
8101
8096
|
* @param {string} [specialtyId]
|
|
8102
8097
|
* @param {boolean} [consultationEnabled]
|
|
8098
|
+
* @param {string} [languageCode]
|
|
8103
8099
|
* @param {string} [id]
|
|
8104
8100
|
* @param {string} [fullname]
|
|
8105
8101
|
* @param {string} [email]
|
|
8106
8102
|
* @param {Gender} [gender]
|
|
8107
8103
|
* @param {Date} [dateOfBirth]
|
|
8108
8104
|
* @param {Date} [created]
|
|
8109
|
-
* @param {boolean} [showHidden]
|
|
8110
8105
|
* @param {number} [page]
|
|
8111
8106
|
* @param {number} [limit]
|
|
8112
8107
|
* @param {Date} [lastRetrieved]
|
|
8113
8108
|
* @param {*} [options] Override http request option.
|
|
8114
8109
|
* @throws {RequiredError}
|
|
8115
8110
|
*/
|
|
8116
|
-
apiV2DoctorsGet: function (hospitalId, hospitalName,
|
|
8117
|
-
return localVarFp.apiV2DoctorsGet(hospitalId, hospitalName,
|
|
8111
|
+
apiV2DoctorsGet: function (hospitalId, hospitalName, ids, specialtyId, consultationEnabled, languageCode, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options) {
|
|
8112
|
+
return localVarFp.apiV2DoctorsGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, languageCode, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
8118
8113
|
},
|
|
8119
8114
|
/**
|
|
8120
8115
|
*
|
|
8121
8116
|
* @summary Get all Doctors.
|
|
8122
8117
|
* @param {string} [hospitalId]
|
|
8123
8118
|
* @param {string} [hospitalName]
|
|
8124
|
-
* @param {string} [languageCode]
|
|
8125
|
-
* @param {boolean} [returnDefaultValue]
|
|
8126
8119
|
* @param {Array<string>} [ids]
|
|
8127
8120
|
* @param {string} [specialtyId]
|
|
8128
8121
|
* @param {boolean} [consultationEnabled]
|
|
8122
|
+
* @param {string} [languageCode]
|
|
8129
8123
|
* @param {string} [id]
|
|
8130
8124
|
* @param {string} [fullname]
|
|
8131
8125
|
* @param {string} [email]
|
|
8132
8126
|
* @param {Gender} [gender]
|
|
8133
8127
|
* @param {Date} [dateOfBirth]
|
|
8134
8128
|
* @param {Date} [created]
|
|
8135
|
-
* @param {boolean} [showHidden]
|
|
8136
8129
|
* @param {number} [page]
|
|
8137
8130
|
* @param {number} [limit]
|
|
8138
8131
|
* @param {Date} [lastRetrieved]
|
|
8139
8132
|
* @param {*} [options] Override http request option.
|
|
8140
8133
|
* @throws {RequiredError}
|
|
8141
8134
|
*/
|
|
8142
|
-
apiV2DoctorsSimpleGet: function (hospitalId, hospitalName,
|
|
8143
|
-
return localVarFp.apiV2DoctorsSimpleGet(hospitalId, hospitalName,
|
|
8144
|
-
},
|
|
8145
|
-
/**
|
|
8146
|
-
*
|
|
8147
|
-
* @param {string} slug
|
|
8148
|
-
* @param {string} [languageCode]
|
|
8149
|
-
* @param {boolean} [returnDefaultValue]
|
|
8150
|
-
* @param {*} [options] Override http request option.
|
|
8151
|
-
* @throws {RequiredError}
|
|
8152
|
-
*/
|
|
8153
|
-
apiV2DoctorsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
8154
|
-
return localVarFp.apiV2DoctorsSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
8135
|
+
apiV2DoctorsSimpleGet: function (hospitalId, hospitalName, ids, specialtyId, consultationEnabled, languageCode, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options) {
|
|
8136
|
+
return localVarFp.apiV2DoctorsSimpleGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, languageCode, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
8155
8137
|
},
|
|
8156
8138
|
};
|
|
8157
8139
|
};
|
|
@@ -8374,18 +8356,16 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
8374
8356
|
* @summary Get all Doctors.
|
|
8375
8357
|
* @param {string} [hospitalId]
|
|
8376
8358
|
* @param {string} [hospitalName]
|
|
8377
|
-
* @param {string} [languageCode]
|
|
8378
|
-
* @param {boolean} [returnDefaultValue]
|
|
8379
8359
|
* @param {Array<string>} [ids]
|
|
8380
8360
|
* @param {string} [specialtyId]
|
|
8381
8361
|
* @param {boolean} [consultationEnabled]
|
|
8362
|
+
* @param {string} [languageCode]
|
|
8382
8363
|
* @param {string} [id]
|
|
8383
8364
|
* @param {string} [fullname]
|
|
8384
8365
|
* @param {string} [email]
|
|
8385
8366
|
* @param {Gender} [gender]
|
|
8386
8367
|
* @param {Date} [dateOfBirth]
|
|
8387
8368
|
* @param {Date} [created]
|
|
8388
|
-
* @param {boolean} [showHidden]
|
|
8389
8369
|
* @param {number} [page]
|
|
8390
8370
|
* @param {number} [limit]
|
|
8391
8371
|
* @param {Date} [lastRetrieved]
|
|
@@ -8393,27 +8373,25 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
8393
8373
|
* @throws {RequiredError}
|
|
8394
8374
|
* @memberof DoctorsApi
|
|
8395
8375
|
*/
|
|
8396
|
-
DoctorsApi.prototype.apiV2DoctorsGet = function (hospitalId, hospitalName,
|
|
8376
|
+
DoctorsApi.prototype.apiV2DoctorsGet = function (hospitalId, hospitalName, ids, specialtyId, consultationEnabled, languageCode, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options) {
|
|
8397
8377
|
var _this = this;
|
|
8398
|
-
return (0, exports.DoctorsApiFp)(this.configuration).apiV2DoctorsGet(hospitalId, hospitalName,
|
|
8378
|
+
return (0, exports.DoctorsApiFp)(this.configuration).apiV2DoctorsGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, languageCode, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8399
8379
|
};
|
|
8400
8380
|
/**
|
|
8401
8381
|
*
|
|
8402
8382
|
* @summary Get all Doctors.
|
|
8403
8383
|
* @param {string} [hospitalId]
|
|
8404
8384
|
* @param {string} [hospitalName]
|
|
8405
|
-
* @param {string} [languageCode]
|
|
8406
|
-
* @param {boolean} [returnDefaultValue]
|
|
8407
8385
|
* @param {Array<string>} [ids]
|
|
8408
8386
|
* @param {string} [specialtyId]
|
|
8409
8387
|
* @param {boolean} [consultationEnabled]
|
|
8388
|
+
* @param {string} [languageCode]
|
|
8410
8389
|
* @param {string} [id]
|
|
8411
8390
|
* @param {string} [fullname]
|
|
8412
8391
|
* @param {string} [email]
|
|
8413
8392
|
* @param {Gender} [gender]
|
|
8414
8393
|
* @param {Date} [dateOfBirth]
|
|
8415
8394
|
* @param {Date} [created]
|
|
8416
|
-
* @param {boolean} [showHidden]
|
|
8417
8395
|
* @param {number} [page]
|
|
8418
8396
|
* @param {number} [limit]
|
|
8419
8397
|
* @param {Date} [lastRetrieved]
|
|
@@ -8421,22 +8399,9 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
8421
8399
|
* @throws {RequiredError}
|
|
8422
8400
|
* @memberof DoctorsApi
|
|
8423
8401
|
*/
|
|
8424
|
-
DoctorsApi.prototype.apiV2DoctorsSimpleGet = function (hospitalId, hospitalName,
|
|
8425
|
-
var _this = this;
|
|
8426
|
-
return (0, exports.DoctorsApiFp)(this.configuration).apiV2DoctorsSimpleGet(hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8427
|
-
};
|
|
8428
|
-
/**
|
|
8429
|
-
*
|
|
8430
|
-
* @param {string} slug
|
|
8431
|
-
* @param {string} [languageCode]
|
|
8432
|
-
* @param {boolean} [returnDefaultValue]
|
|
8433
|
-
* @param {*} [options] Override http request option.
|
|
8434
|
-
* @throws {RequiredError}
|
|
8435
|
-
* @memberof DoctorsApi
|
|
8436
|
-
*/
|
|
8437
|
-
DoctorsApi.prototype.apiV2DoctorsSlugGet = function (slug, languageCode, returnDefaultValue, options) {
|
|
8402
|
+
DoctorsApi.prototype.apiV2DoctorsSimpleGet = function (hospitalId, hospitalName, ids, specialtyId, consultationEnabled, languageCode, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options) {
|
|
8438
8403
|
var _this = this;
|
|
8439
|
-
return (0, exports.DoctorsApiFp)(this.configuration).
|
|
8404
|
+
return (0, exports.DoctorsApiFp)(this.configuration).apiV2DoctorsSimpleGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, languageCode, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8440
8405
|
};
|
|
8441
8406
|
return DoctorsApi;
|
|
8442
8407
|
}(base_1.BaseAPI));
|