ch-admin-api-client-typescript 2.9.2 → 2.9.5
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 +833 -40
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +740 -15
- package/package.json +1 -1
- package/src/api.ts +1304 -171
package/lib/api.js
CHANGED
|
@@ -76,7 +76,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
76
76
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
77
77
|
};
|
|
78
78
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
79
|
-
exports.WeatherForecastApi = exports.WeatherForecastApiFactory = exports.WeatherForecastApiFp = exports.WeatherForecastApiAxiosParamCreator = exports.TranslationApi = exports.TranslationApiFactory = exports.TranslationApiFp = exports.TranslationApiAxiosParamCreator = exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiAxiosParamCreator = exports.SpecialtyTypesApi = exports.SpecialtyTypesApiFactory = exports.SpecialtyTypesApiFp = exports.SpecialtyTypesApiAxiosParamCreator = exports.SpecialtiesApi = exports.SpecialtiesApiFactory = exports.SpecialtiesApiFp = exports.SpecialtiesApiAxiosParamCreator = exports.ServicesCategoriesApi = exports.ServicesCategoriesApiFactory = exports.ServicesCategoriesApiFp = exports.ServicesCategoriesApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.ServiceReviewsApi = exports.ServiceReviewsApiFactory = exports.ServiceReviewsApiFp = exports.ServiceReviewsApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.ProfilesApi = exports.ProfilesApiFactory = exports.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PaymentsApi = exports.PaymentsApiFactory = exports.PaymentsApiFp = exports.PaymentsApiAxiosParamCreator = exports.PatientsApi = exports.PatientsApiFactory = exports.PatientsApiFp = exports.PatientsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.MembershipsApi = exports.MembershipsApiFactory = exports.MembershipsApiFp = exports.MembershipsApiAxiosParamCreator = exports.ManagersApi = exports.ManagersApiFactory = exports.ManagersApiFp = exports.ManagersApiAxiosParamCreator = exports.LanguagesApi = exports.LanguagesApiFactory = exports.LanguagesApiFp = exports.LanguagesApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.HospitalsApi = exports.HospitalsApiFactory = exports.HospitalsApiFp = exports.HospitalsApiAxiosParamCreator = exports.FaqsApi = exports.FaqsApiFactory = exports.FaqsApiFp = exports.FaqsApiAxiosParamCreator = exports.FaqCategoriesApi = exports.FaqCategoriesApiFactory = exports.FaqCategoriesApiFp = exports.FaqCategoriesApiAxiosParamCreator = exports.EmailMarketingsApi = exports.EmailMarketingsApiFactory = exports.EmailMarketingsApiFp = exports.EmailMarketingsApiAxiosParamCreator = exports.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = exports.DashBoardApi = exports.DashBoardApiFactory = exports.DashBoardApiFp = exports.DashBoardApiAxiosParamCreator = exports.CountriesApi = exports.CountriesApiFactory = exports.CountriesApiFp = exports.CountriesApiAxiosParamCreator = exports.ContributorsApi = exports.ContributorsApiFactory = exports.ContributorsApiFp = exports.ContributorsApiAxiosParamCreator = exports.ConsultationsApi = exports.ConsultationsApiFactory = exports.ConsultationsApiFp = exports.ConsultationsApiAxiosParamCreator = exports.CommunicationsApi = exports.CommunicationsApiFactory = exports.CommunicationsApiFp = exports.CommunicationsApiAxiosParamCreator = exports.ChatUsersApi = exports.ChatUsersApiFactory = exports.ChatUsersApiFp = exports.ChatUsersApiAxiosParamCreator = exports.CHManagersApi = exports.CHManagersApiFactory = exports.CHManagersApiFp = exports.CHManagersApiAxiosParamCreator = exports.CHAdminsApi = exports.CHAdminsApiFactory = exports.CHAdminsApiFp = exports.CHAdminsApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AccreditationsApi = exports.AccreditationsApiFactory = exports.AccreditationsApiFp = exports.AccreditationsApiAxiosParamCreator = exports.UserLocationType = exports.SnsType = exports.ReviewType = exports.RejectReason = exports.RefundPolicy = exports.RecurringInterval = exports.Procedure = exports.NotificationCode = exports.MediaType = exports.MarketingType = exports.Gender = exports.Duration = exports.ContributionType = exports.ConsultationType = exports.ConsultationStatus = exports.BookingStatus = exports.ArticleStatus = void 0;
|
|
79
|
+
exports.WeatherForecastApi = exports.WeatherForecastApiFactory = exports.WeatherForecastApiFp = exports.WeatherForecastApiAxiosParamCreator = exports.TranslationApi = exports.TranslationApiFactory = exports.TranslationApiFp = exports.TranslationApiAxiosParamCreator = exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiAxiosParamCreator = exports.SpecialtyTypesApi = exports.SpecialtyTypesApiFactory = exports.SpecialtyTypesApiFp = exports.SpecialtyTypesApiAxiosParamCreator = exports.SpecialtiesApi = exports.SpecialtiesApiFactory = exports.SpecialtiesApiFp = exports.SpecialtiesApiAxiosParamCreator = exports.ServicesCategoriesApi = exports.ServicesCategoriesApiFactory = exports.ServicesCategoriesApiFp = exports.ServicesCategoriesApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.ServiceReviewsApi = exports.ServiceReviewsApiFactory = exports.ServiceReviewsApiFp = exports.ServiceReviewsApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.ProfilesApi = exports.ProfilesApiFactory = exports.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PaymentsApi = exports.PaymentsApiFactory = exports.PaymentsApiFp = exports.PaymentsApiAxiosParamCreator = exports.PatientsApi = exports.PatientsApiFactory = exports.PatientsApiFp = exports.PatientsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.MembershipsApi = exports.MembershipsApiFactory = exports.MembershipsApiFp = exports.MembershipsApiAxiosParamCreator = exports.ManagersApi = exports.ManagersApiFactory = exports.ManagersApiFp = exports.ManagersApiAxiosParamCreator = exports.LanguagesApi = exports.LanguagesApiFactory = exports.LanguagesApiFp = exports.LanguagesApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.HospitalsApi = exports.HospitalsApiFactory = exports.HospitalsApiFp = exports.HospitalsApiAxiosParamCreator = exports.FaqsApi = exports.FaqsApiFactory = exports.FaqsApiFp = exports.FaqsApiAxiosParamCreator = exports.FaqCategoriesApi = exports.FaqCategoriesApiFactory = exports.FaqCategoriesApiFp = exports.FaqCategoriesApiAxiosParamCreator = exports.EmailMarketingsApi = exports.EmailMarketingsApiFactory = exports.EmailMarketingsApiFp = exports.EmailMarketingsApiAxiosParamCreator = exports.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = exports.DashBoardApi = exports.DashBoardApiFactory = exports.DashBoardApiFp = exports.DashBoardApiAxiosParamCreator = exports.CountriesApi = exports.CountriesApiFactory = exports.CountriesApiFp = exports.CountriesApiAxiosParamCreator = exports.ContributorsApi = exports.ContributorsApiFactory = exports.ContributorsApiFp = exports.ContributorsApiAxiosParamCreator = exports.ConsultationsApi = exports.ConsultationsApiFactory = exports.ConsultationsApiFp = exports.ConsultationsApiAxiosParamCreator = exports.CommunicationsApi = exports.CommunicationsApiFactory = exports.CommunicationsApiFp = exports.CommunicationsApiAxiosParamCreator = exports.ChatUsersApi = exports.ChatUsersApiFactory = exports.ChatUsersApiFp = exports.ChatUsersApiAxiosParamCreator = exports.CHManagersApi = exports.CHManagersApiFactory = exports.CHManagersApiFp = exports.CHManagersApiAxiosParamCreator = exports.CHAdminsApi = exports.CHAdminsApiFactory = exports.CHAdminsApiFp = exports.CHAdminsApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AccreditationsApi = exports.AccreditationsApiFactory = exports.AccreditationsApiFp = exports.AccreditationsApiAxiosParamCreator = exports.AboutUsApi = exports.AboutUsApiFactory = exports.AboutUsApiFp = exports.AboutUsApiAxiosParamCreator = exports.UserLocationType = exports.SortingOrder = exports.SnsType = exports.ReviewType = exports.RejectReason = exports.RefundPolicy = exports.RecurringInterval = exports.Procedure = exports.NotificationCode = exports.MediaType = exports.MarketingType = exports.Gender = exports.Duration = exports.ContributionType = exports.ConsultationType = exports.ConsultationStatus = exports.BookingStatus = exports.ArticleStatus = void 0;
|
|
80
80
|
var axios_1 = __importDefault(require("axios"));
|
|
81
81
|
// Some imports not used depending on template conditions
|
|
82
82
|
// @ts-ignore
|
|
@@ -292,6 +292,16 @@ var SnsType;
|
|
|
292
292
|
SnsType["Facebook"] = "Facebook";
|
|
293
293
|
SnsType["Instagram"] = "Instagram";
|
|
294
294
|
})(SnsType = exports.SnsType || (exports.SnsType = {}));
|
|
295
|
+
/**
|
|
296
|
+
*
|
|
297
|
+
* @export
|
|
298
|
+
* @enum {string}
|
|
299
|
+
*/
|
|
300
|
+
var SortingOrder;
|
|
301
|
+
(function (SortingOrder) {
|
|
302
|
+
SortingOrder["Ascending"] = "Ascending";
|
|
303
|
+
SortingOrder["Descending"] = "Descending";
|
|
304
|
+
})(SortingOrder = exports.SortingOrder || (exports.SortingOrder = {}));
|
|
295
305
|
/**
|
|
296
306
|
*
|
|
297
307
|
* @export
|
|
@@ -302,6 +312,693 @@ var UserLocationType;
|
|
|
302
312
|
UserLocationType["LivesIn"] = "LivesIn";
|
|
303
313
|
UserLocationType["BirthPlace"] = "BirthPlace";
|
|
304
314
|
})(UserLocationType = exports.UserLocationType || (exports.UserLocationType = {}));
|
|
315
|
+
/**
|
|
316
|
+
* AboutUsApi - axios parameter creator
|
|
317
|
+
* @export
|
|
318
|
+
*/
|
|
319
|
+
exports.AboutUsApiAxiosParamCreator = function (configuration) {
|
|
320
|
+
var _this = this;
|
|
321
|
+
return {
|
|
322
|
+
/**
|
|
323
|
+
*
|
|
324
|
+
* @summary Delete AboutUs.
|
|
325
|
+
* @param {string} aboutUsId
|
|
326
|
+
* @param {*} [options] Override http request option.
|
|
327
|
+
* @throws {RequiredError}
|
|
328
|
+
*/
|
|
329
|
+
apiV1AboutusAboutUsIdDelete: function (aboutUsId, options) {
|
|
330
|
+
if (options === void 0) { options = {}; }
|
|
331
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
332
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
333
|
+
return __generator(this, function (_a) {
|
|
334
|
+
switch (_a.label) {
|
|
335
|
+
case 0:
|
|
336
|
+
// verify required parameter 'aboutUsId' is not null or undefined
|
|
337
|
+
common_1.assertParamExists('apiV1AboutusAboutUsIdDelete', 'aboutUsId', aboutUsId);
|
|
338
|
+
localVarPath = "/api/v1/aboutus/{aboutUsId}"
|
|
339
|
+
.replace("{" + "aboutUsId" + "}", encodeURIComponent(String(aboutUsId)));
|
|
340
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
341
|
+
if (configuration) {
|
|
342
|
+
baseOptions = configuration.baseOptions;
|
|
343
|
+
}
|
|
344
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
345
|
+
localVarHeaderParameter = {};
|
|
346
|
+
localVarQueryParameter = {};
|
|
347
|
+
// authentication oauth2 required
|
|
348
|
+
// oauth required
|
|
349
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
350
|
+
case 1:
|
|
351
|
+
// authentication oauth2 required
|
|
352
|
+
// oauth required
|
|
353
|
+
_a.sent();
|
|
354
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
355
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
356
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
357
|
+
return [2 /*return*/, {
|
|
358
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
359
|
+
options: localVarRequestOptions,
|
|
360
|
+
}];
|
|
361
|
+
}
|
|
362
|
+
});
|
|
363
|
+
});
|
|
364
|
+
},
|
|
365
|
+
/**
|
|
366
|
+
*
|
|
367
|
+
* @summary Get AboutUs.
|
|
368
|
+
* @param {string} aboutUsId
|
|
369
|
+
* @param {string} [languageCode]
|
|
370
|
+
* @param {boolean} [returnDefaultValue]
|
|
371
|
+
* @param {*} [options] Override http request option.
|
|
372
|
+
* @throws {RequiredError}
|
|
373
|
+
*/
|
|
374
|
+
apiV1AboutusAboutUsIdGet: function (aboutUsId, languageCode, returnDefaultValue, options) {
|
|
375
|
+
if (options === void 0) { options = {}; }
|
|
376
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
377
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
378
|
+
return __generator(this, function (_a) {
|
|
379
|
+
switch (_a.label) {
|
|
380
|
+
case 0:
|
|
381
|
+
// verify required parameter 'aboutUsId' is not null or undefined
|
|
382
|
+
common_1.assertParamExists('apiV1AboutusAboutUsIdGet', 'aboutUsId', aboutUsId);
|
|
383
|
+
localVarPath = "/api/v1/aboutus/{aboutUsId}"
|
|
384
|
+
.replace("{" + "aboutUsId" + "}", encodeURIComponent(String(aboutUsId)));
|
|
385
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
386
|
+
if (configuration) {
|
|
387
|
+
baseOptions = configuration.baseOptions;
|
|
388
|
+
}
|
|
389
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
390
|
+
localVarHeaderParameter = {};
|
|
391
|
+
localVarQueryParameter = {};
|
|
392
|
+
// authentication oauth2 required
|
|
393
|
+
// oauth required
|
|
394
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
395
|
+
case 1:
|
|
396
|
+
// authentication oauth2 required
|
|
397
|
+
// oauth required
|
|
398
|
+
_a.sent();
|
|
399
|
+
if (languageCode !== undefined) {
|
|
400
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
401
|
+
}
|
|
402
|
+
if (returnDefaultValue !== undefined) {
|
|
403
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
404
|
+
}
|
|
405
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
406
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
407
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
408
|
+
return [2 /*return*/, {
|
|
409
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
410
|
+
options: localVarRequestOptions,
|
|
411
|
+
}];
|
|
412
|
+
}
|
|
413
|
+
});
|
|
414
|
+
});
|
|
415
|
+
},
|
|
416
|
+
/**
|
|
417
|
+
*
|
|
418
|
+
* @summary Update AboutUs.
|
|
419
|
+
* @param {string} aboutUsId
|
|
420
|
+
* @param {UpdateAboutUsPageCommand} [updateAboutUsPageCommand]
|
|
421
|
+
* @param {*} [options] Override http request option.
|
|
422
|
+
* @throws {RequiredError}
|
|
423
|
+
*/
|
|
424
|
+
apiV1AboutusAboutUsIdPut: function (aboutUsId, updateAboutUsPageCommand, options) {
|
|
425
|
+
if (options === void 0) { options = {}; }
|
|
426
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
427
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
428
|
+
return __generator(this, function (_a) {
|
|
429
|
+
switch (_a.label) {
|
|
430
|
+
case 0:
|
|
431
|
+
// verify required parameter 'aboutUsId' is not null or undefined
|
|
432
|
+
common_1.assertParamExists('apiV1AboutusAboutUsIdPut', 'aboutUsId', aboutUsId);
|
|
433
|
+
localVarPath = "/api/v1/aboutus/{aboutUsId}"
|
|
434
|
+
.replace("{" + "aboutUsId" + "}", encodeURIComponent(String(aboutUsId)));
|
|
435
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
436
|
+
if (configuration) {
|
|
437
|
+
baseOptions = configuration.baseOptions;
|
|
438
|
+
}
|
|
439
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
440
|
+
localVarHeaderParameter = {};
|
|
441
|
+
localVarQueryParameter = {};
|
|
442
|
+
// authentication oauth2 required
|
|
443
|
+
// oauth required
|
|
444
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
445
|
+
case 1:
|
|
446
|
+
// authentication oauth2 required
|
|
447
|
+
// oauth required
|
|
448
|
+
_a.sent();
|
|
449
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
450
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
451
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
452
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
453
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateAboutUsPageCommand, localVarRequestOptions, configuration);
|
|
454
|
+
return [2 /*return*/, {
|
|
455
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
456
|
+
options: localVarRequestOptions,
|
|
457
|
+
}];
|
|
458
|
+
}
|
|
459
|
+
});
|
|
460
|
+
});
|
|
461
|
+
},
|
|
462
|
+
/**
|
|
463
|
+
*
|
|
464
|
+
* @summary Get all AboutUsList.
|
|
465
|
+
* @param {string} [hospitalId]
|
|
466
|
+
* @param {string} [hospitalName]
|
|
467
|
+
* @param {string} [hospitalSlug]
|
|
468
|
+
* @param {string} [overviewTitle]
|
|
469
|
+
* @param {string} [normalizedOverviewTitle]
|
|
470
|
+
* @param {string} [overview]
|
|
471
|
+
* @param {string} [content]
|
|
472
|
+
* @param {string} [customStyle]
|
|
473
|
+
* @param {string} [background]
|
|
474
|
+
* @param {string} [backgroundThumbnail]
|
|
475
|
+
* @param {string} [languageCode]
|
|
476
|
+
* @param {boolean} [returnDefaultValue]
|
|
477
|
+
* @param {boolean} [confirmed]
|
|
478
|
+
* @param {number} [page]
|
|
479
|
+
* @param {number} [limit]
|
|
480
|
+
* @param {Date} [lastRetrieved]
|
|
481
|
+
* @param {*} [options] Override http request option.
|
|
482
|
+
* @throws {RequiredError}
|
|
483
|
+
*/
|
|
484
|
+
apiV1AboutusGet: function (hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options) {
|
|
485
|
+
if (options === void 0) { options = {}; }
|
|
486
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
487
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
488
|
+
return __generator(this, function (_a) {
|
|
489
|
+
switch (_a.label) {
|
|
490
|
+
case 0:
|
|
491
|
+
localVarPath = "/api/v1/aboutus";
|
|
492
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
493
|
+
if (configuration) {
|
|
494
|
+
baseOptions = configuration.baseOptions;
|
|
495
|
+
}
|
|
496
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
497
|
+
localVarHeaderParameter = {};
|
|
498
|
+
localVarQueryParameter = {};
|
|
499
|
+
// authentication oauth2 required
|
|
500
|
+
// oauth required
|
|
501
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
502
|
+
case 1:
|
|
503
|
+
// authentication oauth2 required
|
|
504
|
+
// oauth required
|
|
505
|
+
_a.sent();
|
|
506
|
+
if (hospitalId !== undefined) {
|
|
507
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
508
|
+
}
|
|
509
|
+
if (hospitalName !== undefined) {
|
|
510
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
511
|
+
}
|
|
512
|
+
if (hospitalSlug !== undefined) {
|
|
513
|
+
localVarQueryParameter['HospitalSlug'] = hospitalSlug;
|
|
514
|
+
}
|
|
515
|
+
if (overviewTitle !== undefined) {
|
|
516
|
+
localVarQueryParameter['OverviewTitle'] = overviewTitle;
|
|
517
|
+
}
|
|
518
|
+
if (normalizedOverviewTitle !== undefined) {
|
|
519
|
+
localVarQueryParameter['NormalizedOverviewTitle'] = normalizedOverviewTitle;
|
|
520
|
+
}
|
|
521
|
+
if (overview !== undefined) {
|
|
522
|
+
localVarQueryParameter['Overview'] = overview;
|
|
523
|
+
}
|
|
524
|
+
if (content !== undefined) {
|
|
525
|
+
localVarQueryParameter['Content'] = content;
|
|
526
|
+
}
|
|
527
|
+
if (customStyle !== undefined) {
|
|
528
|
+
localVarQueryParameter['CustomStyle'] = customStyle;
|
|
529
|
+
}
|
|
530
|
+
if (background !== undefined) {
|
|
531
|
+
localVarQueryParameter['Background'] = background;
|
|
532
|
+
}
|
|
533
|
+
if (backgroundThumbnail !== undefined) {
|
|
534
|
+
localVarQueryParameter['BackgroundThumbnail'] = backgroundThumbnail;
|
|
535
|
+
}
|
|
536
|
+
if (languageCode !== undefined) {
|
|
537
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
538
|
+
}
|
|
539
|
+
if (returnDefaultValue !== undefined) {
|
|
540
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
541
|
+
}
|
|
542
|
+
if (confirmed !== undefined) {
|
|
543
|
+
localVarQueryParameter['Confirmed'] = confirmed;
|
|
544
|
+
}
|
|
545
|
+
if (page !== undefined) {
|
|
546
|
+
localVarQueryParameter['page'] = page;
|
|
547
|
+
}
|
|
548
|
+
if (limit !== undefined) {
|
|
549
|
+
localVarQueryParameter['limit'] = limit;
|
|
550
|
+
}
|
|
551
|
+
if (lastRetrieved !== undefined) {
|
|
552
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
553
|
+
lastRetrieved.toISOString() :
|
|
554
|
+
lastRetrieved;
|
|
555
|
+
}
|
|
556
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
557
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
558
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
559
|
+
return [2 /*return*/, {
|
|
560
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
561
|
+
options: localVarRequestOptions,
|
|
562
|
+
}];
|
|
563
|
+
}
|
|
564
|
+
});
|
|
565
|
+
});
|
|
566
|
+
},
|
|
567
|
+
/**
|
|
568
|
+
*
|
|
569
|
+
* @summary Create AboutUs.
|
|
570
|
+
* @param {CreateAboutUsPageCommand} [createAboutUsPageCommand]
|
|
571
|
+
* @param {*} [options] Override http request option.
|
|
572
|
+
* @throws {RequiredError}
|
|
573
|
+
*/
|
|
574
|
+
apiV1AboutusPost: function (createAboutUsPageCommand, options) {
|
|
575
|
+
if (options === void 0) { options = {}; }
|
|
576
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
577
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
578
|
+
return __generator(this, function (_a) {
|
|
579
|
+
switch (_a.label) {
|
|
580
|
+
case 0:
|
|
581
|
+
localVarPath = "/api/v1/aboutus";
|
|
582
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
583
|
+
if (configuration) {
|
|
584
|
+
baseOptions = configuration.baseOptions;
|
|
585
|
+
}
|
|
586
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
587
|
+
localVarHeaderParameter = {};
|
|
588
|
+
localVarQueryParameter = {};
|
|
589
|
+
// authentication oauth2 required
|
|
590
|
+
// oauth required
|
|
591
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
592
|
+
case 1:
|
|
593
|
+
// authentication oauth2 required
|
|
594
|
+
// oauth required
|
|
595
|
+
_a.sent();
|
|
596
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
597
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
598
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
599
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
600
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(createAboutUsPageCommand, localVarRequestOptions, configuration);
|
|
601
|
+
return [2 /*return*/, {
|
|
602
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
603
|
+
options: localVarRequestOptions,
|
|
604
|
+
}];
|
|
605
|
+
}
|
|
606
|
+
});
|
|
607
|
+
});
|
|
608
|
+
},
|
|
609
|
+
/**
|
|
610
|
+
*
|
|
611
|
+
* @param {string} slug
|
|
612
|
+
* @param {string} [languageCode]
|
|
613
|
+
* @param {boolean} [returnDefaultValue]
|
|
614
|
+
* @param {*} [options] Override http request option.
|
|
615
|
+
* @throws {RequiredError}
|
|
616
|
+
*/
|
|
617
|
+
apiV1AboutusSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
618
|
+
if (options === void 0) { options = {}; }
|
|
619
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
620
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
621
|
+
return __generator(this, function (_a) {
|
|
622
|
+
switch (_a.label) {
|
|
623
|
+
case 0:
|
|
624
|
+
// verify required parameter 'slug' is not null or undefined
|
|
625
|
+
common_1.assertParamExists('apiV1AboutusSlugGet', 'slug', slug);
|
|
626
|
+
localVarPath = "/api/v1/aboutus/{slug}"
|
|
627
|
+
.replace("{" + "slug" + "}", encodeURIComponent(String(slug)));
|
|
628
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
629
|
+
if (configuration) {
|
|
630
|
+
baseOptions = configuration.baseOptions;
|
|
631
|
+
}
|
|
632
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
633
|
+
localVarHeaderParameter = {};
|
|
634
|
+
localVarQueryParameter = {};
|
|
635
|
+
// authentication oauth2 required
|
|
636
|
+
// oauth required
|
|
637
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
638
|
+
case 1:
|
|
639
|
+
// authentication oauth2 required
|
|
640
|
+
// oauth required
|
|
641
|
+
_a.sent();
|
|
642
|
+
if (languageCode !== undefined) {
|
|
643
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
644
|
+
}
|
|
645
|
+
if (returnDefaultValue !== undefined) {
|
|
646
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
647
|
+
}
|
|
648
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
649
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
650
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
651
|
+
return [2 /*return*/, {
|
|
652
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
653
|
+
options: localVarRequestOptions,
|
|
654
|
+
}];
|
|
655
|
+
}
|
|
656
|
+
});
|
|
657
|
+
});
|
|
658
|
+
},
|
|
659
|
+
};
|
|
660
|
+
};
|
|
661
|
+
/**
|
|
662
|
+
* AboutUsApi - functional programming interface
|
|
663
|
+
* @export
|
|
664
|
+
*/
|
|
665
|
+
exports.AboutUsApiFp = function (configuration) {
|
|
666
|
+
var localVarAxiosParamCreator = exports.AboutUsApiAxiosParamCreator(configuration);
|
|
667
|
+
return {
|
|
668
|
+
/**
|
|
669
|
+
*
|
|
670
|
+
* @summary Delete AboutUs.
|
|
671
|
+
* @param {string} aboutUsId
|
|
672
|
+
* @param {*} [options] Override http request option.
|
|
673
|
+
* @throws {RequiredError}
|
|
674
|
+
*/
|
|
675
|
+
apiV1AboutusAboutUsIdDelete: function (aboutUsId, options) {
|
|
676
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
677
|
+
var localVarAxiosArgs;
|
|
678
|
+
return __generator(this, function (_a) {
|
|
679
|
+
switch (_a.label) {
|
|
680
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1AboutusAboutUsIdDelete(aboutUsId, options)];
|
|
681
|
+
case 1:
|
|
682
|
+
localVarAxiosArgs = _a.sent();
|
|
683
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
684
|
+
}
|
|
685
|
+
});
|
|
686
|
+
});
|
|
687
|
+
},
|
|
688
|
+
/**
|
|
689
|
+
*
|
|
690
|
+
* @summary Get AboutUs.
|
|
691
|
+
* @param {string} aboutUsId
|
|
692
|
+
* @param {string} [languageCode]
|
|
693
|
+
* @param {boolean} [returnDefaultValue]
|
|
694
|
+
* @param {*} [options] Override http request option.
|
|
695
|
+
* @throws {RequiredError}
|
|
696
|
+
*/
|
|
697
|
+
apiV1AboutusAboutUsIdGet: function (aboutUsId, languageCode, returnDefaultValue, options) {
|
|
698
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
699
|
+
var localVarAxiosArgs;
|
|
700
|
+
return __generator(this, function (_a) {
|
|
701
|
+
switch (_a.label) {
|
|
702
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1AboutusAboutUsIdGet(aboutUsId, languageCode, returnDefaultValue, options)];
|
|
703
|
+
case 1:
|
|
704
|
+
localVarAxiosArgs = _a.sent();
|
|
705
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
706
|
+
}
|
|
707
|
+
});
|
|
708
|
+
});
|
|
709
|
+
},
|
|
710
|
+
/**
|
|
711
|
+
*
|
|
712
|
+
* @summary Update AboutUs.
|
|
713
|
+
* @param {string} aboutUsId
|
|
714
|
+
* @param {UpdateAboutUsPageCommand} [updateAboutUsPageCommand]
|
|
715
|
+
* @param {*} [options] Override http request option.
|
|
716
|
+
* @throws {RequiredError}
|
|
717
|
+
*/
|
|
718
|
+
apiV1AboutusAboutUsIdPut: function (aboutUsId, updateAboutUsPageCommand, options) {
|
|
719
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
720
|
+
var localVarAxiosArgs;
|
|
721
|
+
return __generator(this, function (_a) {
|
|
722
|
+
switch (_a.label) {
|
|
723
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1AboutusAboutUsIdPut(aboutUsId, updateAboutUsPageCommand, options)];
|
|
724
|
+
case 1:
|
|
725
|
+
localVarAxiosArgs = _a.sent();
|
|
726
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
727
|
+
}
|
|
728
|
+
});
|
|
729
|
+
});
|
|
730
|
+
},
|
|
731
|
+
/**
|
|
732
|
+
*
|
|
733
|
+
* @summary Get all AboutUsList.
|
|
734
|
+
* @param {string} [hospitalId]
|
|
735
|
+
* @param {string} [hospitalName]
|
|
736
|
+
* @param {string} [hospitalSlug]
|
|
737
|
+
* @param {string} [overviewTitle]
|
|
738
|
+
* @param {string} [normalizedOverviewTitle]
|
|
739
|
+
* @param {string} [overview]
|
|
740
|
+
* @param {string} [content]
|
|
741
|
+
* @param {string} [customStyle]
|
|
742
|
+
* @param {string} [background]
|
|
743
|
+
* @param {string} [backgroundThumbnail]
|
|
744
|
+
* @param {string} [languageCode]
|
|
745
|
+
* @param {boolean} [returnDefaultValue]
|
|
746
|
+
* @param {boolean} [confirmed]
|
|
747
|
+
* @param {number} [page]
|
|
748
|
+
* @param {number} [limit]
|
|
749
|
+
* @param {Date} [lastRetrieved]
|
|
750
|
+
* @param {*} [options] Override http request option.
|
|
751
|
+
* @throws {RequiredError}
|
|
752
|
+
*/
|
|
753
|
+
apiV1AboutusGet: function (hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options) {
|
|
754
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
755
|
+
var localVarAxiosArgs;
|
|
756
|
+
return __generator(this, function (_a) {
|
|
757
|
+
switch (_a.label) {
|
|
758
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1AboutusGet(hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options)];
|
|
759
|
+
case 1:
|
|
760
|
+
localVarAxiosArgs = _a.sent();
|
|
761
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
762
|
+
}
|
|
763
|
+
});
|
|
764
|
+
});
|
|
765
|
+
},
|
|
766
|
+
/**
|
|
767
|
+
*
|
|
768
|
+
* @summary Create AboutUs.
|
|
769
|
+
* @param {CreateAboutUsPageCommand} [createAboutUsPageCommand]
|
|
770
|
+
* @param {*} [options] Override http request option.
|
|
771
|
+
* @throws {RequiredError}
|
|
772
|
+
*/
|
|
773
|
+
apiV1AboutusPost: function (createAboutUsPageCommand, options) {
|
|
774
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
775
|
+
var localVarAxiosArgs;
|
|
776
|
+
return __generator(this, function (_a) {
|
|
777
|
+
switch (_a.label) {
|
|
778
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1AboutusPost(createAboutUsPageCommand, options)];
|
|
779
|
+
case 1:
|
|
780
|
+
localVarAxiosArgs = _a.sent();
|
|
781
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
782
|
+
}
|
|
783
|
+
});
|
|
784
|
+
});
|
|
785
|
+
},
|
|
786
|
+
/**
|
|
787
|
+
*
|
|
788
|
+
* @param {string} slug
|
|
789
|
+
* @param {string} [languageCode]
|
|
790
|
+
* @param {boolean} [returnDefaultValue]
|
|
791
|
+
* @param {*} [options] Override http request option.
|
|
792
|
+
* @throws {RequiredError}
|
|
793
|
+
*/
|
|
794
|
+
apiV1AboutusSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
795
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
796
|
+
var localVarAxiosArgs;
|
|
797
|
+
return __generator(this, function (_a) {
|
|
798
|
+
switch (_a.label) {
|
|
799
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1AboutusSlugGet(slug, languageCode, returnDefaultValue, options)];
|
|
800
|
+
case 1:
|
|
801
|
+
localVarAxiosArgs = _a.sent();
|
|
802
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
803
|
+
}
|
|
804
|
+
});
|
|
805
|
+
});
|
|
806
|
+
},
|
|
807
|
+
};
|
|
808
|
+
};
|
|
809
|
+
/**
|
|
810
|
+
* AboutUsApi - factory interface
|
|
811
|
+
* @export
|
|
812
|
+
*/
|
|
813
|
+
exports.AboutUsApiFactory = function (configuration, basePath, axios) {
|
|
814
|
+
var localVarFp = exports.AboutUsApiFp(configuration);
|
|
815
|
+
return {
|
|
816
|
+
/**
|
|
817
|
+
*
|
|
818
|
+
* @summary Delete AboutUs.
|
|
819
|
+
* @param {string} aboutUsId
|
|
820
|
+
* @param {*} [options] Override http request option.
|
|
821
|
+
* @throws {RequiredError}
|
|
822
|
+
*/
|
|
823
|
+
apiV1AboutusAboutUsIdDelete: function (aboutUsId, options) {
|
|
824
|
+
return localVarFp.apiV1AboutusAboutUsIdDelete(aboutUsId, options).then(function (request) { return request(axios, basePath); });
|
|
825
|
+
},
|
|
826
|
+
/**
|
|
827
|
+
*
|
|
828
|
+
* @summary Get AboutUs.
|
|
829
|
+
* @param {string} aboutUsId
|
|
830
|
+
* @param {string} [languageCode]
|
|
831
|
+
* @param {boolean} [returnDefaultValue]
|
|
832
|
+
* @param {*} [options] Override http request option.
|
|
833
|
+
* @throws {RequiredError}
|
|
834
|
+
*/
|
|
835
|
+
apiV1AboutusAboutUsIdGet: function (aboutUsId, languageCode, returnDefaultValue, options) {
|
|
836
|
+
return localVarFp.apiV1AboutusAboutUsIdGet(aboutUsId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
837
|
+
},
|
|
838
|
+
/**
|
|
839
|
+
*
|
|
840
|
+
* @summary Update AboutUs.
|
|
841
|
+
* @param {string} aboutUsId
|
|
842
|
+
* @param {UpdateAboutUsPageCommand} [updateAboutUsPageCommand]
|
|
843
|
+
* @param {*} [options] Override http request option.
|
|
844
|
+
* @throws {RequiredError}
|
|
845
|
+
*/
|
|
846
|
+
apiV1AboutusAboutUsIdPut: function (aboutUsId, updateAboutUsPageCommand, options) {
|
|
847
|
+
return localVarFp.apiV1AboutusAboutUsIdPut(aboutUsId, updateAboutUsPageCommand, options).then(function (request) { return request(axios, basePath); });
|
|
848
|
+
},
|
|
849
|
+
/**
|
|
850
|
+
*
|
|
851
|
+
* @summary Get all AboutUsList.
|
|
852
|
+
* @param {string} [hospitalId]
|
|
853
|
+
* @param {string} [hospitalName]
|
|
854
|
+
* @param {string} [hospitalSlug]
|
|
855
|
+
* @param {string} [overviewTitle]
|
|
856
|
+
* @param {string} [normalizedOverviewTitle]
|
|
857
|
+
* @param {string} [overview]
|
|
858
|
+
* @param {string} [content]
|
|
859
|
+
* @param {string} [customStyle]
|
|
860
|
+
* @param {string} [background]
|
|
861
|
+
* @param {string} [backgroundThumbnail]
|
|
862
|
+
* @param {string} [languageCode]
|
|
863
|
+
* @param {boolean} [returnDefaultValue]
|
|
864
|
+
* @param {boolean} [confirmed]
|
|
865
|
+
* @param {number} [page]
|
|
866
|
+
* @param {number} [limit]
|
|
867
|
+
* @param {Date} [lastRetrieved]
|
|
868
|
+
* @param {*} [options] Override http request option.
|
|
869
|
+
* @throws {RequiredError}
|
|
870
|
+
*/
|
|
871
|
+
apiV1AboutusGet: function (hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options) {
|
|
872
|
+
return localVarFp.apiV1AboutusGet(hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
873
|
+
},
|
|
874
|
+
/**
|
|
875
|
+
*
|
|
876
|
+
* @summary Create AboutUs.
|
|
877
|
+
* @param {CreateAboutUsPageCommand} [createAboutUsPageCommand]
|
|
878
|
+
* @param {*} [options] Override http request option.
|
|
879
|
+
* @throws {RequiredError}
|
|
880
|
+
*/
|
|
881
|
+
apiV1AboutusPost: function (createAboutUsPageCommand, options) {
|
|
882
|
+
return localVarFp.apiV1AboutusPost(createAboutUsPageCommand, options).then(function (request) { return request(axios, basePath); });
|
|
883
|
+
},
|
|
884
|
+
/**
|
|
885
|
+
*
|
|
886
|
+
* @param {string} slug
|
|
887
|
+
* @param {string} [languageCode]
|
|
888
|
+
* @param {boolean} [returnDefaultValue]
|
|
889
|
+
* @param {*} [options] Override http request option.
|
|
890
|
+
* @throws {RequiredError}
|
|
891
|
+
*/
|
|
892
|
+
apiV1AboutusSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
893
|
+
return localVarFp.apiV1AboutusSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
894
|
+
},
|
|
895
|
+
};
|
|
896
|
+
};
|
|
897
|
+
/**
|
|
898
|
+
* AboutUsApi - object-oriented interface
|
|
899
|
+
* @export
|
|
900
|
+
* @class AboutUsApi
|
|
901
|
+
* @extends {BaseAPI}
|
|
902
|
+
*/
|
|
903
|
+
var AboutUsApi = /** @class */ (function (_super) {
|
|
904
|
+
__extends(AboutUsApi, _super);
|
|
905
|
+
function AboutUsApi() {
|
|
906
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
907
|
+
}
|
|
908
|
+
/**
|
|
909
|
+
*
|
|
910
|
+
* @summary Delete AboutUs.
|
|
911
|
+
* @param {string} aboutUsId
|
|
912
|
+
* @param {*} [options] Override http request option.
|
|
913
|
+
* @throws {RequiredError}
|
|
914
|
+
* @memberof AboutUsApi
|
|
915
|
+
*/
|
|
916
|
+
AboutUsApi.prototype.apiV1AboutusAboutUsIdDelete = function (aboutUsId, options) {
|
|
917
|
+
var _this = this;
|
|
918
|
+
return exports.AboutUsApiFp(this.configuration).apiV1AboutusAboutUsIdDelete(aboutUsId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
919
|
+
};
|
|
920
|
+
/**
|
|
921
|
+
*
|
|
922
|
+
* @summary Get AboutUs.
|
|
923
|
+
* @param {string} aboutUsId
|
|
924
|
+
* @param {string} [languageCode]
|
|
925
|
+
* @param {boolean} [returnDefaultValue]
|
|
926
|
+
* @param {*} [options] Override http request option.
|
|
927
|
+
* @throws {RequiredError}
|
|
928
|
+
* @memberof AboutUsApi
|
|
929
|
+
*/
|
|
930
|
+
AboutUsApi.prototype.apiV1AboutusAboutUsIdGet = function (aboutUsId, languageCode, returnDefaultValue, options) {
|
|
931
|
+
var _this = this;
|
|
932
|
+
return exports.AboutUsApiFp(this.configuration).apiV1AboutusAboutUsIdGet(aboutUsId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
933
|
+
};
|
|
934
|
+
/**
|
|
935
|
+
*
|
|
936
|
+
* @summary Update AboutUs.
|
|
937
|
+
* @param {string} aboutUsId
|
|
938
|
+
* @param {UpdateAboutUsPageCommand} [updateAboutUsPageCommand]
|
|
939
|
+
* @param {*} [options] Override http request option.
|
|
940
|
+
* @throws {RequiredError}
|
|
941
|
+
* @memberof AboutUsApi
|
|
942
|
+
*/
|
|
943
|
+
AboutUsApi.prototype.apiV1AboutusAboutUsIdPut = function (aboutUsId, updateAboutUsPageCommand, options) {
|
|
944
|
+
var _this = this;
|
|
945
|
+
return exports.AboutUsApiFp(this.configuration).apiV1AboutusAboutUsIdPut(aboutUsId, updateAboutUsPageCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
946
|
+
};
|
|
947
|
+
/**
|
|
948
|
+
*
|
|
949
|
+
* @summary Get all AboutUsList.
|
|
950
|
+
* @param {string} [hospitalId]
|
|
951
|
+
* @param {string} [hospitalName]
|
|
952
|
+
* @param {string} [hospitalSlug]
|
|
953
|
+
* @param {string} [overviewTitle]
|
|
954
|
+
* @param {string} [normalizedOverviewTitle]
|
|
955
|
+
* @param {string} [overview]
|
|
956
|
+
* @param {string} [content]
|
|
957
|
+
* @param {string} [customStyle]
|
|
958
|
+
* @param {string} [background]
|
|
959
|
+
* @param {string} [backgroundThumbnail]
|
|
960
|
+
* @param {string} [languageCode]
|
|
961
|
+
* @param {boolean} [returnDefaultValue]
|
|
962
|
+
* @param {boolean} [confirmed]
|
|
963
|
+
* @param {number} [page]
|
|
964
|
+
* @param {number} [limit]
|
|
965
|
+
* @param {Date} [lastRetrieved]
|
|
966
|
+
* @param {*} [options] Override http request option.
|
|
967
|
+
* @throws {RequiredError}
|
|
968
|
+
* @memberof AboutUsApi
|
|
969
|
+
*/
|
|
970
|
+
AboutUsApi.prototype.apiV1AboutusGet = function (hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options) {
|
|
971
|
+
var _this = this;
|
|
972
|
+
return exports.AboutUsApiFp(this.configuration).apiV1AboutusGet(hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
973
|
+
};
|
|
974
|
+
/**
|
|
975
|
+
*
|
|
976
|
+
* @summary Create AboutUs.
|
|
977
|
+
* @param {CreateAboutUsPageCommand} [createAboutUsPageCommand]
|
|
978
|
+
* @param {*} [options] Override http request option.
|
|
979
|
+
* @throws {RequiredError}
|
|
980
|
+
* @memberof AboutUsApi
|
|
981
|
+
*/
|
|
982
|
+
AboutUsApi.prototype.apiV1AboutusPost = function (createAboutUsPageCommand, options) {
|
|
983
|
+
var _this = this;
|
|
984
|
+
return exports.AboutUsApiFp(this.configuration).apiV1AboutusPost(createAboutUsPageCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
985
|
+
};
|
|
986
|
+
/**
|
|
987
|
+
*
|
|
988
|
+
* @param {string} slug
|
|
989
|
+
* @param {string} [languageCode]
|
|
990
|
+
* @param {boolean} [returnDefaultValue]
|
|
991
|
+
* @param {*} [options] Override http request option.
|
|
992
|
+
* @throws {RequiredError}
|
|
993
|
+
* @memberof AboutUsApi
|
|
994
|
+
*/
|
|
995
|
+
AboutUsApi.prototype.apiV1AboutusSlugGet = function (slug, languageCode, returnDefaultValue, options) {
|
|
996
|
+
var _this = this;
|
|
997
|
+
return exports.AboutUsApiFp(this.configuration).apiV1AboutusSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
998
|
+
};
|
|
999
|
+
return AboutUsApi;
|
|
1000
|
+
}(base_1.BaseAPI));
|
|
1001
|
+
exports.AboutUsApi = AboutUsApi;
|
|
305
1002
|
/**
|
|
306
1003
|
* AccreditationsApi - axios parameter creator
|
|
307
1004
|
* @export
|
|
@@ -3660,13 +4357,15 @@ exports.BookingsApiAxiosParamCreator = function (configuration) {
|
|
|
3660
4357
|
* @param {boolean} [isCompleted]
|
|
3661
4358
|
* @param {BookingStatus} [status]
|
|
3662
4359
|
* @param {string} [dealPackageId]
|
|
4360
|
+
* @param {SortingOrder} [sortRequestDate]
|
|
4361
|
+
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
3663
4362
|
* @param {number} [page]
|
|
3664
4363
|
* @param {number} [limit]
|
|
3665
4364
|
* @param {Date} [lastRetrieved]
|
|
3666
4365
|
* @param {*} [options] Override http request option.
|
|
3667
4366
|
* @throws {RequiredError}
|
|
3668
4367
|
*/
|
|
3669
|
-
apiV1BookingsGet: function (searchString, isOpen, isCompleted, status, dealPackageId, page, limit, lastRetrieved, options) {
|
|
4368
|
+
apiV1BookingsGet: function (searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, page, limit, lastRetrieved, options) {
|
|
3670
4369
|
if (options === void 0) { options = {}; }
|
|
3671
4370
|
return __awaiter(_this, void 0, void 0, function () {
|
|
3672
4371
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -3703,6 +4402,12 @@ exports.BookingsApiAxiosParamCreator = function (configuration) {
|
|
|
3703
4402
|
if (dealPackageId !== undefined) {
|
|
3704
4403
|
localVarQueryParameter['DealPackageId'] = dealPackageId;
|
|
3705
4404
|
}
|
|
4405
|
+
if (sortRequestDate !== undefined) {
|
|
4406
|
+
localVarQueryParameter['SortRequestDate'] = sortRequestDate;
|
|
4407
|
+
}
|
|
4408
|
+
if (sortConfirmedDateStart !== undefined) {
|
|
4409
|
+
localVarQueryParameter['SortConfirmedDateStart'] = sortConfirmedDateStart;
|
|
4410
|
+
}
|
|
3706
4411
|
if (page !== undefined) {
|
|
3707
4412
|
localVarQueryParameter['page'] = page;
|
|
3708
4413
|
}
|
|
@@ -3844,18 +4549,20 @@ exports.BookingsApiFp = function (configuration) {
|
|
|
3844
4549
|
* @param {boolean} [isCompleted]
|
|
3845
4550
|
* @param {BookingStatus} [status]
|
|
3846
4551
|
* @param {string} [dealPackageId]
|
|
4552
|
+
* @param {SortingOrder} [sortRequestDate]
|
|
4553
|
+
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
3847
4554
|
* @param {number} [page]
|
|
3848
4555
|
* @param {number} [limit]
|
|
3849
4556
|
* @param {Date} [lastRetrieved]
|
|
3850
4557
|
* @param {*} [options] Override http request option.
|
|
3851
4558
|
* @throws {RequiredError}
|
|
3852
4559
|
*/
|
|
3853
|
-
apiV1BookingsGet: function (searchString, isOpen, isCompleted, status, dealPackageId, page, limit, lastRetrieved, options) {
|
|
4560
|
+
apiV1BookingsGet: function (searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, page, limit, lastRetrieved, options) {
|
|
3854
4561
|
return __awaiter(this, void 0, void 0, function () {
|
|
3855
4562
|
var localVarAxiosArgs;
|
|
3856
4563
|
return __generator(this, function (_a) {
|
|
3857
4564
|
switch (_a.label) {
|
|
3858
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, page, limit, lastRetrieved, options)];
|
|
4565
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, page, limit, lastRetrieved, options)];
|
|
3859
4566
|
case 1:
|
|
3860
4567
|
localVarAxiosArgs = _a.sent();
|
|
3861
4568
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -3932,14 +4639,16 @@ exports.BookingsApiFactory = function (configuration, basePath, axios) {
|
|
|
3932
4639
|
* @param {boolean} [isCompleted]
|
|
3933
4640
|
* @param {BookingStatus} [status]
|
|
3934
4641
|
* @param {string} [dealPackageId]
|
|
4642
|
+
* @param {SortingOrder} [sortRequestDate]
|
|
4643
|
+
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
3935
4644
|
* @param {number} [page]
|
|
3936
4645
|
* @param {number} [limit]
|
|
3937
4646
|
* @param {Date} [lastRetrieved]
|
|
3938
4647
|
* @param {*} [options] Override http request option.
|
|
3939
4648
|
* @throws {RequiredError}
|
|
3940
4649
|
*/
|
|
3941
|
-
apiV1BookingsGet: function (searchString, isOpen, isCompleted, status, dealPackageId, page, limit, lastRetrieved, options) {
|
|
3942
|
-
return localVarFp.apiV1BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
4650
|
+
apiV1BookingsGet: function (searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, page, limit, lastRetrieved, options) {
|
|
4651
|
+
return localVarFp.apiV1BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
3943
4652
|
},
|
|
3944
4653
|
};
|
|
3945
4654
|
};
|
|
@@ -4024,6 +4733,8 @@ var BookingsApi = /** @class */ (function (_super) {
|
|
|
4024
4733
|
* @param {boolean} [isCompleted]
|
|
4025
4734
|
* @param {BookingStatus} [status]
|
|
4026
4735
|
* @param {string} [dealPackageId]
|
|
4736
|
+
* @param {SortingOrder} [sortRequestDate]
|
|
4737
|
+
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
4027
4738
|
* @param {number} [page]
|
|
4028
4739
|
* @param {number} [limit]
|
|
4029
4740
|
* @param {Date} [lastRetrieved]
|
|
@@ -4031,9 +4742,9 @@ var BookingsApi = /** @class */ (function (_super) {
|
|
|
4031
4742
|
* @throws {RequiredError}
|
|
4032
4743
|
* @memberof BookingsApi
|
|
4033
4744
|
*/
|
|
4034
|
-
BookingsApi.prototype.apiV1BookingsGet = function (searchString, isOpen, isCompleted, status, dealPackageId, page, limit, lastRetrieved, options) {
|
|
4745
|
+
BookingsApi.prototype.apiV1BookingsGet = function (searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, page, limit, lastRetrieved, options) {
|
|
4035
4746
|
var _this = this;
|
|
4036
|
-
return exports.BookingsApiFp(this.configuration).apiV1BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4747
|
+
return exports.BookingsApiFp(this.configuration).apiV1BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4037
4748
|
};
|
|
4038
4749
|
return BookingsApi;
|
|
4039
4750
|
}(base_1.BaseAPI));
|
|
@@ -6202,13 +6913,15 @@ exports.ConsultationsApiAxiosParamCreator = function (configuration) {
|
|
|
6202
6913
|
* @param {boolean} [isCompleted]
|
|
6203
6914
|
* @param {ConsultationStatus} [status]
|
|
6204
6915
|
* @param {ConsultationType} [consultationType]
|
|
6916
|
+
* @param {SortingOrder} [sortRequestDate]
|
|
6917
|
+
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
6205
6918
|
* @param {number} [page]
|
|
6206
6919
|
* @param {number} [limit]
|
|
6207
6920
|
* @param {Date} [lastRetrieved]
|
|
6208
6921
|
* @param {*} [options] Override http request option.
|
|
6209
6922
|
* @throws {RequiredError}
|
|
6210
6923
|
*/
|
|
6211
|
-
apiV1ConsultationsGet: function (searchString, isOpen, isCompleted, status, consultationType, page, limit, lastRetrieved, options) {
|
|
6924
|
+
apiV1ConsultationsGet: function (searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, page, limit, lastRetrieved, options) {
|
|
6212
6925
|
if (options === void 0) { options = {}; }
|
|
6213
6926
|
return __awaiter(_this, void 0, void 0, function () {
|
|
6214
6927
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -6245,6 +6958,12 @@ exports.ConsultationsApiAxiosParamCreator = function (configuration) {
|
|
|
6245
6958
|
if (consultationType !== undefined) {
|
|
6246
6959
|
localVarQueryParameter['ConsultationType'] = consultationType;
|
|
6247
6960
|
}
|
|
6961
|
+
if (sortRequestDate !== undefined) {
|
|
6962
|
+
localVarQueryParameter['SortRequestDate'] = sortRequestDate;
|
|
6963
|
+
}
|
|
6964
|
+
if (sortConfirmedDateStart !== undefined) {
|
|
6965
|
+
localVarQueryParameter['SortConfirmedDateStart'] = sortConfirmedDateStart;
|
|
6966
|
+
}
|
|
6248
6967
|
if (page !== undefined) {
|
|
6249
6968
|
localVarQueryParameter['page'] = page;
|
|
6250
6969
|
}
|
|
@@ -6386,18 +7105,20 @@ exports.ConsultationsApiFp = function (configuration) {
|
|
|
6386
7105
|
* @param {boolean} [isCompleted]
|
|
6387
7106
|
* @param {ConsultationStatus} [status]
|
|
6388
7107
|
* @param {ConsultationType} [consultationType]
|
|
7108
|
+
* @param {SortingOrder} [sortRequestDate]
|
|
7109
|
+
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
6389
7110
|
* @param {number} [page]
|
|
6390
7111
|
* @param {number} [limit]
|
|
6391
7112
|
* @param {Date} [lastRetrieved]
|
|
6392
7113
|
* @param {*} [options] Override http request option.
|
|
6393
7114
|
* @throws {RequiredError}
|
|
6394
7115
|
*/
|
|
6395
|
-
apiV1ConsultationsGet: function (searchString, isOpen, isCompleted, status, consultationType, page, limit, lastRetrieved, options) {
|
|
7116
|
+
apiV1ConsultationsGet: function (searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, page, limit, lastRetrieved, options) {
|
|
6396
7117
|
return __awaiter(this, void 0, void 0, function () {
|
|
6397
7118
|
var localVarAxiosArgs;
|
|
6398
7119
|
return __generator(this, function (_a) {
|
|
6399
7120
|
switch (_a.label) {
|
|
6400
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, page, limit, lastRetrieved, options)];
|
|
7121
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, page, limit, lastRetrieved, options)];
|
|
6401
7122
|
case 1:
|
|
6402
7123
|
localVarAxiosArgs = _a.sent();
|
|
6403
7124
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -6474,14 +7195,16 @@ exports.ConsultationsApiFactory = function (configuration, basePath, axios) {
|
|
|
6474
7195
|
* @param {boolean} [isCompleted]
|
|
6475
7196
|
* @param {ConsultationStatus} [status]
|
|
6476
7197
|
* @param {ConsultationType} [consultationType]
|
|
7198
|
+
* @param {SortingOrder} [sortRequestDate]
|
|
7199
|
+
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
6477
7200
|
* @param {number} [page]
|
|
6478
7201
|
* @param {number} [limit]
|
|
6479
7202
|
* @param {Date} [lastRetrieved]
|
|
6480
7203
|
* @param {*} [options] Override http request option.
|
|
6481
7204
|
* @throws {RequiredError}
|
|
6482
7205
|
*/
|
|
6483
|
-
apiV1ConsultationsGet: function (searchString, isOpen, isCompleted, status, consultationType, page, limit, lastRetrieved, options) {
|
|
6484
|
-
return localVarFp.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
7206
|
+
apiV1ConsultationsGet: function (searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, page, limit, lastRetrieved, options) {
|
|
7207
|
+
return localVarFp.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
6485
7208
|
},
|
|
6486
7209
|
};
|
|
6487
7210
|
};
|
|
@@ -6566,6 +7289,8 @@ var ConsultationsApi = /** @class */ (function (_super) {
|
|
|
6566
7289
|
* @param {boolean} [isCompleted]
|
|
6567
7290
|
* @param {ConsultationStatus} [status]
|
|
6568
7291
|
* @param {ConsultationType} [consultationType]
|
|
7292
|
+
* @param {SortingOrder} [sortRequestDate]
|
|
7293
|
+
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
6569
7294
|
* @param {number} [page]
|
|
6570
7295
|
* @param {number} [limit]
|
|
6571
7296
|
* @param {Date} [lastRetrieved]
|
|
@@ -6573,9 +7298,9 @@ var ConsultationsApi = /** @class */ (function (_super) {
|
|
|
6573
7298
|
* @throws {RequiredError}
|
|
6574
7299
|
* @memberof ConsultationsApi
|
|
6575
7300
|
*/
|
|
6576
|
-
ConsultationsApi.prototype.apiV1ConsultationsGet = function (searchString, isOpen, isCompleted, status, consultationType, page, limit, lastRetrieved, options) {
|
|
7301
|
+
ConsultationsApi.prototype.apiV1ConsultationsGet = function (searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, page, limit, lastRetrieved, options) {
|
|
6577
7302
|
var _this = this;
|
|
6578
|
-
return exports.ConsultationsApiFp(this.configuration).apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7303
|
+
return exports.ConsultationsApiFp(this.configuration).apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6579
7304
|
};
|
|
6580
7305
|
return ConsultationsApi;
|
|
6581
7306
|
}(base_1.BaseAPI));
|