ch-api-client-typescript2 2.9.4 → 2.9.7

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.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.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.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.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.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = 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 = 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 = 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
@@ -305,6 +305,8 @@ var SnsType;
305
305
  SnsType["Twitter"] = "Twitter";
306
306
  SnsType["Facebook"] = "Facebook";
307
307
  SnsType["Instagram"] = "Instagram";
308
+ SnsType["LinkedIn"] = "LinkedIn";
309
+ SnsType["Youtube"] = "Youtube";
308
310
  })(SnsType = exports.SnsType || (exports.SnsType = {}));
309
311
  /**
310
312
  *
@@ -316,6 +318,406 @@ var UserLocationType;
316
318
  UserLocationType["LivesIn"] = "LivesIn";
317
319
  UserLocationType["BirthPlace"] = "BirthPlace";
318
320
  })(UserLocationType = exports.UserLocationType || (exports.UserLocationType = {}));
321
+ /**
322
+ * AboutUsApi - axios parameter creator
323
+ * @export
324
+ */
325
+ var AboutUsApiAxiosParamCreator = function (configuration) {
326
+ var _this = this;
327
+ return {
328
+ /**
329
+ *
330
+ * @summary Get all AboutUsList.
331
+ * @param {string} [hospitalId]
332
+ * @param {string} [hospitalName]
333
+ * @param {string} [hospitalSlug]
334
+ * @param {string} [overviewTitle]
335
+ * @param {string} [normalizedOverviewTitle]
336
+ * @param {string} [overview]
337
+ * @param {string} [content]
338
+ * @param {string} [customStyle]
339
+ * @param {string} [background]
340
+ * @param {string} [backgroundThumbnail]
341
+ * @param {string} [languageCode]
342
+ * @param {boolean} [returnDefaultValue]
343
+ * @param {boolean} [confirmed]
344
+ * @param {number} [page]
345
+ * @param {number} [limit]
346
+ * @param {Date} [lastRetrieved]
347
+ * @param {*} [options] Override http request option.
348
+ * @throws {RequiredError}
349
+ */
350
+ apiV2AboutusGet: function (hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options) {
351
+ if (options === void 0) { options = {}; }
352
+ return __awaiter(_this, void 0, void 0, function () {
353
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
354
+ return __generator(this, function (_a) {
355
+ localVarPath = "/api/v2/aboutus";
356
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
357
+ if (configuration) {
358
+ baseOptions = configuration.baseOptions;
359
+ }
360
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
361
+ localVarHeaderParameter = {};
362
+ localVarQueryParameter = {};
363
+ if (hospitalId !== undefined) {
364
+ localVarQueryParameter['HospitalId'] = hospitalId;
365
+ }
366
+ if (hospitalName !== undefined) {
367
+ localVarQueryParameter['HospitalName'] = hospitalName;
368
+ }
369
+ if (hospitalSlug !== undefined) {
370
+ localVarQueryParameter['HospitalSlug'] = hospitalSlug;
371
+ }
372
+ if (overviewTitle !== undefined) {
373
+ localVarQueryParameter['OverviewTitle'] = overviewTitle;
374
+ }
375
+ if (normalizedOverviewTitle !== undefined) {
376
+ localVarQueryParameter['NormalizedOverviewTitle'] = normalizedOverviewTitle;
377
+ }
378
+ if (overview !== undefined) {
379
+ localVarQueryParameter['Overview'] = overview;
380
+ }
381
+ if (content !== undefined) {
382
+ localVarQueryParameter['Content'] = content;
383
+ }
384
+ if (customStyle !== undefined) {
385
+ localVarQueryParameter['CustomStyle'] = customStyle;
386
+ }
387
+ if (background !== undefined) {
388
+ localVarQueryParameter['Background'] = background;
389
+ }
390
+ if (backgroundThumbnail !== undefined) {
391
+ localVarQueryParameter['BackgroundThumbnail'] = backgroundThumbnail;
392
+ }
393
+ if (languageCode !== undefined) {
394
+ localVarQueryParameter['LanguageCode'] = languageCode;
395
+ }
396
+ if (returnDefaultValue !== undefined) {
397
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
398
+ }
399
+ if (confirmed !== undefined) {
400
+ localVarQueryParameter['Confirmed'] = confirmed;
401
+ }
402
+ if (page !== undefined) {
403
+ localVarQueryParameter['page'] = page;
404
+ }
405
+ if (limit !== undefined) {
406
+ localVarQueryParameter['limit'] = limit;
407
+ }
408
+ if (lastRetrieved !== undefined) {
409
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
410
+ lastRetrieved.toISOString() :
411
+ lastRetrieved;
412
+ }
413
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
414
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
415
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
416
+ return [2 /*return*/, {
417
+ url: (0, common_1.toPathString)(localVarUrlObj),
418
+ options: localVarRequestOptions,
419
+ }];
420
+ });
421
+ });
422
+ },
423
+ /**
424
+ *
425
+ * @summary Get AboutUs.
426
+ * @param {string} hospitalId
427
+ * @param {string} [languageCode]
428
+ * @param {boolean} [returnDefaultValue]
429
+ * @param {*} [options] Override http request option.
430
+ * @throws {RequiredError}
431
+ */
432
+ apiV2AboutusHospitalIdGet: function (hospitalId, languageCode, returnDefaultValue, options) {
433
+ if (options === void 0) { options = {}; }
434
+ return __awaiter(_this, void 0, void 0, function () {
435
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
436
+ return __generator(this, function (_a) {
437
+ // verify required parameter 'hospitalId' is not null or undefined
438
+ (0, common_1.assertParamExists)('apiV2AboutusHospitalIdGet', 'hospitalId', hospitalId);
439
+ localVarPath = "/api/v2/aboutus/{hospitalId}"
440
+ .replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
441
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
442
+ if (configuration) {
443
+ baseOptions = configuration.baseOptions;
444
+ }
445
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
446
+ localVarHeaderParameter = {};
447
+ localVarQueryParameter = {};
448
+ if (languageCode !== undefined) {
449
+ localVarQueryParameter['languageCode'] = languageCode;
450
+ }
451
+ if (returnDefaultValue !== undefined) {
452
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
453
+ }
454
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
455
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
456
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
457
+ return [2 /*return*/, {
458
+ url: (0, common_1.toPathString)(localVarUrlObj),
459
+ options: localVarRequestOptions,
460
+ }];
461
+ });
462
+ });
463
+ },
464
+ /**
465
+ *
466
+ * @param {string} slug
467
+ * @param {string} [languageCode]
468
+ * @param {boolean} [returnDefaultValue]
469
+ * @param {*} [options] Override http request option.
470
+ * @throws {RequiredError}
471
+ */
472
+ apiV2AboutusSlugGet: function (slug, languageCode, returnDefaultValue, options) {
473
+ if (options === void 0) { options = {}; }
474
+ return __awaiter(_this, void 0, void 0, function () {
475
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
476
+ return __generator(this, function (_a) {
477
+ // verify required parameter 'slug' is not null or undefined
478
+ (0, common_1.assertParamExists)('apiV2AboutusSlugGet', 'slug', slug);
479
+ localVarPath = "/api/v2/aboutus/{slug}"
480
+ .replace("{".concat("slug", "}"), encodeURIComponent(String(slug)));
481
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
482
+ if (configuration) {
483
+ baseOptions = configuration.baseOptions;
484
+ }
485
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
486
+ localVarHeaderParameter = {};
487
+ localVarQueryParameter = {};
488
+ if (languageCode !== undefined) {
489
+ localVarQueryParameter['languageCode'] = languageCode;
490
+ }
491
+ if (returnDefaultValue !== undefined) {
492
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
493
+ }
494
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
495
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
496
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
497
+ return [2 /*return*/, {
498
+ url: (0, common_1.toPathString)(localVarUrlObj),
499
+ options: localVarRequestOptions,
500
+ }];
501
+ });
502
+ });
503
+ },
504
+ };
505
+ };
506
+ exports.AboutUsApiAxiosParamCreator = AboutUsApiAxiosParamCreator;
507
+ /**
508
+ * AboutUsApi - functional programming interface
509
+ * @export
510
+ */
511
+ var AboutUsApiFp = function (configuration) {
512
+ var localVarAxiosParamCreator = (0, exports.AboutUsApiAxiosParamCreator)(configuration);
513
+ return {
514
+ /**
515
+ *
516
+ * @summary Get all AboutUsList.
517
+ * @param {string} [hospitalId]
518
+ * @param {string} [hospitalName]
519
+ * @param {string} [hospitalSlug]
520
+ * @param {string} [overviewTitle]
521
+ * @param {string} [normalizedOverviewTitle]
522
+ * @param {string} [overview]
523
+ * @param {string} [content]
524
+ * @param {string} [customStyle]
525
+ * @param {string} [background]
526
+ * @param {string} [backgroundThumbnail]
527
+ * @param {string} [languageCode]
528
+ * @param {boolean} [returnDefaultValue]
529
+ * @param {boolean} [confirmed]
530
+ * @param {number} [page]
531
+ * @param {number} [limit]
532
+ * @param {Date} [lastRetrieved]
533
+ * @param {*} [options] Override http request option.
534
+ * @throws {RequiredError}
535
+ */
536
+ apiV2AboutusGet: function (hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options) {
537
+ return __awaiter(this, void 0, void 0, function () {
538
+ var localVarAxiosArgs;
539
+ return __generator(this, function (_a) {
540
+ switch (_a.label) {
541
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2AboutusGet(hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options)];
542
+ case 1:
543
+ localVarAxiosArgs = _a.sent();
544
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
545
+ }
546
+ });
547
+ });
548
+ },
549
+ /**
550
+ *
551
+ * @summary Get AboutUs.
552
+ * @param {string} hospitalId
553
+ * @param {string} [languageCode]
554
+ * @param {boolean} [returnDefaultValue]
555
+ * @param {*} [options] Override http request option.
556
+ * @throws {RequiredError}
557
+ */
558
+ apiV2AboutusHospitalIdGet: function (hospitalId, languageCode, returnDefaultValue, options) {
559
+ return __awaiter(this, void 0, void 0, function () {
560
+ var localVarAxiosArgs;
561
+ return __generator(this, function (_a) {
562
+ switch (_a.label) {
563
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2AboutusHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options)];
564
+ case 1:
565
+ localVarAxiosArgs = _a.sent();
566
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
567
+ }
568
+ });
569
+ });
570
+ },
571
+ /**
572
+ *
573
+ * @param {string} slug
574
+ * @param {string} [languageCode]
575
+ * @param {boolean} [returnDefaultValue]
576
+ * @param {*} [options] Override http request option.
577
+ * @throws {RequiredError}
578
+ */
579
+ apiV2AboutusSlugGet: function (slug, languageCode, returnDefaultValue, options) {
580
+ return __awaiter(this, void 0, void 0, function () {
581
+ var localVarAxiosArgs;
582
+ return __generator(this, function (_a) {
583
+ switch (_a.label) {
584
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2AboutusSlugGet(slug, languageCode, returnDefaultValue, options)];
585
+ case 1:
586
+ localVarAxiosArgs = _a.sent();
587
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
588
+ }
589
+ });
590
+ });
591
+ },
592
+ };
593
+ };
594
+ exports.AboutUsApiFp = AboutUsApiFp;
595
+ /**
596
+ * AboutUsApi - factory interface
597
+ * @export
598
+ */
599
+ var AboutUsApiFactory = function (configuration, basePath, axios) {
600
+ var localVarFp = (0, exports.AboutUsApiFp)(configuration);
601
+ return {
602
+ /**
603
+ *
604
+ * @summary Get all AboutUsList.
605
+ * @param {string} [hospitalId]
606
+ * @param {string} [hospitalName]
607
+ * @param {string} [hospitalSlug]
608
+ * @param {string} [overviewTitle]
609
+ * @param {string} [normalizedOverviewTitle]
610
+ * @param {string} [overview]
611
+ * @param {string} [content]
612
+ * @param {string} [customStyle]
613
+ * @param {string} [background]
614
+ * @param {string} [backgroundThumbnail]
615
+ * @param {string} [languageCode]
616
+ * @param {boolean} [returnDefaultValue]
617
+ * @param {boolean} [confirmed]
618
+ * @param {number} [page]
619
+ * @param {number} [limit]
620
+ * @param {Date} [lastRetrieved]
621
+ * @param {*} [options] Override http request option.
622
+ * @throws {RequiredError}
623
+ */
624
+ apiV2AboutusGet: function (hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options) {
625
+ 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); });
626
+ },
627
+ /**
628
+ *
629
+ * @summary Get AboutUs.
630
+ * @param {string} hospitalId
631
+ * @param {string} [languageCode]
632
+ * @param {boolean} [returnDefaultValue]
633
+ * @param {*} [options] Override http request option.
634
+ * @throws {RequiredError}
635
+ */
636
+ apiV2AboutusHospitalIdGet: function (hospitalId, languageCode, returnDefaultValue, options) {
637
+ return localVarFp.apiV2AboutusHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
638
+ },
639
+ /**
640
+ *
641
+ * @param {string} slug
642
+ * @param {string} [languageCode]
643
+ * @param {boolean} [returnDefaultValue]
644
+ * @param {*} [options] Override http request option.
645
+ * @throws {RequiredError}
646
+ */
647
+ apiV2AboutusSlugGet: function (slug, languageCode, returnDefaultValue, options) {
648
+ return localVarFp.apiV2AboutusSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
649
+ },
650
+ };
651
+ };
652
+ exports.AboutUsApiFactory = AboutUsApiFactory;
653
+ /**
654
+ * AboutUsApi - object-oriented interface
655
+ * @export
656
+ * @class AboutUsApi
657
+ * @extends {BaseAPI}
658
+ */
659
+ var AboutUsApi = /** @class */ (function (_super) {
660
+ __extends(AboutUsApi, _super);
661
+ function AboutUsApi() {
662
+ return _super !== null && _super.apply(this, arguments) || this;
663
+ }
664
+ /**
665
+ *
666
+ * @summary Get all AboutUsList.
667
+ * @param {string} [hospitalId]
668
+ * @param {string} [hospitalName]
669
+ * @param {string} [hospitalSlug]
670
+ * @param {string} [overviewTitle]
671
+ * @param {string} [normalizedOverviewTitle]
672
+ * @param {string} [overview]
673
+ * @param {string} [content]
674
+ * @param {string} [customStyle]
675
+ * @param {string} [background]
676
+ * @param {string} [backgroundThumbnail]
677
+ * @param {string} [languageCode]
678
+ * @param {boolean} [returnDefaultValue]
679
+ * @param {boolean} [confirmed]
680
+ * @param {number} [page]
681
+ * @param {number} [limit]
682
+ * @param {Date} [lastRetrieved]
683
+ * @param {*} [options] Override http request option.
684
+ * @throws {RequiredError}
685
+ * @memberof AboutUsApi
686
+ */
687
+ AboutUsApi.prototype.apiV2AboutusGet = function (hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options) {
688
+ var _this = this;
689
+ 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); });
690
+ };
691
+ /**
692
+ *
693
+ * @summary Get AboutUs.
694
+ * @param {string} hospitalId
695
+ * @param {string} [languageCode]
696
+ * @param {boolean} [returnDefaultValue]
697
+ * @param {*} [options] Override http request option.
698
+ * @throws {RequiredError}
699
+ * @memberof AboutUsApi
700
+ */
701
+ AboutUsApi.prototype.apiV2AboutusHospitalIdGet = function (hospitalId, languageCode, returnDefaultValue, options) {
702
+ var _this = this;
703
+ return (0, exports.AboutUsApiFp)(this.configuration).apiV2AboutusHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
704
+ };
705
+ /**
706
+ *
707
+ * @param {string} slug
708
+ * @param {string} [languageCode]
709
+ * @param {boolean} [returnDefaultValue]
710
+ * @param {*} [options] Override http request option.
711
+ * @throws {RequiredError}
712
+ * @memberof AboutUsApi
713
+ */
714
+ AboutUsApi.prototype.apiV2AboutusSlugGet = function (slug, languageCode, returnDefaultValue, options) {
715
+ var _this = this;
716
+ return (0, exports.AboutUsApiFp)(this.configuration).apiV2AboutusSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
717
+ };
718
+ return AboutUsApi;
719
+ }(base_1.BaseAPI));
720
+ exports.AboutUsApi = AboutUsApi;
319
721
  /**
320
722
  * AccreditationsApi - axios parameter creator
321
723
  * @export
@@ -985,6 +1387,7 @@ var ArticlesApiAxiosParamCreator = function (configuration) {
985
1387
  * @param {string} [hospitalName]
986
1388
  * @param {string} [countryId]
987
1389
  * @param {string} [tag]
1390
+ * @param {string} [exceptArticleId]
988
1391
  * @param {string} [exceptHospitalId]
989
1392
  * @param {string} [contributorId]
990
1393
  * @param {string} [languageCode]
@@ -996,7 +1399,7 @@ var ArticlesApiAxiosParamCreator = function (configuration) {
996
1399
  * @param {*} [options] Override http request option.
997
1400
  * @throws {RequiredError}
998
1401
  */
