ch-api-client-typescript2 2.9.4 → 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 +392 -0
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +403 -3
- package/package.json +1 -1
- package/src/api.ts +585 -0
package/lib/api.js
CHANGED
|
@@ -78,9 +78,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
78
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
79
|
};
|
|
80
80
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
-
exports.
|
|
82
|
-
exports.
|
|
83
|
-
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 = void 0;
|
|
81
|
+
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.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.SnsType = exports.ReviewType = exports.ReviewCategory = exports.RejectReason = exports.RefundPolicy = exports.RecurringInterval = exports.Procedure = exports.NotificationCode = exports.MediaType = exports.MarketingType = exports.Gender = exports.ContributionType = exports.ConsultationType = exports.ConsultationStatus = exports.BookingStatus = exports.AutocompleteMode = exports.ArticleStatus = void 0;
|
|
82
|
+
exports.PlansApiFp = exports.PlansApiAxiosParamCreator = 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.LanguagesApi = exports.LanguagesApiFactory = exports.LanguagesApiFp = exports.LanguagesApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.HospitalsApi = exports.HospitalsApiFactory = exports.HospitalsApiFp = exports.HospitalsApiAxiosParamCreator = exports.GroupChannelsApi = exports.GroupChannelsApiFactory = exports.GroupChannelsApiFp = exports.GroupChannelsApiAxiosParamCreator = exports.FaqsApi = exports.FaqsApiFactory = exports.FaqsApiFp = exports.FaqsApiAxiosParamCreator = exports.FaqCategoriesApi = exports.FaqCategoriesApiFactory = exports.FaqCategoriesApiFp = exports.FaqCategoriesApiAxiosParamCreator = exports.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = exports.CountriesApi = exports.CountriesApiFactory = exports.CountriesApiFp = exports.CountriesApiAxiosParamCreator = void 0;
|
|
83
|
+
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 = void 0;
|
|
84
84
|
var axios_1 = __importDefault(require("axios"));
|
|
85
85
|
// Some imports not used depending on template conditions
|
|
86
86
|
// @ts-ignore
|
|
@@ -316,6 +316,406 @@ var UserLocationType;
|
|
|
316
316
|
UserLocationType["LivesIn"] = "LivesIn";
|
|
317
317
|
UserLocationType["BirthPlace"] = "BirthPlace";
|
|
318
318
|
})(UserLocationType = exports.UserLocationType || (exports.UserLocationType = {}));
|
|
319
|
+
/**
|
|
320
|
+
* AboutUsApi - axios parameter creator
|
|
321
|
+
* @export
|
|
322
|
+
*/
|
|
323
|
+
var AboutUsApiAxiosParamCreator = function (configuration) {
|
|
324
|
+
var _this = this;
|
|
325
|
+
return {
|
|
326
|
+
/**
|
|
327
|
+
*
|
|
328
|
+
* @summary Get AboutUs.
|
|
329
|
+
* @param {string} aboutUsId
|
|
330
|
+
* @param {string} [languageCode]
|
|
331
|
+
* @param {boolean} [returnDefaultValue]
|
|
332
|
+
* @param {*} [options] Override http request option.
|
|
333
|
+
* @throws {RequiredError}
|
|
334
|
+
*/
|
|
335
|
+
apiV2AboutusAboutUsIdGet: function (aboutUsId, languageCode, returnDefaultValue, options) {
|
|
336
|
+
if (options === void 0) { options = {}; }
|
|
337
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
338
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
339
|
+
return __generator(this, function (_a) {
|
|
340
|
+
// verify required parameter 'aboutUsId' is not null or undefined
|
|
341
|
+
(0, common_1.assertParamExists)('apiV2AboutusAboutUsIdGet', 'aboutUsId', aboutUsId);
|
|
342
|
+
localVarPath = "/api/v2/aboutus/{aboutUsId}"
|
|
343
|
+
.replace("{".concat("aboutUsId", "}"), encodeURIComponent(String(aboutUsId)));
|
|
344
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
345
|
+
if (configuration) {
|
|
346
|
+
baseOptions = configuration.baseOptions;
|
|
347
|
+
}
|
|
348
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
349
|
+
localVarHeaderParameter = {};
|
|
350
|
+
localVarQueryParameter = {};
|
|
351
|
+
if (languageCode !== undefined) {
|
|
352
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
353
|
+
}
|
|
354
|
+
if (returnDefaultValue !== undefined) {
|
|
355
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
356
|
+
}
|
|
357
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
358
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
359
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
360
|
+
return [2 /*return*/, {
|
|
361
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
362
|
+
options: localVarRequestOptions,
|
|
363
|
+
}];
|
|
364
|
+
});
|
|
365
|
+
});
|
|
366
|
+
},
|
|
367
|
+
/**
|
|
368
|
+
*
|
|
369
|
+
* @summary Get all AboutUsList.
|
|
370
|
+
* @param {string} [hospitalId]
|
|
371
|
+
* @param {string} [hospitalName]
|
|
372
|
+
* @param {string} [hospitalSlug]
|
|
373
|
+
* @param {string} [overviewTitle]
|
|
374
|
+
* @param {string} [normalizedOverviewTitle]
|
|
375
|
+
* @param {string} [overview]
|
|
376
|
+
* @param {string} [content]
|
|
377
|
+
* @param {string} [customStyle]
|
|
378
|
+
* @param {string} [background]
|
|
379
|
+
* @param {string} [backgroundThumbnail]
|
|
380
|
+
* @param {string} [languageCode]
|
|
381
|
+
* @param {boolean} [returnDefaultValue]
|
|
382
|
+
* @param {boolean} [confirmed]
|
|
383
|
+
* @param {number} [page]
|
|
384
|
+
* @param {number} [limit]
|
|
385
|
+
* @param {Date} [lastRetrieved]
|
|
386
|
+
* @param {*} [options] Override http request option.
|
|
387
|
+
* @throws {RequiredError}
|
|
388
|
+
*/
|
|
389
|
+
apiV2AboutusGet: function (hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options) {
|
|
390
|
+
if (options === void 0) { options = {}; }
|
|
391
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
392
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
393
|
+
return __generator(this, function (_a) {
|
|
394
|
+
localVarPath = "/api/v2/aboutus";
|
|
395
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
396
|
+
if (configuration) {
|
|
397
|
+
baseOptions = configuration.baseOptions;
|
|
398
|
+
}
|
|
399
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
400
|
+
localVarHeaderParameter = {};
|
|
401
|
+
localVarQueryParameter = {};
|
|
402
|
+
if (hospitalId !== undefined) {
|
|
403
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
404
|
+
}
|
|
405
|
+
if (hospitalName !== undefined) {
|
|
406
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
407
|
+
}
|
|
408
|
+
if (hospitalSlug !== undefined) {
|
|
409
|
+
localVarQueryParameter['HospitalSlug'] = hospitalSlug;
|
|
410
|
+
}
|
|
411
|
+
if (overviewTitle !== undefined) {
|
|
412
|
+
localVarQueryParameter['OverviewTitle'] = overviewTitle;
|
|
413
|
+
}
|
|
414
|
+
if (normalizedOverviewTitle !== undefined) {
|
|
415
|
+
localVarQueryParameter['NormalizedOverviewTitle'] = normalizedOverviewTitle;
|
|
416
|
+
}
|
|
417
|
+
if (overview !== undefined) {
|
|
418
|
+
localVarQueryParameter['Overview'] = overview;
|
|
419
|
+
}
|
|
420
|
+
if (content !== undefined) {
|
|
421
|
+
localVarQueryParameter['Content'] = content;
|
|
422
|
+
}
|
|
423
|
+
if (customStyle !== undefined) {
|
|
424
|
+
localVarQueryParameter['CustomStyle'] = customStyle;
|
|
425
|
+
}
|
|
426
|
+
if (background !== undefined) {
|
|
427
|
+
localVarQueryParameter['Background'] = background;
|
|
428
|
+
}
|
|
429
|
+
if (backgroundThumbnail !== undefined) {
|
|
430
|
+
localVarQueryParameter['BackgroundThumbnail'] = backgroundThumbnail;
|
|
431
|
+
}
|
|
432
|
+
if (languageCode !== undefined) {
|
|
433
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
434
|
+
}
|
|
435
|
+
if (returnDefaultValue !== undefined) {
|
|
436
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
437
|
+
}
|
|
438
|
+
if (confirmed !== undefined) {
|
|
439
|
+
localVarQueryParameter['Confirmed'] = confirmed;
|
|
440
|
+
}
|
|
441
|
+
if (page !== undefined) {
|
|
442
|
+
localVarQueryParameter['page'] = page;
|
|
443
|
+
}
|
|
444
|
+
if (limit !== undefined) {
|
|
445
|
+
localVarQueryParameter['limit'] = limit;
|
|
446
|
+
}
|
|
447
|
+
if (lastRetrieved !== undefined) {
|
|
448
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
449
|
+
lastRetrieved.toISOString() :
|
|
450
|
+
lastRetrieved;
|
|
451
|
+
}
|
|
452
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
453
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
454
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
455
|
+
return [2 /*return*/, {
|
|
456
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
457
|
+
options: localVarRequestOptions,
|
|
458
|
+
}];
|
|
459
|
+
});
|
|
460
|
+
});
|
|
461
|
+
},
|
|
462
|
+
/**
|
|
463
|
+
*
|
|
464
|
+
* @param {string} slug
|
|
465
|
+
* @param {string} [languageCode]
|
|
466
|
+
* @param {boolean} [returnDefaultValue]
|
|
467
|
+
* @param {*} [options] Override http request option.
|
|
468
|
+
* @throws {RequiredError}
|
|
469
|
+
*/
|
|
470
|
+
apiV2AboutusSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
471
|
+
if (options === void 0) { options = {}; }
|
|
472
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
473
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
474
|
+
return __generator(this, function (_a) {
|
|
475
|
+
// verify required parameter 'slug' is not null or undefined
|
|
476
|
+
(0, common_1.assertParamExists)('apiV2AboutusSlugGet', 'slug', slug);
|
|
477
|
+
localVarPath = "/api/v2/aboutus/{slug}"
|
|
478
|
+
.replace("{".concat("slug", "}"), encodeURIComponent(String(slug)));
|
|
479
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
480
|
+
if (configuration) {
|
|
481
|
+
baseOptions = configuration.baseOptions;
|
|
482
|
+
}
|
|
483
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
484
|
+
localVarHeaderParameter = {};
|
|
485
|
+
localVarQueryParameter = {};
|
|
486
|
+
if (languageCode !== undefined) {
|
|
487
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
488
|
+
}
|
|
489
|
+
if (returnDefaultValue !== undefined) {
|
|
490
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
491
|
+
}
|
|
492
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
493
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
494
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
495
|
+
return [2 /*return*/, {
|
|
496
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
497
|
+
options: localVarRequestOptions,
|
|
498
|
+
}];
|
|
499
|
+
});
|
|
500
|
+
});
|
|
501
|
+
},
|
|
502
|
+
};
|
|
503
|
+
};
|
|
504
|
+
exports.AboutUsApiAxiosParamCreator = AboutUsApiAxiosParamCreator;
|
|
505
|
+
/**
|
|
506
|
+
* AboutUsApi - functional programming interface
|
|
507
|
+
* @export
|
|
508
|
+
*/
|
|
509
|
+
var AboutUsApiFp = function (configuration) {
|
|
510
|
+
var localVarAxiosParamCreator = (0, exports.AboutUsApiAxiosParamCreator)(configuration);
|
|
511
|
+
return {
|
|
512
|
+
/**
|
|
513
|
+
*
|
|
514
|
+
* @summary Get AboutUs.
|
|
515
|
+
* @param {string} aboutUsId
|
|
516
|
+
* @param {string} [languageCode]
|
|
517
|
+
* @param {boolean} [returnDefaultValue]
|
|
518
|
+
* @param {*} [options] Override http request option.
|
|
519
|
+
* @throws {RequiredError}
|
|
520
|
+
*/
|
|
521
|
+
apiV2AboutusAboutUsIdGet: function (aboutUsId, languageCode, returnDefaultValue, options) {
|
|
522
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
523
|
+
var localVarAxiosArgs;
|
|
524
|
+
return __generator(this, function (_a) {
|
|
525
|
+
switch (_a.label) {
|
|
526
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2AboutusAboutUsIdGet(aboutUsId, languageCode, returnDefaultValue, options)];
|
|
527
|
+
case 1:
|
|
528
|
+
localVarAxiosArgs = _a.sent();
|
|
529
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
530
|
+
}
|
|
531
|
+
});
|
|
532
|
+
});
|
|
533
|
+
},
|
|
534
|
+
/**
|
|
535
|
+
*
|
|
536
|
+
* @summary Get all AboutUsList.
|
|
537
|
+
* @param {string} [hospitalId]
|
|
538
|
+
* @param {string} [hospitalName]
|
|
539
|
+
* @param {string} [hospitalSlug]
|
|
540
|
+
* @param {string} [overviewTitle]
|
|
541
|
+
* @param {string} [normalizedOverviewTitle]
|
|
542
|
+
* @param {string} [overview]
|
|
543
|
+
* @param {string} [content]
|
|
544
|
+
* @param {string} [customStyle]
|
|
545
|
+
* @param {string} [background]
|
|
546
|
+
* @param {string} [backgroundThumbnail]
|
|
547
|
+
* @param {string} [languageCode]
|
|
548
|
+
* @param {boolean} [returnDefaultValue]
|
|
549
|
+
* @param {boolean} [confirmed]
|
|
550
|
+
* @param {number} [page]
|
|
551
|
+
* @param {number} [limit]
|
|
552
|
+
* @param {Date} [lastRetrieved]
|
|
553
|
+
* @param {*} [options] Override http request option.
|
|
554
|
+
* @throws {RequiredError}
|
|
555
|
+
*/
|
|
556
|
+
apiV2AboutusGet: function (hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options) {
|
|
557
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
558
|
+
var localVarAxiosArgs;
|
|
559
|
+
return __generator(this, function (_a) {
|
|
560
|
+
switch (_a.label) {
|
|
561
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2AboutusGet(hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options)];
|
|
562
|
+
case 1:
|
|
563
|
+
localVarAxiosArgs = _a.sent();
|
|
564
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
565
|
+
}
|
|
566
|
+
});
|
|
567
|
+
});
|
|
568
|
+
},
|
|
569
|
+
/**
|
|
570
|
+
*
|
|
571
|
+
* @param {string} slug
|
|
572
|
+
* @param {string} [languageCode]
|
|
573
|
+
* @param {boolean} [returnDefaultValue]
|
|
574
|
+
* @param {*} [options] Override http request option.
|
|
575
|
+
* @throws {RequiredError}
|
|
576
|
+
*/
|
|
577
|
+
apiV2AboutusSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
578
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
579
|
+
var localVarAxiosArgs;
|
|
580
|
+
return __generator(this, function (_a) {
|
|
581
|
+
switch (_a.label) {
|
|
582
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2AboutusSlugGet(slug, languageCode, returnDefaultValue, options)];
|
|
583
|
+
case 1:
|
|
584
|
+
localVarAxiosArgs = _a.sent();
|
|
585
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
586
|
+
}
|
|
587
|
+
});
|
|
588
|
+
});
|
|
589
|
+
},
|
|
590
|
+
};
|
|
591
|
+
};
|
|
592
|
+
exports.AboutUsApiFp = AboutUsApiFp;
|
|
593
|
+
/**
|
|
594
|
+
* AboutUsApi - factory interface
|
|
595
|
+
* @export
|
|
596
|
+
*/
|
|
597
|
+
var AboutUsApiFactory = function (configuration, basePath, axios) {
|
|
598
|
+
var localVarFp = (0, exports.AboutUsApiFp)(configuration);
|
|
599
|
+
return {
|
|
600
|
+
/**
|
|
601
|
+
*
|
|
602
|
+
* @summary Get AboutUs.
|
|
603
|
+
* @param {string} aboutUsId
|
|
604
|
+
* @param {string} [languageCode]
|
|
605
|
+
* @param {boolean} [returnDefaultValue]
|
|
606
|
+
* @param {*} [options] Override http request option.
|
|
607
|
+
* @throws {RequiredError}
|
|
608
|
+
*/
|
|
609
|
+
apiV2AboutusAboutUsIdGet: function (aboutUsId, languageCode, returnDefaultValue, options) {
|
|
610
|
+
return localVarFp.apiV2AboutusAboutUsIdGet(aboutUsId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
611
|
+
},
|
|
612
|
+
/**
|
|
613
|
+
*
|
|
614
|
+
* @summary Get all AboutUsList.
|
|
615
|
+
* @param {string} [hospitalId]
|
|
616
|
+
* @param {string} [hospitalName]
|
|
617
|
+
* @param {string} [hospitalSlug]
|
|
618
|
+
* @param {string} [overviewTitle]
|
|
619
|
+
* @param {string} [normalizedOverviewTitle]
|
|
620
|
+
* @param {string} [overview]
|
|
621
|
+
* @param {string} [content]
|
|
622
|
+
* @param {string} [customStyle]
|
|
623
|
+
* @param {string} [background]
|
|
624
|
+
* @param {string} [backgroundThumbnail]
|
|
625
|
+
* @param {string} [languageCode]
|
|
626
|
+
* @param {boolean} [returnDefaultValue]
|
|
627
|
+
* @param {boolean} [confirmed]
|
|
628
|
+
* @param {number} [page]
|
|
629
|
+
* @param {number} [limit]
|
|
630
|
+
* @param {Date} [lastRetrieved]
|
|
631
|
+
* @param {*} [options] Override http request option.
|
|
632
|
+
* @throws {RequiredError}
|
|
633
|
+
*/
|
|
634
|
+
apiV2AboutusGet: function (hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options) {
|
|
635
|
+
return localVarFp.apiV2AboutusGet(hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
636
|
+
},
|
|
637
|
+
/**
|
|
638
|
+
*
|
|
639
|
+
* @param {string} slug
|
|
640
|
+
* @param {string} [languageCode]
|
|
641
|
+
* @param {boolean} [returnDefaultValue]
|
|
642
|
+
* @param {*} [options] Override http request option.
|
|
643
|
+
* @throws {RequiredError}
|
|
644
|
+
*/
|
|
645
|
+
apiV2AboutusSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
646
|
+
return localVarFp.apiV2AboutusSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
647
|
+
},
|
|
648
|
+
};
|
|
649
|
+
};
|
|
650
|
+
exports.AboutUsApiFactory = AboutUsApiFactory;
|
|
651
|
+
/**
|
|
652
|
+
* AboutUsApi - object-oriented interface
|
|
653
|
+
* @export
|
|
654
|
+
* @class AboutUsApi
|
|
655
|
+
* @extends {BaseAPI}
|
|
656
|
+
*/
|
|
657
|
+
var AboutUsApi = /** @class */ (function (_super) {
|
|
658
|
+
__extends(AboutUsApi, _super);
|
|
659
|
+
function AboutUsApi() {
|
|
660
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
661
|
+
}
|
|
662
|
+
/**
|
|
663
|
+
*
|
|
664
|
+
* @summary Get AboutUs.
|
|
665
|
+
* @param {string} aboutUsId
|
|
666
|
+
* @param {string} [languageCode]
|
|
667
|
+
* @param {boolean} [returnDefaultValue]
|
|
668
|
+
* @param {*} [options] Override http request option.
|
|
669
|
+
* @throws {RequiredError}
|
|
670
|
+
* @memberof AboutUsApi
|
|
671
|
+
*/
|
|
672
|
+
AboutUsApi.prototype.apiV2AboutusAboutUsIdGet = function (aboutUsId, languageCode, returnDefaultValue, options) {
|
|
673
|
+
var _this = this;
|
|
674
|
+
return (0, exports.AboutUsApiFp)(this.configuration).apiV2AboutusAboutUsIdGet(aboutUsId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
675
|
+
};
|
|
676
|
+
/**
|
|
677
|
+
*
|
|
678
|
+
* @summary Get all AboutUsList.
|
|
679
|
+
* @param {string} [hospitalId]
|
|
680
|
+
* @param {string} [hospitalName]
|
|
681
|
+
* @param {string} [hospitalSlug]
|
|
682
|
+
* @param {string} [overviewTitle]
|
|
683
|
+
* @param {string} [normalizedOverviewTitle]
|
|
684
|
+
* @param {string} [overview]
|
|
685
|
+
* @param {string} [content]
|
|
686
|
+
* @param {string} [customStyle]
|
|
687
|
+
* @param {string} [background]
|
|
688
|
+
* @param {string} [backgroundThumbnail]
|
|
689
|
+
* @param {string} [languageCode]
|
|
690
|
+
* @param {boolean} [returnDefaultValue]
|
|
691
|
+
* @param {boolean} [confirmed]
|
|
692
|
+
* @param {number} [page]
|
|
693
|
+
* @param {number} [limit]
|
|
694
|
+
* @param {Date} [lastRetrieved]
|
|
695
|
+
* @param {*} [options] Override http request option.
|
|
696
|
+
* @throws {RequiredError}
|
|
697
|
+
* @memberof AboutUsApi
|
|
698
|
+
*/
|
|
699
|
+
AboutUsApi.prototype.apiV2AboutusGet = function (hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options) {
|
|
700
|
+
var _this = this;
|
|
701
|
+
return (0, exports.AboutUsApiFp)(this.configuration).apiV2AboutusGet(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); });
|
|
702
|
+
};
|
|
703
|
+
/**
|
|
704
|
+
*
|
|
705
|
+
* @param {string} slug
|
|
706
|
+
* @param {string} [languageCode]
|
|
707
|
+
* @param {boolean} [returnDefaultValue]
|
|
708
|
+
* @param {*} [options] Override http request option.
|
|
709
|
+
* @throws {RequiredError}
|
|
710
|
+
* @memberof AboutUsApi
|
|
711
|
+
*/
|
|
712
|
+
AboutUsApi.prototype.apiV2AboutusSlugGet = function (slug, languageCode, returnDefaultValue, options) {
|
|
713
|
+
var _this = this;
|
|
714
|
+
return (0, exports.AboutUsApiFp)(this.configuration).apiV2AboutusSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
715
|
+
};
|
|
716
|
+
return AboutUsApi;
|
|
717
|
+
}(base_1.BaseAPI));
|
|
718
|
+
exports.AboutUsApi = AboutUsApi;
|
|
319
719
|
/**
|
|
320
720
|
* AccreditationsApi - axios parameter creator
|
|
321
721
|
* @export
|