999
- apiV2ArticlesGet: function (id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
1402
+ apiV2ArticlesGet: function (id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
1000
1403
  if (options === void 0) { options = {}; }
1001
1404
  return __awaiter(_this, void 0, void 0, function () {
1002
1405
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -1042,6 +1445,9 @@ var ArticlesApiAxiosParamCreator = function (configuration) {
1042
1445
  if (tag !== undefined) {
1043
1446
  localVarQueryParameter['Tag'] = tag;
1044
1447
  }
1448
+ if (exceptArticleId !== undefined) {
1449
+ localVarQueryParameter['ExceptArticleId'] = exceptArticleId;
1450
+ }
1045
1451
  if (exceptHospitalId !== undefined) {
1046
1452
  localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
1047
1453
  }
@@ -1350,6 +1756,7 @@ var ArticlesApiFp = function (configuration) {
1350
1756
  * @param {string} [hospitalName]
1351
1757
  * @param {string} [countryId]
1352
1758
  * @param {string} [tag]
1759
+ * @param {string} [exceptArticleId]
1353
1760
  * @param {string} [exceptHospitalId]
1354
1761
  * @param {string} [contributorId]
1355
1762
  * @param {string} [languageCode]
@@ -1361,12 +1768,12 @@ var ArticlesApiFp = function (configuration) {
1361
1768
  * @param {*} [options] Override http request option.
1362
1769
  * @throws {RequiredError}
1363
1770
  */
1364
- apiV2ArticlesGet: function (id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
1771
+ apiV2ArticlesGet: function (id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
1365
1772
  return __awaiter(this, void 0, void 0, function () {
1366
1773
  var localVarAxiosArgs;
1367
1774
  return __generator(this, function (_a) {
1368
1775
  switch (_a.label) {
1369
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
1776
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
1370
1777
  case 1:
1371
1778
  localVarAxiosArgs = _a.sent();
1372
1779
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -1537,6 +1944,7 @@ var ArticlesApiFactory = function (configuration, basePath, axios) {
1537
1944
  * @param {string} [hospitalName]
1538
1945
  * @param {string} [countryId]
1539
1946
  * @param {string} [tag]
1947
+ * @param {string} [exceptArticleId]
1540
1948
  * @param {string} [exceptHospitalId]
1541
1949
  * @param {string} [contributorId]
1542
1950
  * @param {string} [languageCode]
@@ -1548,8 +1956,8 @@ var ArticlesApiFactory = function (configuration, basePath, axios) {
1548
1956
  * @param {*} [options] Override http request option.
1549
1957
  * @throws {RequiredError}
1550
1958
  */
1551
- apiV2ArticlesGet: function (id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
1552
- return localVarFp.apiV2ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
1959
+ apiV2ArticlesGet: function (id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
1960
+ return localVarFp.apiV2ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
1553
1961
  },
1554
1962
  /**
1555
1963
  *
@@ -1726,6 +2134,7 @@ var ArticlesApi = /** @class */ (function (_super) {
1726
2134
  * @param {string} [hospitalName]
1727
2135
  * @param {string} [countryId]
1728
2136
  * @param {string} [tag]
2137
+ * @param {string} [exceptArticleId]
1729
2138
  * @param {string} [exceptHospitalId]
1730
2139
  * @param {string} [contributorId]
1731
2140
  * @param {string} [languageCode]
@@ -1738,9 +2147,9 @@ var ArticlesApi = /** @class */ (function (_super) {
1738
2147
  * @throws {RequiredError}
1739
2148
  * @memberof ArticlesApi
1740
2149
  */
1741
- ArticlesApi.prototype.apiV2ArticlesGet = function (id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
2150
+ ArticlesApi.prototype.apiV2ArticlesGet = function (id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
1742
2151
  var _this = this;
1743
- return (0, exports.ArticlesApiFp)(this.configuration).apiV2ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
2152
+ return (0, exports.ArticlesApiFp)(this.configuration).apiV2ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
1744
2153
  };
1745
2154
  /**
1746
2155
  *
@@ -10340,6 +10749,106 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
10340
10749
  });
10341
10750
  });
10342
10751
  },
10752
+ /**
10753
+ *
10754
+ * @summary Get all HospitalHandles.
10755
+ * @param {string} hospitalId
10756
+ * @param {string} [hospitalId2]
10757
+ * @param {string} [id]
10758
+ * @param {SnsType} [snsType]
10759
+ * @param {string} [handle]
10760
+ * @param {number} [page]
10761
+ * @param {number} [limit]
10762
+ * @param {Date} [lastRetrieved]
10763
+ * @param {*} [options] Override http request option.
10764
+ * @throws {RequiredError}
10765
+ */
10766
+ apiV2HospitalsHospitalIdHandlesGet: function (hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options) {
10767
+ if (options === void 0) { options = {}; }
10768
+ return __awaiter(_this, void 0, void 0, function () {
10769
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
10770
+ return __generator(this, function (_a) {
10771
+ // verify required parameter 'hospitalId' is not null or undefined
10772
+ (0, common_1.assertParamExists)('apiV2HospitalsHospitalIdHandlesGet', 'hospitalId', hospitalId);
10773
+ localVarPath = "/api/v2/hospitals/{hospitalId}/handles"
10774
+ .replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
10775
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10776
+ if (configuration) {
10777
+ baseOptions = configuration.baseOptions;
10778
+ }
10779
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
10780
+ localVarHeaderParameter = {};
10781
+ localVarQueryParameter = {};
10782
+ if (hospitalId2 !== undefined) {
10783
+ localVarQueryParameter['HospitalId'] = hospitalId2;
10784
+ }
10785
+ if (id !== undefined) {
10786
+ localVarQueryParameter['Id'] = id;
10787
+ }
10788
+ if (snsType !== undefined) {
10789
+ localVarQueryParameter['SnsType'] = snsType;
10790
+ }
10791
+ if (handle !== undefined) {
10792
+ localVarQueryParameter['Handle'] = handle;
10793
+ }
10794
+ if (page !== undefined) {
10795
+ localVarQueryParameter['page'] = page;
10796
+ }
10797
+ if (limit !== undefined) {
10798
+ localVarQueryParameter['limit'] = limit;
10799
+ }
10800
+ if (lastRetrieved !== undefined) {
10801
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
10802
+ lastRetrieved.toISOString() :
10803
+ lastRetrieved;
10804
+ }
10805
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
10806
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10807
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
10808
+ return [2 /*return*/, {
10809
+ url: (0, common_1.toPathString)(localVarUrlObj),
10810
+ options: localVarRequestOptions,
10811
+ }];
10812
+ });
10813
+ });
10814
+ },
10815
+ /**
10816
+ *
10817
+ * @summary Get HospitalHandle.
10818
+ * @param {string} hospitalId
10819
+ * @param {string} handleId
10820
+ * @param {*} [options] Override http request option.
10821
+ * @throws {RequiredError}
10822
+ */
10823
+ apiV2HospitalsHospitalIdHandlesHandleIdGet: function (hospitalId, handleId, options) {
10824
+ if (options === void 0) { options = {}; }
10825
+ return __awaiter(_this, void 0, void 0, function () {
10826
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
10827
+ return __generator(this, function (_a) {
10828
+ // verify required parameter 'hospitalId' is not null or undefined
10829
+ (0, common_1.assertParamExists)('apiV2HospitalsHospitalIdHandlesHandleIdGet', 'hospitalId', hospitalId);
10830
+ // verify required parameter 'handleId' is not null or undefined
10831
+ (0, common_1.assertParamExists)('apiV2HospitalsHospitalIdHandlesHandleIdGet', 'handleId', handleId);
10832
+ localVarPath = "/api/v2/hospitals/{hospitalId}/handles/{handleId}"
10833
+ .replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
10834
+ .replace("{".concat("handleId", "}"), encodeURIComponent(String(handleId)));
10835
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10836
+ if (configuration) {
10837
+ baseOptions = configuration.baseOptions;
10838
+ }
10839
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
10840
+ localVarHeaderParameter = {};
10841
+ localVarQueryParameter = {};
10842
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
10843
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10844
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
10845
+ return [2 /*return*/, {
10846
+ url: (0, common_1.toPathString)(localVarUrlObj),
10847
+ options: localVarRequestOptions,
10848
+ }];
10849
+ });
10850
+ });
10851
+ },
10343
10852
  /**
10344
10853
  *
10345
10854
  * @summary Get all HospitalMedias.
@@ -10937,6 +11446,118 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
10937
11446
  });
10938
11447
  });
10939
11448
  },
11449
+ /**
11450
+ *
11451
+ * @summary Get all HospitalWorkingDays.
11452
+ * @param {string} hospitalId
11453
+ * @param {string} [hospitalId2]
11454
+ * @param {string} [id]
11455
+ * @param {string} [dayOfWeek]
11456
+ * @param {Date} [timeFrom]
11457
+ * @param {Date} [timeTo]
11458
+ * @param {boolean} [checkHoliday]
11459
+ * @param {number} [page]
11460
+ * @param {number} [limit]
11461
+ * @param {Date} [lastRetrieved]
11462
+ * @param {*} [options] Override http request option.
11463
+ * @throws {RequiredError}
11464
+ */
11465
+ apiV2HospitalsHospitalIdWorkingdaysGet: function (hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options) {
11466
+ if (options === void 0) { options = {}; }
11467
+ return __awaiter(_this, void 0, void 0, function () {
11468
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
11469
+ return __generator(this, function (_a) {
11470
+ // verify required parameter 'hospitalId' is not null or undefined
11471
+ (0, common_1.assertParamExists)('apiV2HospitalsHospitalIdWorkingdaysGet', 'hospitalId', hospitalId);
11472
+ localVarPath = "/api/v2/hospitals/{hospitalId}/workingdays"
11473
+ .replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
11474
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
11475
+ if (configuration) {
11476
+ baseOptions = configuration.baseOptions;
11477
+ }
11478
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
11479
+ localVarHeaderParameter = {};
11480
+ localVarQueryParameter = {};
11481
+ if (hospitalId2 !== undefined) {
11482
+ localVarQueryParameter['HospitalId'] = hospitalId2;
11483
+ }
11484
+ if (id !== undefined) {
11485
+ localVarQueryParameter['Id'] = id;
11486
+ }
11487
+ if (dayOfWeek !== undefined) {
11488
+ localVarQueryParameter['DayOfWeek'] = dayOfWeek;
11489
+ }
11490
+ if (timeFrom !== undefined) {
11491
+ localVarQueryParameter['TimeFrom'] = (timeFrom instanceof Date) ?
11492
+ timeFrom.toISOString() :
11493
+ timeFrom;
11494
+ }
11495
+ if (timeTo !== undefined) {
11496
+ localVarQueryParameter['TimeTo'] = (timeTo instanceof Date) ?
11497
+ timeTo.toISOString() :
11498
+ timeTo;
11499
+ }
11500
+ if (checkHoliday !== undefined) {
11501
+ localVarQueryParameter['CheckHoliday'] = checkHoliday;
11502
+ }
11503
+ if (page !== undefined) {
11504
+ localVarQueryParameter['page'] = page;
11505
+ }
11506
+ if (limit !== undefined) {
11507
+ localVarQueryParameter['limit'] = limit;
11508
+ }
11509
+ if (lastRetrieved !== undefined) {
11510
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
11511
+ lastRetrieved.toISOString() :
11512
+ lastRetrieved;
11513
+ }
11514
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
11515
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11516
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
11517
+ return [2 /*return*/, {
11518
+ url: (0, common_1.toPathString)(localVarUrlObj),
11519
+ options: localVarRequestOptions,
11520
+ }];
11521
+ });
11522
+ });
11523
+ },
11524
+ /**
11525
+ *
11526
+ * @summary Get HospitalWorkingDay.
11527
+ * @param {string} hospitalId
11528
+ * @param {string} workingDayId
11529
+ * @param {*} [options] Override http request option.
11530
+ * @throws {RequiredError}
11531
+ */
11532
+ apiV2HospitalsHospitalIdWorkingdaysWorkingDayIdGet: function (hospitalId, workingDayId, options) {
11533
+ if (options === void 0) { options = {}; }
11534
+ return __awaiter(_this, void 0, void 0, function () {
11535
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
11536
+ return __generator(this, function (_a) {
11537
+ // verify required parameter 'hospitalId' is not null or undefined
11538
+ (0, common_1.assertParamExists)('apiV2HospitalsHospitalIdWorkingdaysWorkingDayIdGet', 'hospitalId', hospitalId);
11539
+ // verify required parameter 'workingDayId' is not null or undefined
11540
+ (0, common_1.assertParamExists)('apiV2HospitalsHospitalIdWorkingdaysWorkingDayIdGet', 'workingDayId', workingDayId);
11541
+ localVarPath = "/api/v2/hospitals/{hospitalId}/workingdays/{workingDayId}"
11542
+ .replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
11543
+ .replace("{".concat("workingDayId", "}"), encodeURIComponent(String(workingDayId)));
11544
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
11545
+ if (configuration) {
11546
+ baseOptions = configuration.baseOptions;
11547
+ }
11548
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
11549
+ localVarHeaderParameter = {};
11550
+ localVarQueryParameter = {};
11551
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
11552
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11553
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
11554
+ return [2 /*return*/, {
11555
+ url: (0, common_1.toPathString)(localVarUrlObj),
11556
+ options: localVarRequestOptions,
11557
+ }];
11558
+ });
11559
+ });
11560
+ },
10940
11561
  /**
10941
11562
  *
10942
11563
  * @summary Get all Hospitals.
@@ -11332,6 +11953,54 @@ var HospitalsApiFp = function (configuration) {
11332
11953
  });
11333
11954
  });
11334
11955
  },
11956
+ /**
11957
+ *
11958
+ * @summary Get all HospitalHandles.
11959
+ * @param {string} hospitalId
11960
+ * @param {string} [hospitalId2]
11961
+ * @param {string} [id]
11962
+ * @param {SnsType} [snsType]
11963
+ * @param {string} [handle]
11964
+ * @param {number} [page]
11965
+ * @param {number} [limit]
11966
+ * @param {Date} [lastRetrieved]
11967
+ * @param {*} [options] Override http request option.
11968
+ * @throws {RequiredError}
11969
+ */
11970
+ apiV2HospitalsHospitalIdHandlesGet: function (hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options) {
11971
+ return __awaiter(this, void 0, void 0, function () {
11972
+ var localVarAxiosArgs;
11973
+ return __generator(this, function (_a) {
11974
+ switch (_a.label) {
11975
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdHandlesGet(hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options)];
11976
+ case 1:
11977
+ localVarAxiosArgs = _a.sent();
11978
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
11979
+ }
11980
+ });
11981
+ });
11982
+ },
11983
+ /**
11984
+ *
11985
+ * @summary Get HospitalHandle.
11986
+ * @param {string} hospitalId
11987
+ * @param {string} handleId
11988
+ * @param {*} [options] Override http request option.
11989
+ * @throws {RequiredError}
11990
+ */
11991
+ apiV2HospitalsHospitalIdHandlesHandleIdGet: function (hospitalId, handleId, options) {
11992
+ return __awaiter(this, void 0, void 0, function () {
11993
+ var localVarAxiosArgs;
11994
+ return __generator(this, function (_a) {
11995
+ switch (_a.label) {
11996
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdHandlesHandleIdGet(hospitalId, handleId, options)];
11997
+ case 1:
11998
+ localVarAxiosArgs = _a.sent();
11999
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
12000
+ }
12001
+ });
12002
+ });
12003
+ },
11335
12004
  /**
11336
12005
  *
11337
12006
  * @summary Get all HospitalMedias.
@@ -11584,6 +12253,56 @@ var HospitalsApiFp = function (configuration) {
11584
12253
  });
11585
12254
  });
11586
12255
  },
12256
+ /**
12257
+ *
12258
+ * @summary Get all HospitalWorkingDays.
12259
+ * @param {string} hospitalId
12260
+ * @param {string} [hospitalId2]
12261
+ * @param {string} [id]
12262
+ * @param {string} [dayOfWeek]
12263
+ * @param {Date} [timeFrom]
12264
+ * @param {Date} [timeTo]
12265
+ * @param {boolean} [checkHoliday]
12266
+ * @param {number} [page]
12267
+ * @param {number} [limit]
12268
+ * @param {Date} [lastRetrieved]
12269
+ * @param {*} [options] Override http request option.
12270
+ * @throws {RequiredError}
12271
+ */
12272
+ apiV2HospitalsHospitalIdWorkingdaysGet: function (hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options) {
12273
+ return __awaiter(this, void 0, void 0, function () {
12274
+ var localVarAxiosArgs;
12275
+ return __generator(this, function (_a) {
12276
+ switch (_a.label) {
12277
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdWorkingdaysGet(hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options)];
12278
+ case 1:
12279
+ localVarAxiosArgs = _a.sent();
12280
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
12281
+ }
12282
+ });
12283
+ });
12284
+ },
12285
+ /**
12286
+ *
12287
+ * @summary Get HospitalWorkingDay.
12288
+ * @param {string} hospitalId
12289
+ * @param {string} workingDayId
12290
+ * @param {*} [options] Override http request option.
12291
+ * @throws {RequiredError}
12292
+ */
12293
+ apiV2HospitalsHospitalIdWorkingdaysWorkingDayIdGet: function (hospitalId, workingDayId, options) {
12294
+ return __awaiter(this, void 0, void 0, function () {
12295
+ var localVarAxiosArgs;
12296
+ return __generator(this, function (_a) {
12297
+ switch (_a.label) {
12298
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdWorkingdaysWorkingDayIdGet(hospitalId, workingDayId, options)];
12299
+ case 1:
12300
+ localVarAxiosArgs = _a.sent();
12301
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
12302
+ }
12303
+ });
12304
+ });
12305
+ },
11587
12306
  /**
11588
12307
  *
11589
12308
  * @summary Get all Hospitals.
@@ -11798,6 +12517,34 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
11798
12517
  apiV2HospitalsHospitalIdGet: function (hospitalId, languageCode, returnDefaultValue, options) {
11799
12518
  return localVarFp.apiV2HospitalsHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
11800
12519
  },
12520
+ /**
12521
+ *
12522
+ * @summary Get all HospitalHandles.
12523
+ * @param {string} hospitalId
12524
+ * @param {string} [hospitalId2]
12525
+ * @param {string} [id]
12526
+ * @param {SnsType} [snsType]
12527
+ * @param {string} [handle]
12528
+ * @param {number} [page]
12529
+ * @param {number} [limit]
12530
+ * @param {Date} [lastRetrieved]
12531
+ * @param {*} [options] Override http request option.
12532
+ * @throws {RequiredError}
12533
+ */
12534
+ apiV2HospitalsHospitalIdHandlesGet: function (hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options) {
12535
+ return localVarFp.apiV2HospitalsHospitalIdHandlesGet(hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
12536
+ },
12537
+ /**
12538
+ *
12539
+ * @summary Get HospitalHandle.
12540
+ * @param {string} hospitalId
12541
+ * @param {string} handleId
12542
+ * @param {*} [options] Override http request option.
12543
+ * @throws {RequiredError}
12544
+ */
12545
+ apiV2HospitalsHospitalIdHandlesHandleIdGet: function (hospitalId, handleId, options) {
12546
+ return localVarFp.apiV2HospitalsHospitalIdHandlesHandleIdGet(hospitalId, handleId, options).then(function (request) { return request(axios, basePath); });
12547
+ },
11801
12548
  /**
11802
12549
  *
11803
12550
  * @summary Get all HospitalMedias.
@@ -11960,6 +12707,36 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
11960
12707
  apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet: function (hospitalId, specialtyId, serviceId, mediaId, options) {
11961
12708
  return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet(hospitalId, specialtyId, serviceId, mediaId, options).then(function (request) { return request(axios, basePath); });
11962
12709
  },
12710
+ /**
12711
+ *
12712
+ * @summary Get all HospitalWorkingDays.
12713
+ * @param {string} hospitalId
12714
+ * @param {string} [hospitalId2]
12715
+ * @param {string} [id]
12716
+ * @param {string} [dayOfWeek]
12717
+ * @param {Date} [timeFrom]
12718
+ * @param {Date} [timeTo]
12719
+ * @param {boolean} [checkHoliday]
12720
+ * @param {number} [page]
12721
+ * @param {number} [limit]
12722
+ * @param {Date} [lastRetrieved]
12723
+ * @param {*} [options] Override http request option.
12724
+ * @throws {RequiredError}
12725
+ */
12726
+ apiV2HospitalsHospitalIdWorkingdaysGet: function (hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options) {
12727
+ return localVarFp.apiV2HospitalsHospitalIdWorkingdaysGet(hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
12728
+ },
12729
+ /**
12730
+ *
12731
+ * @summary Get HospitalWorkingDay.
12732
+ * @param {string} hospitalId
12733
+ * @param {string} workingDayId
12734
+ * @param {*} [options] Override http request option.
12735
+ * @throws {RequiredError}
12736
+ */
12737
+ apiV2HospitalsHospitalIdWorkingdaysWorkingDayIdGet: function (hospitalId, workingDayId, options) {
12738
+ return localVarFp.apiV2HospitalsHospitalIdWorkingdaysWorkingDayIdGet(hospitalId, workingDayId, options).then(function (request) { return request(axios, basePath); });
12739
+ },
11963
12740
  /**
11964
12741
  *
11965
12742
  * @summary Get all Hospitals.
@@ -12178,6 +12955,38 @@ var HospitalsApi = /** @class */ (function (_super) {
12178
12955
  var _this = this;
12179
12956
  return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
12180
12957
  };
12958
+ /**
12959
+ *
12960
+ * @summary Get all HospitalHandles.
12961
+ * @param {string} hospitalId
12962
+ * @param {string} [hospitalId2]
12963
+ * @param {string} [id]
12964
+ * @param {SnsType} [snsType]
12965
+ * @param {string} [handle]
12966
+ * @param {number} [page]
12967
+ * @param {number} [limit]
12968
+ * @param {Date} [lastRetrieved]
12969
+ * @param {*} [options] Override http request option.
12970
+ * @throws {RequiredError}
12971
+ * @memberof HospitalsApi
12972
+ */
12973
+ HospitalsApi.prototype.apiV2HospitalsHospitalIdHandlesGet = function (hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options) {
12974
+ var _this = this;
12975
+ return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdHandlesGet(hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
12976
+ };
12977
+ /**
12978
+ *
12979
+ * @summary Get HospitalHandle.
12980
+ * @param {string} hospitalId
12981
+ * @param {string} handleId
12982
+ * @param {*} [options] Override http request option.
12983
+ * @throws {RequiredError}
12984
+ * @memberof HospitalsApi
12985
+ */
12986
+ HospitalsApi.prototype.apiV2HospitalsHospitalIdHandlesHandleIdGet = function (hospitalId, handleId, options) {
12987
+ var _this = this;
12988
+ return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdHandlesHandleIdGet(hospitalId, handleId, options).then(function (request) { return request(_this.axios, _this.basePath); });
12989
+ };
12181
12990
  /**
12182
12991
  *
12183
12992
  * @summary Get all HospitalMedias.
@@ -12358,6 +13167,40 @@ var HospitalsApi = /** @class */ (function (_super) {
12358
13167
  var _this = this;
12359
13168
  return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet(hospitalId, specialtyId, serviceId, mediaId, options).then(function (request) { return request(_this.axios, _this.basePath); });
12360
13169
  };
13170
+ /**
13171
+ *
13172
+ * @summary Get all HospitalWorkingDays.
13173
+ * @param {string} hospitalId
13174
+ * @param {string} [hospitalId2]
13175
+ * @param {string} [id]
13176
+ * @param {string} [dayOfWeek]
13177
+ * @param {Date} [timeFrom]
13178
+ * @param {Date} [timeTo]
13179
+ * @param {boolean} [checkHoliday]
13180
+ * @param {number} [page]
13181
+ * @param {number} [limit]
13182
+ * @param {Date} [lastRetrieved]
13183
+ * @param {*} [options] Override http request option.
13184
+ * @throws {RequiredError}
13185
+ * @memberof HospitalsApi
13186
+ */
13187
+ HospitalsApi.prototype.apiV2HospitalsHospitalIdWorkingdaysGet = function (hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options) {
13188
+ var _this = this;
13189
+ return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdWorkingdaysGet(hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
13190
+ };
13191
+ /**
13192
+ *
13193
+ * @summary Get HospitalWorkingDay.
13194
+ * @param {string} hospitalId
13195
+ * @param {string} workingDayId
13196
+ * @param {*} [options] Override http request option.
13197
+ * @throws {RequiredError}
13198
+ * @memberof HospitalsApi
13199
+ */
13200
+ HospitalsApi.prototype.apiV2HospitalsHospitalIdWorkingdaysWorkingDayIdGet = function (hospitalId, workingDayId, options) {
13201
+ var _this = this;
13202
+ return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdWorkingdaysWorkingDayIdGet(hospitalId, workingDayId, options).then(function (request) { return request(_this.axios, _this.basePath); });
13203
+ };
12361
13204
  /**
12362
13205
  *
12363
13206
  * @summary Get all Hospitals.