ch-admin-api-client-typescript 2.9.6 → 2.9.9

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
@@ -291,6 +291,8 @@ var SnsType;
291
291
  SnsType["Twitter"] = "Twitter";
292
292
  SnsType["Facebook"] = "Facebook";
293
293
  SnsType["Instagram"] = "Instagram";
294
+ SnsType["LinkedIn"] = "LinkedIn";
295
+ SnsType["Youtube"] = "Youtube";
294
296
  })(SnsType = exports.SnsType || (exports.SnsType = {}));
295
297
  /**
296
298
  *
@@ -321,27 +323,39 @@ exports.AboutUsApiAxiosParamCreator = function (configuration) {
321
323
  return {
322
324
  /**
323
325
  *
324
- * @summary Delete AboutUs.
325
- * @param {string} aboutUsId
326
+ * @summary Get all AboutUsList.
327
+ * @param {string} [hospitalId]
328
+ * @param {string} [hospitalName]
329
+ * @param {string} [hospitalSlug]
330
+ * @param {string} [overviewTitle]
331
+ * @param {string} [normalizedOverviewTitle]
332
+ * @param {string} [overview]
333
+ * @param {string} [content]
334
+ * @param {string} [customStyle]
335
+ * @param {string} [background]
336
+ * @param {string} [backgroundThumbnail]
337
+ * @param {string} [languageCode]
338
+ * @param {boolean} [returnDefaultValue]
339
+ * @param {boolean} [confirmed]
340
+ * @param {number} [page]
341
+ * @param {number} [limit]
342
+ * @param {Date} [lastRetrieved]
326
343
  * @param {*} [options] Override http request option.
327
344
  * @throws {RequiredError}
328
345
  */
329
- apiV1AboutusAboutUsIdDelete: function (aboutUsId, options) {
346
+ apiV1AboutusGet: function (hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options) {
330
347
  if (options === void 0) { options = {}; }
331
348
  return __awaiter(_this, void 0, void 0, function () {
332
349
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
333
350
  return __generator(this, function (_a) {
334
351
  switch (_a.label) {
335
352
  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)));
353
+ localVarPath = "/api/v1/aboutus";
340
354
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
341
355
  if (configuration) {
342
356
  baseOptions = configuration.baseOptions;
343
357
  }
344
- localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
358
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
345
359
  localVarHeaderParameter = {};
346
360
  localVarQueryParameter = {};
347
361
  // authentication oauth2 required
@@ -351,6 +365,56 @@ exports.AboutUsApiAxiosParamCreator = function (configuration) {
351
365
  // authentication oauth2 required
352
366
  // oauth required
353
367
  _a.sent();
368
+ if (hospitalId !== undefined) {
369
+ localVarQueryParameter['HospitalId'] = hospitalId;
370
+ }
371
+ if (hospitalName !== undefined) {
372
+ localVarQueryParameter['HospitalName'] = hospitalName;
373
+ }
374
+ if (hospitalSlug !== undefined) {
375
+ localVarQueryParameter['HospitalSlug'] = hospitalSlug;
376
+ }
377
+ if (overviewTitle !== undefined) {
378
+ localVarQueryParameter['OverviewTitle'] = overviewTitle;
379
+ }
380
+ if (normalizedOverviewTitle !== undefined) {
381
+ localVarQueryParameter['NormalizedOverviewTitle'] = normalizedOverviewTitle;
382
+ }
383
+ if (overview !== undefined) {
384
+ localVarQueryParameter['Overview'] = overview;
385
+ }
386
+ if (content !== undefined) {
387
+ localVarQueryParameter['Content'] = content;
388
+ }
389
+ if (customStyle !== undefined) {
390
+ localVarQueryParameter['CustomStyle'] = customStyle;
391
+ }
392
+ if (background !== undefined) {
393
+ localVarQueryParameter['Background'] = background;
394
+ }
395
+ if (backgroundThumbnail !== undefined) {
396
+ localVarQueryParameter['BackgroundThumbnail'] = backgroundThumbnail;
397
+ }
398
+ if (languageCode !== undefined) {
399
+ localVarQueryParameter['LanguageCode'] = languageCode;
400
+ }
401
+ if (returnDefaultValue !== undefined) {
402
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
403
+ }
404
+ if (confirmed !== undefined) {
405
+ localVarQueryParameter['Confirmed'] = confirmed;
406
+ }
407
+ if (page !== undefined) {
408
+ localVarQueryParameter['page'] = page;
409
+ }
410
+ if (limit !== undefined) {
411
+ localVarQueryParameter['limit'] = limit;
412
+ }
413
+ if (lastRetrieved !== undefined) {
414
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
415
+ lastRetrieved.toISOString() :
416
+ lastRetrieved;
417
+ }
354
418
  common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
355
419
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
356
420
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -364,29 +428,27 @@ exports.AboutUsApiAxiosParamCreator = function (configuration) {
364
428
  },
365
429
  /**
366
430
  *
367
- * @summary Get AboutUs.
368
- * @param {string} aboutUsId
369
- * @param {string} [languageCode]
370
- * @param {boolean} [returnDefaultValue]
431
+ * @summary Delete AboutUs.
432
+ * @param {string} hospitalId
371
433
  * @param {*} [options] Override http request option.
372
434
  * @throws {RequiredError}
373
435
  */
374
- apiV1AboutusAboutUsIdGet: function (aboutUsId, languageCode, returnDefaultValue, options) {
436
+ apiV1AboutusHospitalIdDelete: function (hospitalId, options) {
375
437
  if (options === void 0) { options = {}; }
376
438
  return __awaiter(_this, void 0, void 0, function () {
377
439
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
378
440
  return __generator(this, function (_a) {
379
441
  switch (_a.label) {
380
442
  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)));
443
+ // verify required parameter 'hospitalId' is not null or undefined
444
+ common_1.assertParamExists('apiV1AboutusHospitalIdDelete', 'hospitalId', hospitalId);
445
+ localVarPath = "/api/v1/aboutus/{hospitalId}"
446
+ .replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)));
385
447
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
386
448
  if (configuration) {
387
449
  baseOptions = configuration.baseOptions;
388
450
  }
389
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
451
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
390
452
  localVarHeaderParameter = {};
391
453
  localVarQueryParameter = {};
392
454
  // authentication oauth2 required
@@ -396,12 +458,6 @@ exports.AboutUsApiAxiosParamCreator = function (configuration) {
396
458
  // authentication oauth2 required
397
459
  // oauth required
398
460
  _a.sent();
399
- if (languageCode !== undefined) {
400
- localVarQueryParameter['languageCode'] = languageCode;
401
- }
402
- if (returnDefaultValue !== undefined) {
403
- localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
404
- }
405
461
  common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
406
462
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
407
463
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -415,28 +471,29 @@ exports.AboutUsApiAxiosParamCreator = function (configuration) {
415
471
  },
416
472
  /**
417
473
  *
418
- * @summary Update AboutUs.
419
- * @param {string} aboutUsId
420
- * @param {UpdateAboutUsPageCommand} [updateAboutUsPageCommand]
474
+ * @summary Get AboutUs.
475
+ * @param {string} hospitalId
476
+ * @param {string} [languageCode]
477
+ * @param {boolean} [returnDefaultValue]
421
478
  * @param {*} [options] Override http request option.
422
479
  * @throws {RequiredError}
423
480
  */
424
- apiV1AboutusAboutUsIdPut: function (aboutUsId, updateAboutUsPageCommand, options) {
481
+ apiV1AboutusHospitalIdGet: function (hospitalId, languageCode, returnDefaultValue, options) {
425
482
  if (options === void 0) { options = {}; }
426
483
  return __awaiter(_this, void 0, void 0, function () {
427
484
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
428
485
  return __generator(this, function (_a) {
429
486
  switch (_a.label) {
430
487
  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)));
488
+ // verify required parameter 'hospitalId' is not null or undefined
489
+ common_1.assertParamExists('apiV1AboutusHospitalIdGet', 'hospitalId', hospitalId);
490
+ localVarPath = "/api/v1/aboutus/{hospitalId}"
491
+ .replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)));
435
492
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
436
493
  if (configuration) {
437
494
  baseOptions = configuration.baseOptions;
438
495
  }
439
- localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
496
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
440
497
  localVarHeaderParameter = {};
441
498
  localVarQueryParameter = {};
442
499
  // authentication oauth2 required
@@ -446,11 +503,15 @@ exports.AboutUsApiAxiosParamCreator = function (configuration) {
446
503
  // authentication oauth2 required
447
504
  // oauth required
448
505
  _a.sent();
449
- localVarHeaderParameter['Content-Type'] = 'application/json';
506
+ if (languageCode !== undefined) {
507
+ localVarQueryParameter['languageCode'] = languageCode;
508
+ }
509
+ if (returnDefaultValue !== undefined) {
510
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
511
+ }
450
512
  common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
451
513
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
452
514
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
453
- localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateAboutUsPageCommand, localVarRequestOptions, configuration);
454
515
  return [2 /*return*/, {
455
516
  url: common_1.toPathString(localVarUrlObj),
456
517
  options: localVarRequestOptions,
@@ -461,39 +522,28 @@ exports.AboutUsApiAxiosParamCreator = function (configuration) {
461
522
  },
462
523
  /**
463
524
  *
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]
525
+ * @summary Update AboutUs.
526
+ * @param {string} hospitalId
527
+ * @param {UpdateAboutUsPageCommand} [updateAboutUsPageCommand]
481
528
  * @param {*} [options] Override http request option.
482
529
  * @throws {RequiredError}
483
530
  */
484
- apiV1AboutusGet: function (hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options) {
531
+ apiV1AboutusHospitalIdPut: function (hospitalId, updateAboutUsPageCommand, options) {
485
532
  if (options === void 0) { options = {}; }
486
533
  return __awaiter(_this, void 0, void 0, function () {
487
534
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
488
535
  return __generator(this, function (_a) {
489
536
  switch (_a.label) {
490
537
  case 0:
491
- localVarPath = "/api/v1/aboutus";
538
+ // verify required parameter 'hospitalId' is not null or undefined
539
+ common_1.assertParamExists('apiV1AboutusHospitalIdPut', 'hospitalId', hospitalId);
540
+ localVarPath = "/api/v1/aboutus/{hospitalId}"
541
+ .replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)));
492
542
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
493
543
  if (configuration) {
494
544
  baseOptions = configuration.baseOptions;
495
545
  }
496
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
546
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
497
547
  localVarHeaderParameter = {};
498
548
  localVarQueryParameter = {};
499
549
  // authentication oauth2 required
@@ -503,59 +553,11 @@ exports.AboutUsApiAxiosParamCreator = function (configuration) {
503
553
  // authentication oauth2 required
504
554
  // oauth required
505
555
  _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
+ localVarHeaderParameter['Content-Type'] = 'application/json';
556
557
  common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
557
558
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
558
559
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
560
+ localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateAboutUsPageCommand, localVarRequestOptions, configuration);
559
561
  return [2 /*return*/, {
560
562
  url: common_1.toPathString(localVarUrlObj),
561
563
  options: localVarRequestOptions,
@@ -667,17 +669,32 @@ exports.AboutUsApiFp = function (configuration) {
667
669
  return {
668
670
  /**
669
671
  *
670
- * @summary Delete AboutUs.
671
- * @param {string} aboutUsId
672
+ * @summary Get all AboutUsList.
673
+ * @param {string} [hospitalId]
674
+ * @param {string} [hospitalName]
675
+ * @param {string} [hospitalSlug]
676
+ * @param {string} [overviewTitle]
677
+ * @param {string} [normalizedOverviewTitle]
678
+ * @param {string} [overview]
679
+ * @param {string} [content]
680
+ * @param {string} [customStyle]
681
+ * @param {string} [background]
682
+ * @param {string} [backgroundThumbnail]
683
+ * @param {string} [languageCode]
684
+ * @param {boolean} [returnDefaultValue]
685
+ * @param {boolean} [confirmed]
686
+ * @param {number} [page]
687
+ * @param {number} [limit]
688
+ * @param {Date} [lastRetrieved]
672
689
  * @param {*} [options] Override http request option.
673
690
  * @throws {RequiredError}
674
691
  */
675
- apiV1AboutusAboutUsIdDelete: function (aboutUsId, options) {
692
+ apiV1AboutusGet: function (hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options) {
676
693
  return __awaiter(this, void 0, void 0, function () {
677
694
  var localVarAxiosArgs;
678
695
  return __generator(this, function (_a) {
679
696
  switch (_a.label) {
680
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1AboutusAboutUsIdDelete(aboutUsId, options)];
697
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1AboutusGet(hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options)];
681
698
  case 1:
682
699
  localVarAxiosArgs = _a.sent();
683
700
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -687,19 +704,17 @@ exports.AboutUsApiFp = function (configuration) {
687
704
  },
688
705
  /**
689
706
  *
690
- * @summary Get AboutUs.
691
- * @param {string} aboutUsId
692
- * @param {string} [languageCode]
693
- * @param {boolean} [returnDefaultValue]
707
+ * @summary Delete AboutUs.
708
+ * @param {string} hospitalId
694
709
  * @param {*} [options] Override http request option.
695
710
  * @throws {RequiredError}
696
711
  */
697
- apiV1AboutusAboutUsIdGet: function (aboutUsId, languageCode, returnDefaultValue, options) {
712
+ apiV1AboutusHospitalIdDelete: function (hospitalId, options) {
698
713
  return __awaiter(this, void 0, void 0, function () {
699
714
  var localVarAxiosArgs;
700
715
  return __generator(this, function (_a) {
701
716
  switch (_a.label) {
702
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1AboutusAboutUsIdGet(aboutUsId, languageCode, returnDefaultValue, options)];
717
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1AboutusHospitalIdDelete(hospitalId, options)];
703
718
  case 1:
704
719
  localVarAxiosArgs = _a.sent();
705
720
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -709,18 +724,19 @@ exports.AboutUsApiFp = function (configuration) {
709
724
  },
710
725
  /**
711
726
  *
712
- * @summary Update AboutUs.
713
- * @param {string} aboutUsId
714
- * @param {UpdateAboutUsPageCommand} [updateAboutUsPageCommand]
727
+ * @summary Get AboutUs.
728
+ * @param {string} hospitalId
729
+ * @param {string} [languageCode]
730
+ * @param {boolean} [returnDefaultValue]
715
731
  * @param {*} [options] Override http request option.
716
732
  * @throws {RequiredError}
717
733
  */
718
- apiV1AboutusAboutUsIdPut: function (aboutUsId, updateAboutUsPageCommand, options) {
734
+ apiV1AboutusHospitalIdGet: function (hospitalId, languageCode, returnDefaultValue, options) {
719
735
  return __awaiter(this, void 0, void 0, function () {
720
736
  var localVarAxiosArgs;
721
737
  return __generator(this, function (_a) {
722
738
  switch (_a.label) {
723
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1AboutusAboutUsIdPut(aboutUsId, updateAboutUsPageCommand, options)];
739
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1AboutusHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options)];
724
740
  case 1:
725
741
  localVarAxiosArgs = _a.sent();
726
742
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -730,32 +746,18 @@ exports.AboutUsApiFp = function (configuration) {
730
746
  },
731
747
  /**
732
748
  *
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]
749
+ * @summary Update AboutUs.
750
+ * @param {string} hospitalId
751
+ * @param {UpdateAboutUsPageCommand} [updateAboutUsPageCommand]
750
752
  * @param {*} [options] Override http request option.
751
753
  * @throws {RequiredError}
752
754
  */
753
- apiV1AboutusGet: function (hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options) {
755
+ apiV1AboutusHospitalIdPut: function (hospitalId, updateAboutUsPageCommand, options) {
754
756
  return __awaiter(this, void 0, void 0, function () {
755
757
  var localVarAxiosArgs;
756
758
  return __generator(this, function (_a) {
757
759
  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)];
760
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1AboutusHospitalIdPut(hospitalId, updateAboutUsPageCommand, options)];
759
761
  case 1:
760
762
  localVarAxiosArgs = _a.sent();
761
763
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -813,39 +815,6 @@ exports.AboutUsApiFp = function (configuration) {
813
815
  exports.AboutUsApiFactory = function (configuration, basePath, axios) {
814
816
  var localVarFp = exports.AboutUsApiFp(configuration);
815
817
  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
818
  /**
850
819
  *
851
820
  * @summary Get all AboutUsList.
@@ -871,6 +840,39 @@ exports.AboutUsApiFactory = function (configuration, basePath, axios) {
871
840
  apiV1AboutusGet: function (hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options) {
872
841
  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
842
  },
843
+ /**
844
+ *
845
+ * @summary Delete AboutUs.
846
+ * @param {string} hospitalId
847
+ * @param {*} [options] Override http request option.
848
+ * @throws {RequiredError}
849
+ */
850
+ apiV1AboutusHospitalIdDelete: function (hospitalId, options) {
851
+ return localVarFp.apiV1AboutusHospitalIdDelete(hospitalId, options).then(function (request) { return request(axios, basePath); });
852
+ },
853
+ /**
854
+ *
855
+ * @summary Get AboutUs.
856
+ * @param {string} hospitalId
857
+ * @param {string} [languageCode]
858
+ * @param {boolean} [returnDefaultValue]
859
+ * @param {*} [options] Override http request option.
860
+ * @throws {RequiredError}
861
+ */
862
+ apiV1AboutusHospitalIdGet: function (hospitalId, languageCode, returnDefaultValue, options) {
863
+ return localVarFp.apiV1AboutusHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
864
+ },
865
+ /**
866
+ *
867
+ * @summary Update AboutUs.
868
+ * @param {string} hospitalId
869
+ * @param {UpdateAboutUsPageCommand} [updateAboutUsPageCommand]
870
+ * @param {*} [options] Override http request option.
871
+ * @throws {RequiredError}
872
+ */
873
+ apiV1AboutusHospitalIdPut: function (hospitalId, updateAboutUsPageCommand, options) {
874
+ return localVarFp.apiV1AboutusHospitalIdPut(hospitalId, updateAboutUsPageCommand, options).then(function (request) { return request(axios, basePath); });
875
+ },
874
876
  /**
875
877
  *
876
878
  * @summary Create AboutUs.
@@ -907,69 +909,69 @@ var AboutUsApi = /** @class */ (function (_super) {
907
909
  }
908
910
  /**
909
911
  *
910
- * @summary Delete AboutUs.
911
- * @param {string} aboutUsId
912
+ * @summary Get all AboutUsList.
913
+ * @param {string} [hospitalId]
914
+ * @param {string} [hospitalName]
915
+ * @param {string} [hospitalSlug]
916
+ * @param {string} [overviewTitle]
917
+ * @param {string} [normalizedOverviewTitle]
918
+ * @param {string} [overview]
919
+ * @param {string} [content]
920
+ * @param {string} [customStyle]
921
+ * @param {string} [background]
922
+ * @param {string} [backgroundThumbnail]
923
+ * @param {string} [languageCode]
924
+ * @param {boolean} [returnDefaultValue]
925
+ * @param {boolean} [confirmed]
926
+ * @param {number} [page]
927
+ * @param {number} [limit]
928
+ * @param {Date} [lastRetrieved]
912
929
  * @param {*} [options] Override http request option.
913
930
  * @throws {RequiredError}
914
931
  * @memberof AboutUsApi
915
932
  */
916
- AboutUsApi.prototype.apiV1AboutusAboutUsIdDelete = function (aboutUsId, options) {
933
+ AboutUsApi.prototype.apiV1AboutusGet = function (hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options) {
917
934
  var _this = this;
918
- return exports.AboutUsApiFp(this.configuration).apiV1AboutusAboutUsIdDelete(aboutUsId, options).then(function (request) { return request(_this.axios, _this.basePath); });
935
+ 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); });
919
936
  };
920
937
  /**
921
938
  *
922
- * @summary Get AboutUs.
923
- * @param {string} aboutUsId
924
- * @param {string} [languageCode]
925
- * @param {boolean} [returnDefaultValue]
939
+ * @summary Delete AboutUs.
940
+ * @param {string} hospitalId
926
941
  * @param {*} [options] Override http request option.
927
942
  * @throws {RequiredError}
928
943
  * @memberof AboutUsApi
929
944
  */
930
- AboutUsApi.prototype.apiV1AboutusAboutUsIdGet = function (aboutUsId, languageCode, returnDefaultValue, options) {
945
+ AboutUsApi.prototype.apiV1AboutusHospitalIdDelete = function (hospitalId, options) {
931
946
  var _this = this;
932
- return exports.AboutUsApiFp(this.configuration).apiV1AboutusAboutUsIdGet(aboutUsId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
947
+ return exports.AboutUsApiFp(this.configuration).apiV1AboutusHospitalIdDelete(hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
933
948
  };
934
949
  /**
935
950
  *
936
- * @summary Update AboutUs.
937
- * @param {string} aboutUsId
938
- * @param {UpdateAboutUsPageCommand} [updateAboutUsPageCommand]
951
+ * @summary Get AboutUs.
952
+ * @param {string} hospitalId
953
+ * @param {string} [languageCode]
954
+ * @param {boolean} [returnDefaultValue]
939
955
  * @param {*} [options] Override http request option.
940
956
  * @throws {RequiredError}
941
957
  * @memberof AboutUsApi
942
958
  */
943
- AboutUsApi.prototype.apiV1AboutusAboutUsIdPut = function (aboutUsId, updateAboutUsPageCommand, options) {
959
+ AboutUsApi.prototype.apiV1AboutusHospitalIdGet = function (hospitalId, languageCode, returnDefaultValue, options) {
944
960
  var _this = this;
945
- return exports.AboutUsApiFp(this.configuration).apiV1AboutusAboutUsIdPut(aboutUsId, updateAboutUsPageCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
961
+ return exports.AboutUsApiFp(this.configuration).apiV1AboutusHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
946
962
  };
947
963
  /**
948
964
  *
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]
965
+ * @summary Update AboutUs.
966
+ * @param {string} hospitalId
967
+ * @param {UpdateAboutUsPageCommand} [updateAboutUsPageCommand]
966
968
  * @param {*} [options] Override http request option.
967
969
  * @throws {RequiredError}
968
970
  * @memberof AboutUsApi
969
971
  */
970
- AboutUsApi.prototype.apiV1AboutusGet = function (hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options) {
972
+ AboutUsApi.prototype.apiV1AboutusHospitalIdPut = function (hospitalId, updateAboutUsPageCommand, options) {
971
973
  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); });
974
+ return exports.AboutUsApiFp(this.configuration).apiV1AboutusHospitalIdPut(hospitalId, updateAboutUsPageCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
973
975
  };
974
976
  /**
975
977
  *
@@ -4310,6 +4312,49 @@ exports.BookingsApiAxiosParamCreator = function (configuration) {
4310
4312
  });
4311
4313
  });
4312
4314
  },
4315
+ /**
4316
+ *
4317
+ * @summary Mark as Paid booking.
4318
+ * @param {string} bookingId
4319
+ * @param {*} [options] Override http request option.
4320
+ * @throws {RequiredError}
4321
+ */
4322
+ apiV1BookingsBookingIdPaidPost: function (bookingId, options) {
4323
+ if (options === void 0) { options = {}; }
4324
+ return __awaiter(_this, void 0, void 0, function () {
4325
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
4326
+ return __generator(this, function (_a) {
4327
+ switch (_a.label) {
4328
+ case 0:
4329
+ // verify required parameter 'bookingId' is not null or undefined
4330
+ common_1.assertParamExists('apiV1BookingsBookingIdPaidPost', 'bookingId', bookingId);
4331
+ localVarPath = "/api/v1/bookings/{bookingId}/paid"
4332
+ .replace("{" + "bookingId" + "}", encodeURIComponent(String(bookingId)));
4333
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4334
+ if (configuration) {
4335
+ baseOptions = configuration.baseOptions;
4336
+ }
4337
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
4338
+ localVarHeaderParameter = {};
4339
+ localVarQueryParameter = {};
4340
+ // authentication oauth2 required
4341
+ // oauth required
4342
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
4343
+ case 1:
4344
+ // authentication oauth2 required
4345
+ // oauth required
4346
+ _a.sent();
4347
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
4348
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4349
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4350
+ return [2 /*return*/, {
4351
+ url: common_1.toPathString(localVarUrlObj),
4352
+ options: localVarRequestOptions,
4353
+ }];
4354
+ }
4355
+ });
4356
+ });
4357
+ },
4313
4358
  /**
4314
4359
  *
4315
4360
  * @summary Reject booking.
@@ -4366,13 +4411,14 @@ exports.BookingsApiAxiosParamCreator = function (configuration) {
4366
4411
  * @param {string} [dealPackageId]
4367
4412
  * @param {SortingOrder} [sortRequestDate]
4368
4413
  * @param {SortingOrder} [sortConfirmedDateStart]
4414
+ * @param {boolean} [isExternal]
4369
4415
  * @param {number} [page]
4370
4416
  * @param {number} [limit]
4371
4417
  * @param {Date} [lastRetrieved]
4372
4418
  * @param {*} [options] Override http request option.
4373
4419
  * @throws {RequiredError}
4374
4420
  */
4375
- apiV1BookingsGet: function (searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, page, limit, lastRetrieved, options) {
4421
+ apiV1BookingsGet: function (searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options) {
4376
4422
  if (options === void 0) { options = {}; }
4377
4423
  return __awaiter(_this, void 0, void 0, function () {
4378
4424
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -4415,6 +4461,9 @@ exports.BookingsApiAxiosParamCreator = function (configuration) {
4415
4461
  if (sortConfirmedDateStart !== undefined) {
4416
4462
  localVarQueryParameter['SortConfirmedDateStart'] = sortConfirmedDateStart;
4417
4463
  }
4464
+ if (isExternal !== undefined) {
4465
+ localVarQueryParameter['IsExternal'] = isExternal;
4466
+ }
4418
4467
  if (page !== undefined) {
4419
4468
  localVarQueryParameter['page'] = page;
4420
4469
  }
@@ -4527,6 +4576,26 @@ exports.BookingsApiFp = function (configuration) {
4527
4576
  });
4528
4577
  });
4529
4578
  },
4579
+ /**
4580
+ *
4581
+ * @summary Mark as Paid booking.
4582
+ * @param {string} bookingId
4583
+ * @param {*} [options] Override http request option.
4584
+ * @throws {RequiredError}
4585
+ */
4586
+ apiV1BookingsBookingIdPaidPost: function (bookingId, options) {
4587
+ return __awaiter(this, void 0, void 0, function () {
4588
+ var localVarAxiosArgs;
4589
+ return __generator(this, function (_a) {
4590
+ switch (_a.label) {
4591
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1BookingsBookingIdPaidPost(bookingId, options)];
4592
+ case 1:
4593
+ localVarAxiosArgs = _a.sent();
4594
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
4595
+ }
4596
+ });
4597
+ });
4598
+ },
4530
4599
  /**
4531
4600
  *
4532
4601
  * @summary Reject booking.
@@ -4558,18 +4627,19 @@ exports.BookingsApiFp = function (configuration) {
4558
4627
  * @param {string} [dealPackageId]
4559
4628
  * @param {SortingOrder} [sortRequestDate]
4560
4629
  * @param {SortingOrder} [sortConfirmedDateStart]
4630
+ * @param {boolean} [isExternal]
4561
4631
  * @param {number} [page]
4562
4632
  * @param {number} [limit]
4563
4633
  * @param {Date} [lastRetrieved]
4564
4634
  * @param {*} [options] Override http request option.
4565
4635
  * @throws {RequiredError}
4566
4636
  */
4567
- apiV1BookingsGet: function (searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, page, limit, lastRetrieved, options) {
4637
+ apiV1BookingsGet: function (searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options) {
4568
4638
  return __awaiter(this, void 0, void 0, function () {
4569
4639
  var localVarAxiosArgs;
4570
4640
  return __generator(this, function (_a) {
4571
4641
  switch (_a.label) {
4572
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, page, limit, lastRetrieved, options)];
4642
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options)];
4573
4643
  case 1:
4574
4644
  localVarAxiosArgs = _a.sent();
4575
4645
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -4627,6 +4697,16 @@ exports.BookingsApiFactory = function (configuration, basePath, axios) {
4627
4697
  apiV1BookingsBookingIdGet: function (bookingId, options) {
4628
4698
  return localVarFp.apiV1BookingsBookingIdGet(bookingId, options).then(function (request) { return request(axios, basePath); });
4629
4699
  },
4700
+ /**
4701
+ *
4702
+ * @summary Mark as Paid booking.
4703
+ * @param {string} bookingId
4704
+ * @param {*} [options] Override http request option.
4705
+ * @throws {RequiredError}
4706
+ */
4707
+ apiV1BookingsBookingIdPaidPost: function (bookingId, options) {
4708
+ return localVarFp.apiV1BookingsBookingIdPaidPost(bookingId, options).then(function (request) { return request(axios, basePath); });
4709
+ },
4630
4710
  /**
4631
4711
  *
4632
4712
  * @summary Reject booking.
@@ -4648,14 +4728,15 @@ exports.BookingsApiFactory = function (configuration, basePath, axios) {
4648
4728
  * @param {string} [dealPackageId]
4649
4729
  * @param {SortingOrder} [sortRequestDate]
4650
4730
  * @param {SortingOrder} [sortConfirmedDateStart]
4731
+ * @param {boolean} [isExternal]
4651
4732
  * @param {number} [page]
4652
4733
  * @param {number} [limit]
4653
4734
  * @param {Date} [lastRetrieved]
4654
4735
  * @param {*} [options] Override http request option.
4655
4736
  * @throws {RequiredError}
4656
4737
  */
4657
- apiV1BookingsGet: function (searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, page, limit, lastRetrieved, options) {
4658
- return localVarFp.apiV1BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
4738
+ apiV1BookingsGet: function (searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options) {
4739
+ return localVarFp.apiV1BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
4659
4740
  },
4660
4741
  };
4661
4742
  };
@@ -4719,6 +4800,18 @@ var BookingsApi = /** @class */ (function (_super) {
4719
4800
  var _this = this;
4720
4801
  return exports.BookingsApiFp(this.configuration).apiV1BookingsBookingIdGet(bookingId, options).then(function (request) { return request(_this.axios, _this.basePath); });
4721
4802
  };
4803
+ /**
4804
+ *
4805
+ * @summary Mark as Paid booking.
4806
+ * @param {string} bookingId
4807
+ * @param {*} [options] Override http request option.
4808
+ * @throws {RequiredError}
4809
+ * @memberof BookingsApi
4810
+ */
4811
+ BookingsApi.prototype.apiV1BookingsBookingIdPaidPost = function (bookingId, options) {
4812
+ var _this = this;
4813
+ return exports.BookingsApiFp(this.configuration).apiV1BookingsBookingIdPaidPost(bookingId, options).then(function (request) { return request(_this.axios, _this.basePath); });
4814
+ };
4722
4815
  /**
4723
4816
  *
4724
4817
  * @summary Reject booking.
@@ -4742,6 +4835,7 @@ var BookingsApi = /** @class */ (function (_super) {
4742
4835
  * @param {string} [dealPackageId]
4743
4836
  * @param {SortingOrder} [sortRequestDate]
4744
4837
  * @param {SortingOrder} [sortConfirmedDateStart]
4838
+ * @param {boolean} [isExternal]
4745
4839
  * @param {number} [page]
4746
4840
  * @param {number} [limit]
4747
4841
  * @param {Date} [lastRetrieved]
@@ -4749,9 +4843,9 @@ var BookingsApi = /** @class */ (function (_super) {
4749
4843
  * @throws {RequiredError}
4750
4844
  * @memberof BookingsApi
4751
4845
  */
4752
- BookingsApi.prototype.apiV1BookingsGet = function (searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, page, limit, lastRetrieved, options) {
4846
+ BookingsApi.prototype.apiV1BookingsGet = function (searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options) {
4753
4847
  var _this = this;
4754
- 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); });
4848
+ return exports.BookingsApiFp(this.configuration).apiV1BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
4755
4849
  };
4756
4850
  return BookingsApi;
4757
4851
  }(base_1.BaseAPI));
@@ -6866,6 +6960,49 @@ exports.ConsultationsApiAxiosParamCreator = function (configuration) {
6866
6960
  });
6867
6961
  });
6868
6962
  },
6963
+ /**
6964
+ *
6965
+ * @summary Mark as Paid booking.
6966
+ * @param {string} consultationId
6967
+ * @param {*} [options] Override http request option.
6968
+ * @throws {RequiredError}
6969
+ */
6970
+ apiV1ConsultationsConsultationIdPaidPost: function (consultationId, options) {
6971
+ if (options === void 0) { options = {}; }
6972
+ return __awaiter(_this, void 0, void 0, function () {
6973
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
6974
+ return __generator(this, function (_a) {
6975
+ switch (_a.label) {
6976
+ case 0:
6977
+ // verify required parameter 'consultationId' is not null or undefined
6978
+ common_1.assertParamExists('apiV1ConsultationsConsultationIdPaidPost', 'consultationId', consultationId);
6979
+ localVarPath = "/api/v1/consultations/{consultationId}/paid"
6980
+ .replace("{" + "consultationId" + "}", encodeURIComponent(String(consultationId)));
6981
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6982
+ if (configuration) {
6983
+ baseOptions = configuration.baseOptions;
6984
+ }
6985
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
6986
+ localVarHeaderParameter = {};
6987
+ localVarQueryParameter = {};
6988
+ // authentication oauth2 required
6989
+ // oauth required
6990
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
6991
+ case 1:
6992
+ // authentication oauth2 required
6993
+ // oauth required
6994
+ _a.sent();
6995
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
6996
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6997
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6998
+ return [2 /*return*/, {
6999
+ url: common_1.toPathString(localVarUrlObj),
7000
+ options: localVarRequestOptions,
7001
+ }];
7002
+ }
7003
+ });
7004
+ });
7005
+ },
6869
7006
  /**
6870
7007
  *
6871
7008
  * @summary Reject consultation.
@@ -6922,13 +7059,14 @@ exports.ConsultationsApiAxiosParamCreator = function (configuration) {
6922
7059
  * @param {ConsultationType} [consultationType]
6923
7060
  * @param {SortingOrder} [sortRequestDate]
6924
7061
  * @param {SortingOrder} [sortConfirmedDateStart]
7062
+ * @param {boolean} [isExternal]
6925
7063
  * @param {number} [page]
6926
7064
  * @param {number} [limit]
6927
7065
  * @param {Date} [lastRetrieved]
6928
7066
  * @param {*} [options] Override http request option.
6929
7067
  * @throws {RequiredError}
6930
7068
  */
6931
- apiV1ConsultationsGet: function (searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, page, limit, lastRetrieved, options) {
7069
+ apiV1ConsultationsGet: function (searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options) {
6932
7070
  if (options === void 0) { options = {}; }
6933
7071
  return __awaiter(_this, void 0, void 0, function () {
6934
7072
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -6971,6 +7109,9 @@ exports.ConsultationsApiAxiosParamCreator = function (configuration) {
6971
7109
  if (sortConfirmedDateStart !== undefined) {
6972
7110
  localVarQueryParameter['SortConfirmedDateStart'] = sortConfirmedDateStart;
6973
7111
  }
7112
+ if (isExternal !== undefined) {
7113
+ localVarQueryParameter['IsExternal'] = isExternal;
7114
+ }
6974
7115
  if (page !== undefined) {
6975
7116
  localVarQueryParameter['page'] = page;
6976
7117
  }
@@ -7050,12 +7191,32 @@ exports.ConsultationsApiFp = function (configuration) {
7050
7191
  * @param {*} [options] Override http request option.
7051
7192
  * @throws {RequiredError}
7052
7193
  */
7053
- apiV1ConsultationsConsultationIdDelete: function (consultationId, options) {
7194
+ apiV1ConsultationsConsultationIdDelete: function (consultationId, options) {
7195
+ return __awaiter(this, void 0, void 0, function () {
7196
+ var localVarAxiosArgs;
7197
+ return __generator(this, function (_a) {
7198
+ switch (_a.label) {
7199
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ConsultationsConsultationIdDelete(consultationId, options)];
7200
+ case 1:
7201
+ localVarAxiosArgs = _a.sent();
7202
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
7203
+ }
7204
+ });
7205
+ });
7206
+ },
7207
+ /**
7208
+ *
7209
+ * @summary Get consultation.
7210
+ * @param {string} consultationId
7211
+ * @param {*} [options] Override http request option.
7212
+ * @throws {RequiredError}
7213
+ */
7214
+ apiV1ConsultationsConsultationIdGet: function (consultationId, options) {
7054
7215
  return __awaiter(this, void 0, void 0, function () {
7055
7216
  var localVarAxiosArgs;
7056
7217
  return __generator(this, function (_a) {
7057
7218
  switch (_a.label) {
7058
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ConsultationsConsultationIdDelete(consultationId, options)];
7219
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ConsultationsConsultationIdGet(consultationId, options)];
7059
7220
  case 1:
7060
7221
  localVarAxiosArgs = _a.sent();
7061
7222
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -7065,17 +7226,17 @@ exports.ConsultationsApiFp = function (configuration) {
7065
7226
  },
7066
7227
  /**
7067
7228
  *
7068
- * @summary Get consultation.
7229
+ * @summary Mark as Paid booking.
7069
7230
  * @param {string} consultationId
7070
7231
  * @param {*} [options] Override http request option.
7071
7232
  * @throws {RequiredError}
7072
7233
  */
7073
- apiV1ConsultationsConsultationIdGet: function (consultationId, options) {
7234
+ apiV1ConsultationsConsultationIdPaidPost: function (consultationId, options) {
7074
7235
  return __awaiter(this, void 0, void 0, function () {
7075
7236
  var localVarAxiosArgs;
7076
7237
  return __generator(this, function (_a) {
7077
7238
  switch (_a.label) {
7078
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ConsultationsConsultationIdGet(consultationId, options)];
7239
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ConsultationsConsultationIdPaidPost(consultationId, options)];
7079
7240
  case 1:
7080
7241
  localVarAxiosArgs = _a.sent();
7081
7242
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -7114,18 +7275,19 @@ exports.ConsultationsApiFp = function (configuration) {
7114
7275
  * @param {ConsultationType} [consultationType]
7115
7276
  * @param {SortingOrder} [sortRequestDate]
7116
7277
  * @param {SortingOrder} [sortConfirmedDateStart]
7278
+ * @param {boolean} [isExternal]
7117
7279
  * @param {number} [page]
7118
7280
  * @param {number} [limit]
7119
7281
  * @param {Date} [lastRetrieved]
7120
7282
  * @param {*} [options] Override http request option.
7121
7283
  * @throws {RequiredError}
7122
7284
  */
7123
- apiV1ConsultationsGet: function (searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, page, limit, lastRetrieved, options) {
7285
+ apiV1ConsultationsGet: function (searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options) {
7124
7286
  return __awaiter(this, void 0, void 0, function () {
7125
7287
  var localVarAxiosArgs;
7126
7288
  return __generator(this, function (_a) {
7127
7289
  switch (_a.label) {
7128
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, page, limit, lastRetrieved, options)];
7290
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options)];
7129
7291
  case 1:
7130
7292
  localVarAxiosArgs = _a.sent();
7131
7293
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -7183,6 +7345,16 @@ exports.ConsultationsApiFactory = function (configuration, basePath, axios) {
7183
7345
  apiV1ConsultationsConsultationIdGet: function (consultationId, options) {
7184
7346
  return localVarFp.apiV1ConsultationsConsultationIdGet(consultationId, options).then(function (request) { return request(axios, basePath); });
7185
7347
  },
7348
+ /**
7349
+ *
7350
+ * @summary Mark as Paid booking.
7351
+ * @param {string} consultationId
7352
+ * @param {*} [options] Override http request option.
7353
+ * @throws {RequiredError}
7354
+ */
7355
+ apiV1ConsultationsConsultationIdPaidPost: function (consultationId, options) {
7356
+ return localVarFp.apiV1ConsultationsConsultationIdPaidPost(consultationId, options).then(function (request) { return request(axios, basePath); });
7357
+ },
7186
7358
  /**
7187
7359
  *
7188
7360
  * @summary Reject consultation.
@@ -7204,14 +7376,15 @@ exports.ConsultationsApiFactory = function (configuration, basePath, axios) {
7204
7376
  * @param {ConsultationType} [consultationType]
7205
7377
  * @param {SortingOrder} [sortRequestDate]
7206
7378
  * @param {SortingOrder} [sortConfirmedDateStart]
7379
+ * @param {boolean} [isExternal]
7207
7380
  * @param {number} [page]
7208
7381
  * @param {number} [limit]
7209
7382
  * @param {Date} [lastRetrieved]
7210
7383
  * @param {*} [options] Override http request option.
7211
7384
  * @throws {RequiredError}
7212
7385
  */
7213
- apiV1ConsultationsGet: function (searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, page, limit, lastRetrieved, options) {
7214
- return localVarFp.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
7386
+ apiV1ConsultationsGet: function (searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options) {
7387
+ return localVarFp.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
7215
7388
  },
7216
7389
  };
7217
7390
  };
@@ -7275,6 +7448,18 @@ var ConsultationsApi = /** @class */ (function (_super) {
7275
7448
  var _this = this;
7276
7449
  return exports.ConsultationsApiFp(this.configuration).apiV1ConsultationsConsultationIdGet(consultationId, options).then(function (request) { return request(_this.axios, _this.basePath); });
7277
7450
  };
7451
+ /**
7452
+ *
7453
+ * @summary Mark as Paid booking.
7454
+ * @param {string} consultationId
7455
+ * @param {*} [options] Override http request option.
7456
+ * @throws {RequiredError}
7457
+ * @memberof ConsultationsApi
7458
+ */
7459
+ ConsultationsApi.prototype.apiV1ConsultationsConsultationIdPaidPost = function (consultationId, options) {
7460
+ var _this = this;
7461
+ return exports.ConsultationsApiFp(this.configuration).apiV1ConsultationsConsultationIdPaidPost(consultationId, options).then(function (request) { return request(_this.axios, _this.basePath); });
7462
+ };
7278
7463
  /**
7279
7464
  *
7280
7465
  * @summary Reject consultation.
@@ -7298,6 +7483,7 @@ var ConsultationsApi = /** @class */ (function (_super) {
7298
7483
  * @param {ConsultationType} [consultationType]
7299
7484
  * @param {SortingOrder} [sortRequestDate]
7300
7485
  * @param {SortingOrder} [sortConfirmedDateStart]
7486
+ * @param {boolean} [isExternal]
7301
7487
  * @param {number} [page]
7302
7488
  * @param {number} [limit]
7303
7489
  * @param {Date} [lastRetrieved]
@@ -7305,9 +7491,9 @@ var ConsultationsApi = /** @class */ (function (_super) {
7305
7491
  * @throws {RequiredError}
7306
7492
  * @memberof ConsultationsApi
7307
7493
  */
7308
- ConsultationsApi.prototype.apiV1ConsultationsGet = function (searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, page, limit, lastRetrieved, options) {
7494
+ ConsultationsApi.prototype.apiV1ConsultationsGet = function (searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options) {
7309
7495
  var _this = this;
7310
- 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); });
7496
+ return exports.ConsultationsApiFp(this.configuration).apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
7311
7497
  };
7312
7498
  return ConsultationsApi;
7313
7499
  }(base_1.BaseAPI));
@@ -18023,13 +18209,14 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
18023
18209
  * @param {string} [languageCode]
18024
18210
  * @param {Array<string>} [ids]
18025
18211
  * @param {boolean} [returnDefaultValue]
18212
+ * @param {boolean} [paymentEnabled]
18026
18213
  * @param {number} [page]
18027
18214
  * @param {number} [limit]
18028
18215
  * @param {Date} [lastRetrieved]
18029
18216
  * @param {*} [options] Override http request option.
18030
18217
  * @throws {RequiredError}
18031
18218
  */
18032
- apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
18219
+ apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
18033
18220
  if (options === void 0) { options = {}; }
18034
18221
  return __awaiter(_this, void 0, void 0, function () {
18035
18222
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -18092,6 +18279,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
18092
18279
  if (returnDefaultValue !== undefined) {
18093
18280
  localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
18094
18281
  }
18282
+ if (paymentEnabled !== undefined) {
18283
+ localVarQueryParameter['PaymentEnabled'] = paymentEnabled;
18284
+ }
18095
18285
  if (page !== undefined) {
18096
18286
  localVarQueryParameter['page'] = page;
18097
18287
  }
@@ -19225,6 +19415,269 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
19225
19415
  });
19226
19416
  });
19227
19417
  },
19418
+ /**
19419
+ *
19420
+ * @summary Get all HospitalHandles.
19421
+ * @param {string} hospitalId
19422
+ * @param {string} [hospitalId2]
19423
+ * @param {string} [id]
19424
+ * @param {SnsType} [snsType]
19425
+ * @param {string} [handle]
19426
+ * @param {number} [page]
19427
+ * @param {number} [limit]
19428
+ * @param {Date} [lastRetrieved]
19429
+ * @param {*} [options] Override http request option.
19430
+ * @throws {RequiredError}
19431
+ */
19432
+ apiV1HospitalsHospitalIdHandlesGet: function (hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options) {
19433
+ if (options === void 0) { options = {}; }
19434
+ return __awaiter(_this, void 0, void 0, function () {
19435
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
19436
+ return __generator(this, function (_a) {
19437
+ switch (_a.label) {
19438
+ case 0:
19439
+ // verify required parameter 'hospitalId' is not null or undefined
19440
+ common_1.assertParamExists('apiV1HospitalsHospitalIdHandlesGet', 'hospitalId', hospitalId);
19441
+ localVarPath = "/api/v1/hospitals/{hospitalId}/handles"
19442
+ .replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)));
19443
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
19444
+ if (configuration) {
19445
+ baseOptions = configuration.baseOptions;
19446
+ }
19447
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
19448
+ localVarHeaderParameter = {};
19449
+ localVarQueryParameter = {};
19450
+ // authentication oauth2 required
19451
+ // oauth required
19452
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
19453
+ case 1:
19454
+ // authentication oauth2 required
19455
+ // oauth required
19456
+ _a.sent();
19457
+ if (hospitalId2 !== undefined) {
19458
+ localVarQueryParameter['HospitalId'] = hospitalId2;
19459
+ }
19460
+ if (id !== undefined) {
19461
+ localVarQueryParameter['Id'] = id;
19462
+ }
19463
+ if (snsType !== undefined) {
19464
+ localVarQueryParameter['SnsType'] = snsType;
19465
+ }
19466
+ if (handle !== undefined) {
19467
+ localVarQueryParameter['Handle'] = handle;
19468
+ }
19469
+ if (page !== undefined) {
19470
+ localVarQueryParameter['page'] = page;
19471
+ }
19472
+ if (limit !== undefined) {
19473
+ localVarQueryParameter['limit'] = limit;
19474
+ }
19475
+ if (lastRetrieved !== undefined) {
19476
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
19477
+ lastRetrieved.toISOString() :
19478
+ lastRetrieved;
19479
+ }
19480
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
19481
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19482
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
19483
+ return [2 /*return*/, {
19484
+ url: common_1.toPathString(localVarUrlObj),
19485
+ options: localVarRequestOptions,
19486
+ }];
19487
+ }
19488
+ });
19489
+ });
19490
+ },
19491
+ /**
19492
+ *
19493
+ * @summary Delete HospitalHandle.
19494
+ * @param {string} hospitalId
19495
+ * @param {string} handleId
19496
+ * @param {*} [options] Override http request option.
19497
+ * @throws {RequiredError}
19498
+ */
19499
+ apiV1HospitalsHospitalIdHandlesHandleIdDelete: function (hospitalId, handleId, options) {
19500
+ if (options === void 0) { options = {}; }
19501
+ return __awaiter(_this, void 0, void 0, function () {
19502
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
19503
+ return __generator(this, function (_a) {
19504
+ switch (_a.label) {
19505
+ case 0:
19506
+ // verify required parameter 'hospitalId' is not null or undefined
19507
+ common_1.assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdDelete', 'hospitalId', hospitalId);
19508
+ // verify required parameter 'handleId' is not null or undefined
19509
+ common_1.assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdDelete', 'handleId', handleId);
19510
+ localVarPath = "/api/v1/hospitals/{hospitalId}/handles/{handleId}"
19511
+ .replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
19512
+ .replace("{" + "handleId" + "}", encodeURIComponent(String(handleId)));
19513
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
19514
+ if (configuration) {
19515
+ baseOptions = configuration.baseOptions;
19516
+ }
19517
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
19518
+ localVarHeaderParameter = {};
19519
+ localVarQueryParameter = {};
19520
+ // authentication oauth2 required
19521
+ // oauth required
19522
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
19523
+ case 1:
19524
+ // authentication oauth2 required
19525
+ // oauth required
19526
+ _a.sent();
19527
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
19528
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19529
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
19530
+ return [2 /*return*/, {
19531
+ url: common_1.toPathString(localVarUrlObj),
19532
+ options: localVarRequestOptions,
19533
+ }];
19534
+ }
19535
+ });
19536
+ });
19537
+ },
19538
+ /**
19539
+ *
19540
+ * @summary Get HospitalHandle.
19541
+ * @param {string} hospitalId
19542
+ * @param {string} handleId
19543
+ * @param {*} [options] Override http request option.
19544
+ * @throws {RequiredError}
19545
+ */
19546
+ apiV1HospitalsHospitalIdHandlesHandleIdGet: function (hospitalId, handleId, options) {
19547
+ if (options === void 0) { options = {}; }
19548
+ return __awaiter(_this, void 0, void 0, function () {
19549
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
19550
+ return __generator(this, function (_a) {
19551
+ switch (_a.label) {
19552
+ case 0:
19553
+ // verify required parameter 'hospitalId' is not null or undefined
19554
+ common_1.assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdGet', 'hospitalId', hospitalId);
19555
+ // verify required parameter 'handleId' is not null or undefined
19556
+ common_1.assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdGet', 'handleId', handleId);
19557
+ localVarPath = "/api/v1/hospitals/{hospitalId}/handles/{handleId}"
19558
+ .replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
19559
+ .replace("{" + "handleId" + "}", encodeURIComponent(String(handleId)));
19560
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
19561
+ if (configuration) {
19562
+ baseOptions = configuration.baseOptions;
19563
+ }
19564
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
19565
+ localVarHeaderParameter = {};
19566
+ localVarQueryParameter = {};
19567
+ // authentication oauth2 required
19568
+ // oauth required
19569
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
19570
+ case 1:
19571
+ // authentication oauth2 required
19572
+ // oauth required
19573
+ _a.sent();
19574
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
19575
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19576
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
19577
+ return [2 /*return*/, {
19578
+ url: common_1.toPathString(localVarUrlObj),
19579
+ options: localVarRequestOptions,
19580
+ }];
19581
+ }
19582
+ });
19583
+ });
19584
+ },
19585
+ /**
19586
+ *
19587
+ * @summary Update HospitalHandle.
19588
+ * @param {string} hospitalId
19589
+ * @param {string} handleId
19590
+ * @param {UpdateHospitalSnsHandleCommand} [updateHospitalSnsHandleCommand]
19591
+ * @param {*} [options] Override http request option.
19592
+ * @throws {RequiredError}
19593
+ */
19594
+ apiV1HospitalsHospitalIdHandlesHandleIdPut: function (hospitalId, handleId, updateHospitalSnsHandleCommand, options) {
19595
+ if (options === void 0) { options = {}; }
19596
+ return __awaiter(_this, void 0, void 0, function () {
19597
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
19598
+ return __generator(this, function (_a) {
19599
+ switch (_a.label) {
19600
+ case 0:
19601
+ // verify required parameter 'hospitalId' is not null or undefined
19602
+ common_1.assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdPut', 'hospitalId', hospitalId);
19603
+ // verify required parameter 'handleId' is not null or undefined
19604
+ common_1.assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdPut', 'handleId', handleId);
19605
+ localVarPath = "/api/v1/hospitals/{hospitalId}/handles/{handleId}"
19606
+ .replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
19607
+ .replace("{" + "handleId" + "}", encodeURIComponent(String(handleId)));
19608
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
19609
+ if (configuration) {
19610
+ baseOptions = configuration.baseOptions;
19611
+ }
19612
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
19613
+ localVarHeaderParameter = {};
19614
+ localVarQueryParameter = {};
19615
+ // authentication oauth2 required
19616
+ // oauth required
19617
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
19618
+ case 1:
19619
+ // authentication oauth2 required
19620
+ // oauth required
19621
+ _a.sent();
19622
+ localVarHeaderParameter['Content-Type'] = 'application/json';
19623
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
19624
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19625
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
19626
+ localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateHospitalSnsHandleCommand, localVarRequestOptions, configuration);
19627
+ return [2 /*return*/, {
19628
+ url: common_1.toPathString(localVarUrlObj),
19629
+ options: localVarRequestOptions,
19630
+ }];
19631
+ }
19632
+ });
19633
+ });
19634
+ },
19635
+ /**
19636
+ *
19637
+ * @summary Get HospitalHandle.
19638
+ * @param {string} hospitalId
19639
+ * @param {CreateHospitalSnsHandleCommand} [createHospitalSnsHandleCommand]
19640
+ * @param {*} [options] Override http request option.
19641
+ * @throws {RequiredError}
19642
+ */
19643
+ apiV1HospitalsHospitalIdHandlesPost: function (hospitalId, createHospitalSnsHandleCommand, options) {
19644
+ if (options === void 0) { options = {}; }
19645
+ return __awaiter(_this, void 0, void 0, function () {
19646
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
19647
+ return __generator(this, function (_a) {
19648
+ switch (_a.label) {
19649
+ case 0:
19650
+ // verify required parameter 'hospitalId' is not null or undefined
19651
+ common_1.assertParamExists('apiV1HospitalsHospitalIdHandlesPost', 'hospitalId', hospitalId);
19652
+ localVarPath = "/api/v1/hospitals/{hospitalId}/handles"
19653
+ .replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)));
19654
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
19655
+ if (configuration) {
19656
+ baseOptions = configuration.baseOptions;
19657
+ }
19658
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
19659
+ localVarHeaderParameter = {};
19660
+ localVarQueryParameter = {};
19661
+ // authentication oauth2 required
19662
+ // oauth required
19663
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
19664
+ case 1:
19665
+ // authentication oauth2 required
19666
+ // oauth required
19667
+ _a.sent();
19668
+ localVarHeaderParameter['Content-Type'] = 'application/json';
19669
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
19670
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19671
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
19672
+ localVarRequestOptions.data = common_1.serializeDataIfNeeded(createHospitalSnsHandleCommand, localVarRequestOptions, configuration);
19673
+ return [2 /*return*/, {
19674
+ url: common_1.toPathString(localVarUrlObj),
19675
+ options: localVarRequestOptions,
19676
+ }];
19677
+ }
19678
+ });
19679
+ });
19680
+ },
19228
19681
  /**
19229
19682
  *
19230
19683
  * @summary Get all HospitalMedias.
@@ -20426,14 +20879,302 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
20426
20879
  common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut', 'mediaId', mediaId);
20427
20880
  localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/medias/{mediaId}"
20428
20881
  .replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
20429
- .replace("{" + "specialtyId" + "}", encodeURIComponent(String(specialtyId)))
20430
- .replace("{" + "serviceId" + "}", encodeURIComponent(String(serviceId)))
20431
- .replace("{" + "mediaId" + "}", encodeURIComponent(String(mediaId)));
20882
+ .replace("{" + "specialtyId" + "}", encodeURIComponent(String(specialtyId)))
20883
+ .replace("{" + "serviceId" + "}", encodeURIComponent(String(serviceId)))
20884
+ .replace("{" + "mediaId" + "}", encodeURIComponent(String(mediaId)));
20885
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20886
+ if (configuration) {
20887
+ baseOptions = configuration.baseOptions;
20888
+ }
20889
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
20890
+ localVarHeaderParameter = {};
20891
+ localVarQueryParameter = {};
20892
+ // authentication oauth2 required
20893
+ // oauth required
20894
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
20895
+ case 1:
20896
+ // authentication oauth2 required
20897
+ // oauth required
20898
+ _a.sent();
20899
+ localVarHeaderParameter['Content-Type'] = 'application/json';
20900
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
20901
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20902
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
20903
+ localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateMediaCommand, localVarRequestOptions, configuration);
20904
+ return [2 /*return*/, {
20905
+ url: common_1.toPathString(localVarUrlObj),
20906
+ options: localVarRequestOptions,
20907
+ }];
20908
+ }
20909
+ });
20910
+ });
20911
+ },
20912
+ /**
20913
+ *
20914
+ * @summary Create HospitalServiceMedia.
20915
+ * @param {string} hospitalId
20916
+ * @param {string} specialtyId
20917
+ * @param {string} serviceId
20918
+ * @param {CreateMediaCommand} [createMediaCommand]
20919
+ * @param {*} [options] Override http request option.
20920
+ * @throws {RequiredError}
20921
+ */
20922
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost: function (hospitalId, specialtyId, serviceId, createMediaCommand, options) {
20923
+ if (options === void 0) { options = {}; }
20924
+ return __awaiter(_this, void 0, void 0, function () {
20925
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
20926
+ return __generator(this, function (_a) {
20927
+ switch (_a.label) {
20928
+ case 0:
20929
+ // verify required parameter 'hospitalId' is not null or undefined
20930
+ common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost', 'hospitalId', hospitalId);
20931
+ // verify required parameter 'specialtyId' is not null or undefined
20932
+ common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost', 'specialtyId', specialtyId);
20933
+ // verify required parameter 'serviceId' is not null or undefined
20934
+ common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost', 'serviceId', serviceId);
20935
+ localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/medias"
20936
+ .replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
20937
+ .replace("{" + "specialtyId" + "}", encodeURIComponent(String(specialtyId)))
20938
+ .replace("{" + "serviceId" + "}", encodeURIComponent(String(serviceId)));
20939
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20940
+ if (configuration) {
20941
+ baseOptions = configuration.baseOptions;
20942
+ }
20943
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
20944
+ localVarHeaderParameter = {};
20945
+ localVarQueryParameter = {};
20946
+ // authentication oauth2 required
20947
+ // oauth required
20948
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
20949
+ case 1:
20950
+ // authentication oauth2 required
20951
+ // oauth required
20952
+ _a.sent();
20953
+ localVarHeaderParameter['Content-Type'] = 'application/json';
20954
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
20955
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20956
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
20957
+ localVarRequestOptions.data = common_1.serializeDataIfNeeded(createMediaCommand, localVarRequestOptions, configuration);
20958
+ return [2 /*return*/, {
20959
+ url: common_1.toPathString(localVarUrlObj),
20960
+ options: localVarRequestOptions,
20961
+ }];
20962
+ }
20963
+ });
20964
+ });
20965
+ },
20966
+ /**
20967
+ *
20968
+ * @summary Update HospitalService.
20969
+ * @param {string} hospitalId
20970
+ * @param {string} specialtyId
20971
+ * @param {string} serviceId
20972
+ * @param {UpdateHospitalServiceCommand} [updateHospitalServiceCommand]
20973
+ * @param {*} [options] Override http request option.
20974
+ * @throws {RequiredError}
20975
+ */
20976
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut: function (hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options) {
20977
+ if (options === void 0) { options = {}; }
20978
+ return __awaiter(_this, void 0, void 0, function () {
20979
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
20980
+ return __generator(this, function (_a) {
20981
+ switch (_a.label) {
20982
+ case 0:
20983
+ // verify required parameter 'hospitalId' is not null or undefined
20984
+ common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut', 'hospitalId', hospitalId);
20985
+ // verify required parameter 'specialtyId' is not null or undefined
20986
+ common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut', 'specialtyId', specialtyId);
20987
+ // verify required parameter 'serviceId' is not null or undefined
20988
+ common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut', 'serviceId', serviceId);
20989
+ localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}"
20990
+ .replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
20991
+ .replace("{" + "specialtyId" + "}", encodeURIComponent(String(specialtyId)))
20992
+ .replace("{" + "serviceId" + "}", encodeURIComponent(String(serviceId)));
20993
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20994
+ if (configuration) {
20995
+ baseOptions = configuration.baseOptions;
20996
+ }
20997
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
20998
+ localVarHeaderParameter = {};
20999
+ localVarQueryParameter = {};
21000
+ // authentication oauth2 required
21001
+ // oauth required
21002
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
21003
+ case 1:
21004
+ // authentication oauth2 required
21005
+ // oauth required
21006
+ _a.sent();
21007
+ localVarHeaderParameter['Content-Type'] = 'application/json';
21008
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
21009
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
21010
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
21011
+ localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateHospitalServiceCommand, localVarRequestOptions, configuration);
21012
+ return [2 /*return*/, {
21013
+ url: common_1.toPathString(localVarUrlObj),
21014
+ options: localVarRequestOptions,
21015
+ }];
21016
+ }
21017
+ });
21018
+ });
21019
+ },
21020
+ /**
21021
+ *
21022
+ * @summary Get all HospitalWorkingDays.
21023
+ * @param {string} hospitalId
21024
+ * @param {string} [hospitalId2]
21025
+ * @param {string} [id]
21026
+ * @param {string} [dayOfWeek]
21027
+ * @param {Date} [timeFrom]
21028
+ * @param {Date} [timeTo]
21029
+ * @param {boolean} [checkHoliday]
21030
+ * @param {number} [page]
21031
+ * @param {number} [limit]
21032
+ * @param {Date} [lastRetrieved]
21033
+ * @param {*} [options] Override http request option.
21034
+ * @throws {RequiredError}
21035
+ */
21036
+ apiV1HospitalsHospitalIdWorkingdaysGet: function (hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options) {
21037
+ if (options === void 0) { options = {}; }
21038
+ return __awaiter(_this, void 0, void 0, function () {
21039
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
21040
+ return __generator(this, function (_a) {
21041
+ switch (_a.label) {
21042
+ case 0:
21043
+ // verify required parameter 'hospitalId' is not null or undefined
21044
+ common_1.assertParamExists('apiV1HospitalsHospitalIdWorkingdaysGet', 'hospitalId', hospitalId);
21045
+ localVarPath = "/api/v1/hospitals/{hospitalId}/workingdays"
21046
+ .replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)));
21047
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
21048
+ if (configuration) {
21049
+ baseOptions = configuration.baseOptions;
21050
+ }
21051
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
21052
+ localVarHeaderParameter = {};
21053
+ localVarQueryParameter = {};
21054
+ // authentication oauth2 required
21055
+ // oauth required
21056
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
21057
+ case 1:
21058
+ // authentication oauth2 required
21059
+ // oauth required
21060
+ _a.sent();
21061
+ if (hospitalId2 !== undefined) {
21062
+ localVarQueryParameter['HospitalId'] = hospitalId2;
21063
+ }
21064
+ if (id !== undefined) {
21065
+ localVarQueryParameter['Id'] = id;
21066
+ }
21067
+ if (dayOfWeek !== undefined) {
21068
+ localVarQueryParameter['DayOfWeek'] = dayOfWeek;
21069
+ }
21070
+ if (timeFrom !== undefined) {
21071
+ localVarQueryParameter['TimeFrom'] = (timeFrom instanceof Date) ?
21072
+ timeFrom.toISOString() :
21073
+ timeFrom;
21074
+ }
21075
+ if (timeTo !== undefined) {
21076
+ localVarQueryParameter['TimeTo'] = (timeTo instanceof Date) ?
21077
+ timeTo.toISOString() :
21078
+ timeTo;
21079
+ }
21080
+ if (checkHoliday !== undefined) {
21081
+ localVarQueryParameter['CheckHoliday'] = checkHoliday;
21082
+ }
21083
+ if (page !== undefined) {
21084
+ localVarQueryParameter['page'] = page;
21085
+ }
21086
+ if (limit !== undefined) {
21087
+ localVarQueryParameter['limit'] = limit;
21088
+ }
21089
+ if (lastRetrieved !== undefined) {
21090
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
21091
+ lastRetrieved.toISOString() :
21092
+ lastRetrieved;
21093
+ }
21094
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
21095
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
21096
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
21097
+ return [2 /*return*/, {
21098
+ url: common_1.toPathString(localVarUrlObj),
21099
+ options: localVarRequestOptions,
21100
+ }];
21101
+ }
21102
+ });
21103
+ });
21104
+ },
21105
+ /**
21106
+ *
21107
+ * @summary Create HospitalWorkingDay.
21108
+ * @param {string} hospitalId
21109
+ * @param {CreateHospitalWorkingDayCommand} [createHospitalWorkingDayCommand]
21110
+ * @param {*} [options] Override http request option.
21111
+ * @throws {RequiredError}
21112
+ */
21113
+ apiV1HospitalsHospitalIdWorkingdaysPost: function (hospitalId, createHospitalWorkingDayCommand, options) {
21114
+ if (options === void 0) { options = {}; }
21115
+ return __awaiter(_this, void 0, void 0, function () {
21116
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
21117
+ return __generator(this, function (_a) {
21118
+ switch (_a.label) {
21119
+ case 0:
21120
+ // verify required parameter 'hospitalId' is not null or undefined
21121
+ common_1.assertParamExists('apiV1HospitalsHospitalIdWorkingdaysPost', 'hospitalId', hospitalId);
21122
+ localVarPath = "/api/v1/hospitals/{hospitalId}/workingdays"
21123
+ .replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)));
21124
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
21125
+ if (configuration) {
21126
+ baseOptions = configuration.baseOptions;
21127
+ }
21128
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
21129
+ localVarHeaderParameter = {};
21130
+ localVarQueryParameter = {};
21131
+ // authentication oauth2 required
21132
+ // oauth required
21133
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
21134
+ case 1:
21135
+ // authentication oauth2 required
21136
+ // oauth required
21137
+ _a.sent();
21138
+ localVarHeaderParameter['Content-Type'] = 'application/json';
21139
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
21140
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
21141
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
21142
+ localVarRequestOptions.data = common_1.serializeDataIfNeeded(createHospitalWorkingDayCommand, localVarRequestOptions, configuration);
21143
+ return [2 /*return*/, {
21144
+ url: common_1.toPathString(localVarUrlObj),
21145
+ options: localVarRequestOptions,
21146
+ }];
21147
+ }
21148
+ });
21149
+ });
21150
+ },
21151
+ /**
21152
+ *
21153
+ * @summary Delete HospitalWorkingDay.
21154
+ * @param {string} hospitalId
21155
+ * @param {string} workingDayId
21156
+ * @param {*} [options] Override http request option.
21157
+ * @throws {RequiredError}
21158
+ */
21159
+ apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete: function (hospitalId, workingDayId, options) {
21160
+ if (options === void 0) { options = {}; }
21161
+ return __awaiter(_this, void 0, void 0, function () {
21162
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
21163
+ return __generator(this, function (_a) {
21164
+ switch (_a.label) {
21165
+ case 0:
21166
+ // verify required parameter 'hospitalId' is not null or undefined
21167
+ common_1.assertParamExists('apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete', 'hospitalId', hospitalId);
21168
+ // verify required parameter 'workingDayId' is not null or undefined
21169
+ common_1.assertParamExists('apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete', 'workingDayId', workingDayId);
21170
+ localVarPath = "/api/v1/hospitals/{hospitalId}/workingdays/{workingDayId}"
21171
+ .replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
21172
+ .replace("{" + "workingDayId" + "}", encodeURIComponent(String(workingDayId)));
20432
21173
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20433
21174
  if (configuration) {
20434
21175
  baseOptions = configuration.baseOptions;
20435
21176
  }
20436
- localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
21177
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
20437
21178
  localVarHeaderParameter = {};
20438
21179
  localVarQueryParameter = {};
20439
21180
  // authentication oauth2 required
@@ -20443,11 +21184,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
20443
21184
  // authentication oauth2 required
20444
21185
  // oauth required
20445
21186
  _a.sent();
20446
- localVarHeaderParameter['Content-Type'] = 'application/json';
20447
21187
  common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
20448
21188
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20449
21189
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
20450
- localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateMediaCommand, localVarRequestOptions, configuration);
20451
21190
  return [2 /*return*/, {
20452
21191
  url: common_1.toPathString(localVarUrlObj),
20453
21192
  options: localVarRequestOptions,
@@ -20458,15 +21197,13 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
20458
21197
  },
20459
21198
  /**
20460
21199
  *
20461
- * @summary Create HospitalServiceMedia.
21200
+ * @summary Get HospitalWorkingDay.
20462
21201
  * @param {string} hospitalId
20463
- * @param {string} specialtyId
20464
- * @param {string} serviceId
20465
- * @param {CreateMediaCommand} [createMediaCommand]
21202
+ * @param {string} workingDayId
20466
21203
  * @param {*} [options] Override http request option.
20467
21204
  * @throws {RequiredError}
20468
21205
  */
20469
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost: function (hospitalId, specialtyId, serviceId, createMediaCommand, options) {
21206
+ apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet: function (hospitalId, workingDayId, options) {
20470
21207
  if (options === void 0) { options = {}; }
20471
21208
  return __awaiter(_this, void 0, void 0, function () {
20472
21209
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -20474,20 +21211,17 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
20474
21211
  switch (_a.label) {
20475
21212
  case 0:
20476
21213
  // verify required parameter 'hospitalId' is not null or undefined
20477
- common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost', 'hospitalId', hospitalId);
20478
- // verify required parameter 'specialtyId' is not null or undefined
20479
- common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost', 'specialtyId', specialtyId);
20480
- // verify required parameter 'serviceId' is not null or undefined
20481
- common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost', 'serviceId', serviceId);
20482
- localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/medias"
21214
+ common_1.assertParamExists('apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet', 'hospitalId', hospitalId);
21215
+ // verify required parameter 'workingDayId' is not null or undefined
21216
+ common_1.assertParamExists('apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet', 'workingDayId', workingDayId);
21217
+ localVarPath = "/api/v1/hospitals/{hospitalId}/workingdays/{workingDayId}"
20483
21218
  .replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
20484
- .replace("{" + "specialtyId" + "}", encodeURIComponent(String(specialtyId)))
20485
- .replace("{" + "serviceId" + "}", encodeURIComponent(String(serviceId)));
21219
+ .replace("{" + "workingDayId" + "}", encodeURIComponent(String(workingDayId)));
20486
21220
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20487
21221
  if (configuration) {
20488
21222
  baseOptions = configuration.baseOptions;
20489
21223
  }
20490
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
21224
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
20491
21225
  localVarHeaderParameter = {};
20492
21226
  localVarQueryParameter = {};
20493
21227
  // authentication oauth2 required
@@ -20497,11 +21231,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
20497
21231
  // authentication oauth2 required
20498
21232
  // oauth required
20499
21233
  _a.sent();
20500
- localVarHeaderParameter['Content-Type'] = 'application/json';
20501
21234
  common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
20502
21235
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20503
21236
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
20504
- localVarRequestOptions.data = common_1.serializeDataIfNeeded(createMediaCommand, localVarRequestOptions, configuration);
20505
21237
  return [2 /*return*/, {
20506
21238
  url: common_1.toPathString(localVarUrlObj),
20507
21239
  options: localVarRequestOptions,
@@ -20512,15 +21244,14 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
20512
21244
  },
20513
21245
  /**
20514
21246
  *
20515
- * @summary Update HospitalService.
21247
+ * @summary Update HospitalWorkingDay.
20516
21248
  * @param {string} hospitalId
20517
- * @param {string} specialtyId
20518
- * @param {string} serviceId
20519
- * @param {UpdateHospitalServiceCommand} [updateHospitalServiceCommand]
21249
+ * @param {string} workingDayId
21250
+ * @param {UpdateHospitalWorkingDayCommand} [updateHospitalWorkingDayCommand]
20520
21251
  * @param {*} [options] Override http request option.
20521
21252
  * @throws {RequiredError}
20522
21253
  */
20523
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut: function (hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options) {
21254
+ apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut: function (hospitalId, workingDayId, updateHospitalWorkingDayCommand, options) {
20524
21255
  if (options === void 0) { options = {}; }
20525
21256
  return __awaiter(_this, void 0, void 0, function () {
20526
21257
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -20528,15 +21259,12 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
20528
21259
  switch (_a.label) {
20529
21260
  case 0:
20530
21261
  // verify required parameter 'hospitalId' is not null or undefined
20531
- common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut', 'hospitalId', hospitalId);
20532
- // verify required parameter 'specialtyId' is not null or undefined
20533
- common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut', 'specialtyId', specialtyId);
20534
- // verify required parameter 'serviceId' is not null or undefined
20535
- common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut', 'serviceId', serviceId);
20536
- localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}"
21262
+ common_1.assertParamExists('apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut', 'hospitalId', hospitalId);
21263
+ // verify required parameter 'workingDayId' is not null or undefined
21264
+ common_1.assertParamExists('apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut', 'workingDayId', workingDayId);
21265
+ localVarPath = "/api/v1/hospitals/{hospitalId}/workingdays/{workingDayId}"
20537
21266
  .replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
20538
- .replace("{" + "specialtyId" + "}", encodeURIComponent(String(specialtyId)))
20539
- .replace("{" + "serviceId" + "}", encodeURIComponent(String(serviceId)));
21267
+ .replace("{" + "workingDayId" + "}", encodeURIComponent(String(workingDayId)));
20540
21268
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20541
21269
  if (configuration) {
20542
21270
  baseOptions = configuration.baseOptions;
@@ -20555,7 +21283,7 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
20555
21283
  common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
20556
21284
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20557
21285
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
20558
- localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateHospitalServiceCommand, localVarRequestOptions, configuration);
21286
+ localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateHospitalWorkingDayCommand, localVarRequestOptions, configuration);
20559
21287
  return [2 /*return*/, {
20560
21288
  url: common_1.toPathString(localVarUrlObj),
20561
21289
  options: localVarRequestOptions,
@@ -20622,13 +21350,14 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
20622
21350
  * @param {string} [languageCode]
20623
21351
  * @param {Array<string>} [ids]
20624
21352
  * @param {boolean} [returnDefaultValue]
21353
+ * @param {boolean} [paymentEnabled]
20625
21354
  * @param {number} [page]
20626
21355
  * @param {number} [limit]
20627
21356
  * @param {Date} [lastRetrieved]
20628
21357
  * @param {*} [options] Override http request option.
20629
21358
  * @throws {RequiredError}
20630
21359
  */
20631
- apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
21360
+ apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
20632
21361
  if (options === void 0) { options = {}; }
20633
21362
  return __awaiter(_this, void 0, void 0, function () {
20634
21363
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -20691,6 +21420,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
20691
21420
  if (returnDefaultValue !== undefined) {
20692
21421
  localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
20693
21422
  }
21423
+ if (paymentEnabled !== undefined) {
21424
+ localVarQueryParameter['PaymentEnabled'] = paymentEnabled;
21425
+ }
20694
21426
  if (page !== undefined) {
20695
21427
  localVarQueryParameter['page'] = page;
20696
21428
  }
@@ -20788,18 +21520,19 @@ exports.HospitalsApiFp = function (configuration) {
20788
21520
  * @param {string} [languageCode]
20789
21521
  * @param {Array<string>} [ids]
20790
21522
  * @param {boolean} [returnDefaultValue]
21523
+ * @param {boolean} [paymentEnabled]
20791
21524
  * @param {number} [page]
20792
21525
  * @param {number} [limit]
20793
21526
  * @param {Date} [lastRetrieved]
20794
21527
  * @param {*} [options] Override http request option.
20795
21528
  * @throws {RequiredError}
20796
21529
  */
20797
- apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
21530
+ apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
20798
21531
  return __awaiter(this, void 0, void 0, function () {
20799
21532
  var localVarAxiosArgs;
20800
21533
  return __generator(this, function (_a) {
20801
21534
  switch (_a.label) {
20802
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
21535
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options)];
20803
21536
  case 1:
20804
21537
  localVarAxiosArgs = _a.sent();
20805
21538
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -21278,6 +22011,118 @@ exports.HospitalsApiFp = function (configuration) {
21278
22011
  });
21279
22012
  });
21280
22013
  },
22014
+ /**
22015
+ *
22016
+ * @summary Get all HospitalHandles.
22017
+ * @param {string} hospitalId
22018
+ * @param {string} [hospitalId2]
22019
+ * @param {string} [id]
22020
+ * @param {SnsType} [snsType]
22021
+ * @param {string} [handle]
22022
+ * @param {number} [page]
22023
+ * @param {number} [limit]
22024
+ * @param {Date} [lastRetrieved]
22025
+ * @param {*} [options] Override http request option.
22026
+ * @throws {RequiredError}
22027
+ */
22028
+ apiV1HospitalsHospitalIdHandlesGet: function (hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options) {
22029
+ return __awaiter(this, void 0, void 0, function () {
22030
+ var localVarAxiosArgs;
22031
+ return __generator(this, function (_a) {
22032
+ switch (_a.label) {
22033
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdHandlesGet(hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options)];
22034
+ case 1:
22035
+ localVarAxiosArgs = _a.sent();
22036
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
22037
+ }
22038
+ });
22039
+ });
22040
+ },
22041
+ /**
22042
+ *
22043
+ * @summary Delete HospitalHandle.
22044
+ * @param {string} hospitalId
22045
+ * @param {string} handleId
22046
+ * @param {*} [options] Override http request option.
22047
+ * @throws {RequiredError}
22048
+ */
22049
+ apiV1HospitalsHospitalIdHandlesHandleIdDelete: function (hospitalId, handleId, options) {
22050
+ return __awaiter(this, void 0, void 0, function () {
22051
+ var localVarAxiosArgs;
22052
+ return __generator(this, function (_a) {
22053
+ switch (_a.label) {
22054
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdHandlesHandleIdDelete(hospitalId, handleId, options)];
22055
+ case 1:
22056
+ localVarAxiosArgs = _a.sent();
22057
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
22058
+ }
22059
+ });
22060
+ });
22061
+ },
22062
+ /**
22063
+ *
22064
+ * @summary Get HospitalHandle.
22065
+ * @param {string} hospitalId
22066
+ * @param {string} handleId
22067
+ * @param {*} [options] Override http request option.
22068
+ * @throws {RequiredError}
22069
+ */
22070
+ apiV1HospitalsHospitalIdHandlesHandleIdGet: function (hospitalId, handleId, options) {
22071
+ return __awaiter(this, void 0, void 0, function () {
22072
+ var localVarAxiosArgs;
22073
+ return __generator(this, function (_a) {
22074
+ switch (_a.label) {
22075
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdHandlesHandleIdGet(hospitalId, handleId, options)];
22076
+ case 1:
22077
+ localVarAxiosArgs = _a.sent();
22078
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
22079
+ }
22080
+ });
22081
+ });
22082
+ },
22083
+ /**
22084
+ *
22085
+ * @summary Update HospitalHandle.
22086
+ * @param {string} hospitalId
22087
+ * @param {string} handleId
22088
+ * @param {UpdateHospitalSnsHandleCommand} [updateHospitalSnsHandleCommand]
22089
+ * @param {*} [options] Override http request option.
22090
+ * @throws {RequiredError}
22091
+ */
22092
+ apiV1HospitalsHospitalIdHandlesHandleIdPut: function (hospitalId, handleId, updateHospitalSnsHandleCommand, options) {
22093
+ return __awaiter(this, void 0, void 0, function () {
22094
+ var localVarAxiosArgs;
22095
+ return __generator(this, function (_a) {
22096
+ switch (_a.label) {
22097
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdHandlesHandleIdPut(hospitalId, handleId, updateHospitalSnsHandleCommand, options)];
22098
+ case 1:
22099
+ localVarAxiosArgs = _a.sent();
22100
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
22101
+ }
22102
+ });
22103
+ });
22104
+ },
22105
+ /**
22106
+ *
22107
+ * @summary Get HospitalHandle.
22108
+ * @param {string} hospitalId
22109
+ * @param {CreateHospitalSnsHandleCommand} [createHospitalSnsHandleCommand]
22110
+ * @param {*} [options] Override http request option.
22111
+ * @throws {RequiredError}
22112
+ */
22113
+ apiV1HospitalsHospitalIdHandlesPost: function (hospitalId, createHospitalSnsHandleCommand, options) {
22114
+ return __awaiter(this, void 0, void 0, function () {
22115
+ var localVarAxiosArgs;
22116
+ return __generator(this, function (_a) {
22117
+ switch (_a.label) {
22118
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdHandlesPost(hospitalId, createHospitalSnsHandleCommand, options)];
22119
+ case 1:
22120
+ localVarAxiosArgs = _a.sent();
22121
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
22122
+ }
22123
+ });
22124
+ });
22125
+ },
21281
22126
  /**
21282
22127
  *
21283
22128
  * @summary Get all HospitalMedias.
@@ -21619,7 +22464,124 @@ exports.HospitalsApiFp = function (configuration) {
21619
22464
  var localVarAxiosArgs;
21620
22465
  return __generator(this, function (_a) {
21621
22466
  switch (_a.label) {
21622
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost(hospitalId, specialtyId, createHospitalServiceCommand, options)];
22467
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost(hospitalId, specialtyId, createHospitalServiceCommand, options)];
22468
+ case 1:
22469
+ localVarAxiosArgs = _a.sent();
22470
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
22471
+ }
22472
+ });
22473
+ });
22474
+ },
22475
+ /**
22476
+ *
22477
+ * @param {string} hospitalId
22478
+ * @param {string} specialtyId
22479
+ * @param {string} serviceId
22480
+ * @param {*} [options] Override http request option.
22481
+ * @throws {RequiredError}
22482
+ */
22483
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete: function (hospitalId, specialtyId, serviceId, options) {
22484
+ return __awaiter(this, void 0, void 0, function () {
22485
+ var localVarAxiosArgs;
22486
+ return __generator(this, function (_a) {
22487
+ switch (_a.label) {
22488
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete(hospitalId, specialtyId, serviceId, options)];
22489
+ case 1:
22490
+ localVarAxiosArgs = _a.sent();
22491
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
22492
+ }
22493
+ });
22494
+ });
22495
+ },
22496
+ /**
22497
+ *
22498
+ * @param {string} hospitalId
22499
+ * @param {string} specialtyId
22500
+ * @param {string} serviceId
22501
+ * @param {string} [languageCode]
22502
+ * @param {boolean} [returnDefaultValue]
22503
+ * @param {*} [options] Override http request option.
22504
+ * @throws {RequiredError}
22505
+ */
22506
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet: function (hospitalId, specialtyId, serviceId, languageCode, returnDefaultValue, options) {
22507
+ return __awaiter(this, void 0, void 0, function () {
22508
+ var localVarAxiosArgs;
22509
+ return __generator(this, function (_a) {
22510
+ switch (_a.label) {
22511
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, returnDefaultValue, options)];
22512
+ case 1:
22513
+ localVarAxiosArgs = _a.sent();
22514
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
22515
+ }
22516
+ });
22517
+ });
22518
+ },
22519
+ /**
22520
+ *
22521
+ * @summary Get all HospitalServiceMedias.
22522
+ * @param {string} hospitalId
22523
+ * @param {string} specialtyId
22524
+ * @param {string} serviceId
22525
+ * @param {string} [id]
22526
+ * @param {MediaType} [mediaType]
22527
+ * @param {number} [page]
22528
+ * @param {number} [limit]
22529
+ * @param {Date} [lastRetrieved]
22530
+ * @param {*} [options] Override http request option.
22531
+ * @throws {RequiredError}
22532
+ */
22533
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet: function (hospitalId, specialtyId, serviceId, id, mediaType, page, limit, lastRetrieved, options) {
22534
+ return __awaiter(this, void 0, void 0, function () {
22535
+ var localVarAxiosArgs;
22536
+ return __generator(this, function (_a) {
22537
+ switch (_a.label) {
22538
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet(hospitalId, specialtyId, serviceId, id, mediaType, page, limit, lastRetrieved, options)];
22539
+ case 1:
22540
+ localVarAxiosArgs = _a.sent();
22541
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
22542
+ }
22543
+ });
22544
+ });
22545
+ },
22546
+ /**
22547
+ *
22548
+ * @summary Delete HospitalServiceMedia
22549
+ * @param {string} hospitalId
22550
+ * @param {string} specialtyId
22551
+ * @param {string} serviceId
22552
+ * @param {string} mediaId
22553
+ * @param {*} [options] Override http request option.
22554
+ * @throws {RequiredError}
22555
+ */
22556
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete: function (hospitalId, specialtyId, serviceId, mediaId, options) {
22557
+ return __awaiter(this, void 0, void 0, function () {
22558
+ var localVarAxiosArgs;
22559
+ return __generator(this, function (_a) {
22560
+ switch (_a.label) {
22561
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete(hospitalId, specialtyId, serviceId, mediaId, options)];
22562
+ case 1:
22563
+ localVarAxiosArgs = _a.sent();
22564
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
22565
+ }
22566
+ });
22567
+ });
22568
+ },
22569
+ /**
22570
+ *
22571
+ * @summary Get HospitalServiceMedia.
22572
+ * @param {string} hospitalId
22573
+ * @param {string} specialtyId
22574
+ * @param {string} serviceId
22575
+ * @param {string} mediaId
22576
+ * @param {*} [options] Override http request option.
22577
+ * @throws {RequiredError}
22578
+ */
22579
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet: function (hospitalId, specialtyId, serviceId, mediaId, options) {
22580
+ return __awaiter(this, void 0, void 0, function () {
22581
+ var localVarAxiosArgs;
22582
+ return __generator(this, function (_a) {
22583
+ switch (_a.label) {
22584
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet(hospitalId, specialtyId, serviceId, mediaId, options)];
21623
22585
  case 1:
21624
22586
  localVarAxiosArgs = _a.sent();
21625
22587
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -21629,18 +22591,21 @@ exports.HospitalsApiFp = function (configuration) {
21629
22591
  },
21630
22592
  /**
21631
22593
  *
22594
+ * @summary Update HospitalServiceMedia.
21632
22595
  * @param {string} hospitalId
21633
22596
  * @param {string} specialtyId
21634
22597
  * @param {string} serviceId
22598
+ * @param {string} mediaId
22599
+ * @param {UpdateMediaCommand} [updateMediaCommand]
21635
22600
  * @param {*} [options] Override http request option.
21636
22601
  * @throws {RequiredError}
21637
22602
  */
21638
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete: function (hospitalId, specialtyId, serviceId, options) {
22603
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut: function (hospitalId, specialtyId, serviceId, mediaId, updateMediaCommand, options) {
21639
22604
  return __awaiter(this, void 0, void 0, function () {
21640
22605
  var localVarAxiosArgs;
21641
22606
  return __generator(this, function (_a) {
21642
22607
  switch (_a.label) {
21643
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete(hospitalId, specialtyId, serviceId, options)];
22608
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut(hospitalId, specialtyId, serviceId, mediaId, updateMediaCommand, options)];
21644
22609
  case 1:
21645
22610
  localVarAxiosArgs = _a.sent();
21646
22611
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -21650,20 +22615,20 @@ exports.HospitalsApiFp = function (configuration) {
21650
22615
  },
21651
22616
  /**
21652
22617
  *
22618
+ * @summary Create HospitalServiceMedia.
21653
22619
  * @param {string} hospitalId
21654
22620
  * @param {string} specialtyId
21655
22621
  * @param {string} serviceId
21656
- * @param {string} [languageCode]
21657
- * @param {boolean} [returnDefaultValue]
22622
+ * @param {CreateMediaCommand} [createMediaCommand]
21658
22623
  * @param {*} [options] Override http request option.
21659
22624
  * @throws {RequiredError}
21660
22625
  */
21661
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet: function (hospitalId, specialtyId, serviceId, languageCode, returnDefaultValue, options) {
22626
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost: function (hospitalId, specialtyId, serviceId, createMediaCommand, options) {
21662
22627
  return __awaiter(this, void 0, void 0, function () {
21663
22628
  var localVarAxiosArgs;
21664
22629
  return __generator(this, function (_a) {
21665
22630
  switch (_a.label) {
21666
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, returnDefaultValue, options)];
22631
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost(hospitalId, specialtyId, serviceId, createMediaCommand, options)];
21667
22632
  case 1:
21668
22633
  localVarAxiosArgs = _a.sent();
21669
22634
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -21673,24 +22638,20 @@ exports.HospitalsApiFp = function (configuration) {
21673
22638
  },
21674
22639
  /**
21675
22640
  *
21676
- * @summary Get all HospitalServiceMedias.
22641
+ * @summary Update HospitalService.
21677
22642
  * @param {string} hospitalId
21678
22643
  * @param {string} specialtyId
21679
22644
  * @param {string} serviceId
21680
- * @param {string} [id]
21681
- * @param {MediaType} [mediaType]
21682
- * @param {number} [page]
21683
- * @param {number} [limit]
21684
- * @param {Date} [lastRetrieved]
22645
+ * @param {UpdateHospitalServiceCommand} [updateHospitalServiceCommand]
21685
22646
  * @param {*} [options] Override http request option.
21686
22647
  * @throws {RequiredError}
21687
22648
  */
21688
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet: function (hospitalId, specialtyId, serviceId, id, mediaType, page, limit, lastRetrieved, options) {
22649
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut: function (hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options) {
21689
22650
  return __awaiter(this, void 0, void 0, function () {
21690
22651
  var localVarAxiosArgs;
21691
22652
  return __generator(this, function (_a) {
21692
22653
  switch (_a.label) {
21693
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet(hospitalId, specialtyId, serviceId, id, mediaType, page, limit, lastRetrieved, options)];
22654
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options)];
21694
22655
  case 1:
21695
22656
  localVarAxiosArgs = _a.sent();
21696
22657
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -21700,20 +22661,26 @@ exports.HospitalsApiFp = function (configuration) {
21700
22661
  },
21701
22662
  /**
21702
22663
  *
21703
- * @summary Delete HospitalServiceMedia
22664
+ * @summary Get all HospitalWorkingDays.
21704
22665
  * @param {string} hospitalId
21705
- * @param {string} specialtyId
21706
- * @param {string} serviceId
21707
- * @param {string} mediaId
22666
+ * @param {string} [hospitalId2]
22667
+ * @param {string} [id]
22668
+ * @param {string} [dayOfWeek]
22669
+ * @param {Date} [timeFrom]
22670
+ * @param {Date} [timeTo]
22671
+ * @param {boolean} [checkHoliday]
22672
+ * @param {number} [page]
22673
+ * @param {number} [limit]
22674
+ * @param {Date} [lastRetrieved]
21708
22675
  * @param {*} [options] Override http request option.
21709
22676
  * @throws {RequiredError}
21710
22677
  */
21711
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete: function (hospitalId, specialtyId, serviceId, mediaId, options) {
22678
+ apiV1HospitalsHospitalIdWorkingdaysGet: function (hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options) {
21712
22679
  return __awaiter(this, void 0, void 0, function () {
21713
22680
  var localVarAxiosArgs;
21714
22681
  return __generator(this, function (_a) {
21715
22682
  switch (_a.label) {
21716
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete(hospitalId, specialtyId, serviceId, mediaId, options)];
22683
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options)];
21717
22684
  case 1:
21718
22685
  localVarAxiosArgs = _a.sent();
21719
22686
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -21723,20 +22690,18 @@ exports.HospitalsApiFp = function (configuration) {
21723
22690
  },
21724
22691
  /**
21725
22692
  *
21726
- * @summary Get HospitalServiceMedia.
22693
+ * @summary Create HospitalWorkingDay.
21727
22694
  * @param {string} hospitalId
21728
- * @param {string} specialtyId
21729
- * @param {string} serviceId
21730
- * @param {string} mediaId
22695
+ * @param {CreateHospitalWorkingDayCommand} [createHospitalWorkingDayCommand]
21731
22696
  * @param {*} [options] Override http request option.
21732
22697
  * @throws {RequiredError}
21733
22698
  */
21734
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet: function (hospitalId, specialtyId, serviceId, mediaId, options) {
22699
+ apiV1HospitalsHospitalIdWorkingdaysPost: function (hospitalId, createHospitalWorkingDayCommand, options) {
21735
22700
  return __awaiter(this, void 0, void 0, function () {
21736
22701
  var localVarAxiosArgs;
21737
22702
  return __generator(this, function (_a) {
21738
22703
  switch (_a.label) {
21739
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet(hospitalId, specialtyId, serviceId, mediaId, options)];
22704
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysPost(hospitalId, createHospitalWorkingDayCommand, options)];
21740
22705
  case 1:
21741
22706
  localVarAxiosArgs = _a.sent();
21742
22707
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -21746,21 +22711,18 @@ exports.HospitalsApiFp = function (configuration) {
21746
22711
  },
21747
22712
  /**
21748
22713
  *
21749
- * @summary Update HospitalServiceMedia.
22714
+ * @summary Delete HospitalWorkingDay.
21750
22715
  * @param {string} hospitalId
21751
- * @param {string} specialtyId
21752
- * @param {string} serviceId
21753
- * @param {string} mediaId
21754
- * @param {UpdateMediaCommand} [updateMediaCommand]
22716
+ * @param {string} workingDayId
21755
22717
  * @param {*} [options] Override http request option.
21756
22718
  * @throws {RequiredError}
21757
22719
  */
21758
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut: function (hospitalId, specialtyId, serviceId, mediaId, updateMediaCommand, options) {
22720
+ apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete: function (hospitalId, workingDayId, options) {
21759
22721
  return __awaiter(this, void 0, void 0, function () {
21760
22722
  var localVarAxiosArgs;
21761
22723
  return __generator(this, function (_a) {
21762
22724
  switch (_a.label) {
21763
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut(hospitalId, specialtyId, serviceId, mediaId, updateMediaCommand, options)];
22725
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete(hospitalId, workingDayId, options)];
21764
22726
  case 1:
21765
22727
  localVarAxiosArgs = _a.sent();
21766
22728
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -21770,20 +22732,18 @@ exports.HospitalsApiFp = function (configuration) {
21770
22732
  },
21771
22733
  /**
21772
22734
  *
21773
- * @summary Create HospitalServiceMedia.
22735
+ * @summary Get HospitalWorkingDay.
21774
22736
  * @param {string} hospitalId
21775
- * @param {string} specialtyId
21776
- * @param {string} serviceId
21777
- * @param {CreateMediaCommand} [createMediaCommand]
22737
+ * @param {string} workingDayId
21778
22738
  * @param {*} [options] Override http request option.
21779
22739
  * @throws {RequiredError}
21780
22740
  */
21781
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost: function (hospitalId, specialtyId, serviceId, createMediaCommand, options) {
22741
+ apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet: function (hospitalId, workingDayId, options) {
21782
22742
  return __awaiter(this, void 0, void 0, function () {
21783
22743
  var localVarAxiosArgs;
21784
22744
  return __generator(this, function (_a) {
21785
22745
  switch (_a.label) {
21786
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost(hospitalId, specialtyId, serviceId, createMediaCommand, options)];
22746
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet(hospitalId, workingDayId, options)];
21787
22747
  case 1:
21788
22748
  localVarAxiosArgs = _a.sent();
21789
22749
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -21793,20 +22753,19 @@ exports.HospitalsApiFp = function (configuration) {
21793
22753
  },
21794
22754
  /**
21795
22755
  *
21796
- * @summary Update HospitalService.
22756
+ * @summary Update HospitalWorkingDay.
21797
22757
  * @param {string} hospitalId
21798
- * @param {string} specialtyId
21799
- * @param {string} serviceId
21800
- * @param {UpdateHospitalServiceCommand} [updateHospitalServiceCommand]
22758
+ * @param {string} workingDayId
22759
+ * @param {UpdateHospitalWorkingDayCommand} [updateHospitalWorkingDayCommand]
21801
22760
  * @param {*} [options] Override http request option.
21802
22761
  * @throws {RequiredError}
21803
22762
  */
21804
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut: function (hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options) {
22763
+ apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut: function (hospitalId, workingDayId, updateHospitalWorkingDayCommand, options) {
21805
22764
  return __awaiter(this, void 0, void 0, function () {
21806
22765
  var localVarAxiosArgs;
21807
22766
  return __generator(this, function (_a) {
21808
22767
  switch (_a.label) {
21809
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options)];
22768
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut(hospitalId, workingDayId, updateHospitalWorkingDayCommand, options)];
21810
22769
  case 1:
21811
22770
  localVarAxiosArgs = _a.sent();
21812
22771
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -21850,18 +22809,19 @@ exports.HospitalsApiFp = function (configuration) {
21850
22809
  * @param {string} [languageCode]
21851
22810
  * @param {Array<string>} [ids]
21852
22811
  * @param {boolean} [returnDefaultValue]
22812
+ * @param {boolean} [paymentEnabled]
21853
22813
  * @param {number} [page]
21854
22814
  * @param {number} [limit]
21855
22815
  * @param {Date} [lastRetrieved]
21856
22816
  * @param {*} [options] Override http request option.
21857
22817
  * @throws {RequiredError}
21858
22818
  */
21859
- apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
22819
+ apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
21860
22820
  return __awaiter(this, void 0, void 0, function () {
21861
22821
  var localVarAxiosArgs;
21862
22822
  return __generator(this, function (_a) {
21863
22823
  switch (_a.label) {
21864
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
22824
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options)];
21865
22825
  case 1:
21866
22826
  localVarAxiosArgs = _a.sent();
21867
22827
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -21915,14 +22875,15 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
21915
22875
  * @param {string} [languageCode]
21916
22876
  * @param {Array<string>} [ids]
21917
22877
  * @param {boolean} [returnDefaultValue]
22878
+ * @param {boolean} [paymentEnabled]
21918
22879
  * @param {number} [page]
21919
22880
  * @param {number} [limit]
21920
22881
  * @param {Date} [lastRetrieved]
21921
22882
  * @param {*} [options] Override http request option.
21922
22883
  * @throws {RequiredError}
21923
22884
  */
21924
- apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
21925
- return localVarFp.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
22885
+ apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
22886
+ return localVarFp.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
21926
22887
  },
21927
22888
  /**
21928
22889
  *
@@ -22185,6 +23146,68 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
22185
23146
  apiV1HospitalsHospitalIdGet: function (hospitalId, languageCode, returnDefaultValue, options) {
22186
23147
  return localVarFp.apiV1HospitalsHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
22187
23148
  },
23149
+ /**
23150
+ *
23151
+ * @summary Get all HospitalHandles.
23152
+ * @param {string} hospitalId
23153
+ * @param {string} [hospitalId2]
23154
+ * @param {string} [id]
23155
+ * @param {SnsType} [snsType]
23156
+ * @param {string} [handle]
23157
+ * @param {number} [page]
23158
+ * @param {number} [limit]
23159
+ * @param {Date} [lastRetrieved]
23160
+ * @param {*} [options] Override http request option.
23161
+ * @throws {RequiredError}
23162
+ */
23163
+ apiV1HospitalsHospitalIdHandlesGet: function (hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options) {
23164
+ return localVarFp.apiV1HospitalsHospitalIdHandlesGet(hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
23165
+ },
23166
+ /**
23167
+ *
23168
+ * @summary Delete HospitalHandle.
23169
+ * @param {string} hospitalId
23170
+ * @param {string} handleId
23171
+ * @param {*} [options] Override http request option.
23172
+ * @throws {RequiredError}
23173
+ */
23174
+ apiV1HospitalsHospitalIdHandlesHandleIdDelete: function (hospitalId, handleId, options) {
23175
+ return localVarFp.apiV1HospitalsHospitalIdHandlesHandleIdDelete(hospitalId, handleId, options).then(function (request) { return request(axios, basePath); });
23176
+ },
23177
+ /**
23178
+ *
23179
+ * @summary Get HospitalHandle.
23180
+ * @param {string} hospitalId
23181
+ * @param {string} handleId
23182
+ * @param {*} [options] Override http request option.
23183
+ * @throws {RequiredError}
23184
+ */
23185
+ apiV1HospitalsHospitalIdHandlesHandleIdGet: function (hospitalId, handleId, options) {
23186
+ return localVarFp.apiV1HospitalsHospitalIdHandlesHandleIdGet(hospitalId, handleId, options).then(function (request) { return request(axios, basePath); });
23187
+ },
23188
+ /**
23189
+ *
23190
+ * @summary Update HospitalHandle.
23191
+ * @param {string} hospitalId
23192
+ * @param {string} handleId
23193
+ * @param {UpdateHospitalSnsHandleCommand} [updateHospitalSnsHandleCommand]
23194
+ * @param {*} [options] Override http request option.
23195
+ * @throws {RequiredError}
23196
+ */
23197
+ apiV1HospitalsHospitalIdHandlesHandleIdPut: function (hospitalId, handleId, updateHospitalSnsHandleCommand, options) {
23198
+ return localVarFp.apiV1HospitalsHospitalIdHandlesHandleIdPut(hospitalId, handleId, updateHospitalSnsHandleCommand, options).then(function (request) { return request(axios, basePath); });
23199
+ },
23200
+ /**
23201
+ *
23202
+ * @summary Get HospitalHandle.
23203
+ * @param {string} hospitalId
23204
+ * @param {CreateHospitalSnsHandleCommand} [createHospitalSnsHandleCommand]
23205
+ * @param {*} [options] Override http request option.
23206
+ * @throws {RequiredError}
23207
+ */
23208
+ apiV1HospitalsHospitalIdHandlesPost: function (hospitalId, createHospitalSnsHandleCommand, options) {
23209
+ return localVarFp.apiV1HospitalsHospitalIdHandlesPost(hospitalId, createHospitalSnsHandleCommand, options).then(function (request) { return request(axios, basePath); });
23210
+ },
22188
23211
  /**
22189
23212
  *
22190
23213
  * @summary Get all HospitalMedias.
@@ -22501,6 +23524,70 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
22501
23524
  apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut: function (hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options) {
22502
23525
  return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options).then(function (request) { return request(axios, basePath); });
22503
23526
  },
23527
+ /**
23528
+ *
23529
+ * @summary Get all HospitalWorkingDays.
23530
+ * @param {string} hospitalId
23531
+ * @param {string} [hospitalId2]
23532
+ * @param {string} [id]
23533
+ * @param {string} [dayOfWeek]
23534
+ * @param {Date} [timeFrom]
23535
+ * @param {Date} [timeTo]
23536
+ * @param {boolean} [checkHoliday]
23537
+ * @param {number} [page]
23538
+ * @param {number} [limit]
23539
+ * @param {Date} [lastRetrieved]
23540
+ * @param {*} [options] Override http request option.
23541
+ * @throws {RequiredError}
23542
+ */
23543
+ apiV1HospitalsHospitalIdWorkingdaysGet: function (hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options) {
23544
+ return localVarFp.apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
23545
+ },
23546
+ /**
23547
+ *
23548
+ * @summary Create HospitalWorkingDay.
23549
+ * @param {string} hospitalId
23550
+ * @param {CreateHospitalWorkingDayCommand} [createHospitalWorkingDayCommand]
23551
+ * @param {*} [options] Override http request option.
23552
+ * @throws {RequiredError}
23553
+ */
23554
+ apiV1HospitalsHospitalIdWorkingdaysPost: function (hospitalId, createHospitalWorkingDayCommand, options) {
23555
+ return localVarFp.apiV1HospitalsHospitalIdWorkingdaysPost(hospitalId, createHospitalWorkingDayCommand, options).then(function (request) { return request(axios, basePath); });
23556
+ },
23557
+ /**
23558
+ *
23559
+ * @summary Delete HospitalWorkingDay.
23560
+ * @param {string} hospitalId
23561
+ * @param {string} workingDayId
23562
+ * @param {*} [options] Override http request option.
23563
+ * @throws {RequiredError}
23564
+ */
23565
+ apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete: function (hospitalId, workingDayId, options) {
23566
+ return localVarFp.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete(hospitalId, workingDayId, options).then(function (request) { return request(axios, basePath); });
23567
+ },
23568
+ /**
23569
+ *
23570
+ * @summary Get HospitalWorkingDay.
23571
+ * @param {string} hospitalId
23572
+ * @param {string} workingDayId
23573
+ * @param {*} [options] Override http request option.
23574
+ * @throws {RequiredError}
23575
+ */
23576
+ apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet: function (hospitalId, workingDayId, options) {
23577
+ return localVarFp.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet(hospitalId, workingDayId, options).then(function (request) { return request(axios, basePath); });
23578
+ },
23579
+ /**
23580
+ *
23581
+ * @summary Update HospitalWorkingDay.
23582
+ * @param {string} hospitalId
23583
+ * @param {string} workingDayId
23584
+ * @param {UpdateHospitalWorkingDayCommand} [updateHospitalWorkingDayCommand]
23585
+ * @param {*} [options] Override http request option.
23586
+ * @throws {RequiredError}
23587
+ */
23588
+ apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut: function (hospitalId, workingDayId, updateHospitalWorkingDayCommand, options) {
23589
+ return localVarFp.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut(hospitalId, workingDayId, updateHospitalWorkingDayCommand, options).then(function (request) { return request(axios, basePath); });
23590
+ },
22504
23591
  /**
22505
23592
  *
22506
23593
  * @summary Create Hospital.
@@ -22527,14 +23614,15 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
22527
23614
  * @param {string} [languageCode]
22528
23615
  * @param {Array<string>} [ids]
22529
23616
  * @param {boolean} [returnDefaultValue]
23617
+ * @param {boolean} [paymentEnabled]
22530
23618
  * @param {number} [page]
22531
23619
  * @param {number} [limit]
22532
23620
  * @param {Date} [lastRetrieved]
22533
23621
  * @param {*} [options] Override http request option.
22534
23622
  * @throws {RequiredError}
22535
23623
  */
22536
- apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
22537
- return localVarFp.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
23624
+ apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
23625
+ return localVarFp.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
22538
23626
  },
22539
23627
  /**
22540
23628
  *
@@ -22576,6 +23664,7 @@ var HospitalsApi = /** @class */ (function (_super) {
22576
23664
  * @param {string} [languageCode]
22577
23665
  * @param {Array<string>} [ids]
22578
23666
  * @param {boolean} [returnDefaultValue]
23667
+ * @param {boolean} [paymentEnabled]
22579
23668
  * @param {number} [page]
22580
23669
  * @param {number} [limit]
22581
23670
  * @param {Date} [lastRetrieved]
@@ -22583,9 +23672,9 @@ var HospitalsApi = /** @class */ (function (_super) {
22583
23672
  * @throws {RequiredError}
22584
23673
  * @memberof HospitalsApi
22585
23674
  */
22586
- HospitalsApi.prototype.apiV1HospitalsGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
23675
+ HospitalsApi.prototype.apiV1HospitalsGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
22587
23676
  var _this = this;
22588
- return exports.HospitalsApiFp(this.configuration).apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
23677
+ return exports.HospitalsApiFp(this.configuration).apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
22589
23678
  };
22590
23679
  /**
22591
23680
  *
@@ -22890,6 +23979,78 @@ var HospitalsApi = /** @class */ (function (_super) {
22890
23979
  var _this = this;
22891
23980
  return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
22892
23981
  };
23982
+ /**
23983
+ *
23984
+ * @summary Get all HospitalHandles.
23985
+ * @param {string} hospitalId
23986
+ * @param {string} [hospitalId2]
23987
+ * @param {string} [id]
23988
+ * @param {SnsType} [snsType]
23989
+ * @param {string} [handle]
23990
+ * @param {number} [page]
23991
+ * @param {number} [limit]
23992
+ * @param {Date} [lastRetrieved]
23993
+ * @param {*} [options] Override http request option.
23994
+ * @throws {RequiredError}
23995
+ * @memberof HospitalsApi
23996
+ */
23997
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdHandlesGet = function (hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options) {
23998
+ var _this = this;
23999
+ return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdHandlesGet(hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
24000
+ };
24001
+ /**
24002
+ *
24003
+ * @summary Delete HospitalHandle.
24004
+ * @param {string} hospitalId
24005
+ * @param {string} handleId
24006
+ * @param {*} [options] Override http request option.
24007
+ * @throws {RequiredError}
24008
+ * @memberof HospitalsApi
24009
+ */
24010
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdHandlesHandleIdDelete = function (hospitalId, handleId, options) {
24011
+ var _this = this;
24012
+ return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdHandlesHandleIdDelete(hospitalId, handleId, options).then(function (request) { return request(_this.axios, _this.basePath); });
24013
+ };
24014
+ /**
24015
+ *
24016
+ * @summary Get HospitalHandle.
24017
+ * @param {string} hospitalId
24018
+ * @param {string} handleId
24019
+ * @param {*} [options] Override http request option.
24020
+ * @throws {RequiredError}
24021
+ * @memberof HospitalsApi
24022
+ */
24023
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdHandlesHandleIdGet = function (hospitalId, handleId, options) {
24024
+ var _this = this;
24025
+ return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdHandlesHandleIdGet(hospitalId, handleId, options).then(function (request) { return request(_this.axios, _this.basePath); });
24026
+ };
24027
+ /**
24028
+ *
24029
+ * @summary Update HospitalHandle.
24030
+ * @param {string} hospitalId
24031
+ * @param {string} handleId
24032
+ * @param {UpdateHospitalSnsHandleCommand} [updateHospitalSnsHandleCommand]
24033
+ * @param {*} [options] Override http request option.
24034
+ * @throws {RequiredError}
24035
+ * @memberof HospitalsApi
24036
+ */
24037
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdHandlesHandleIdPut = function (hospitalId, handleId, updateHospitalSnsHandleCommand, options) {
24038
+ var _this = this;
24039
+ return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdHandlesHandleIdPut(hospitalId, handleId, updateHospitalSnsHandleCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
24040
+ };
24041
+ /**
24042
+ *
24043
+ * @summary Get HospitalHandle.
24044
+ * @param {string} hospitalId
24045
+ * @param {CreateHospitalSnsHandleCommand} [createHospitalSnsHandleCommand]
24046
+ * @param {*} [options] Override http request option.
24047
+ * @throws {RequiredError}
24048
+ * @memberof HospitalsApi
24049
+ */
24050
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdHandlesPost = function (hospitalId, createHospitalSnsHandleCommand, options) {
24051
+ var _this = this;
24052
+ return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdHandlesPost(hospitalId, createHospitalSnsHandleCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
24053
+ };
22893
24054
  /**
22894
24055
  *
22895
24056
  * @summary Get all HospitalMedias.
@@ -23250,6 +24411,80 @@ var HospitalsApi = /** @class */ (function (_super) {
23250
24411
  var _this = this;
23251
24412
  return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
23252
24413
  };
24414
+ /**
24415
+ *
24416
+ * @summary Get all HospitalWorkingDays.
24417
+ * @param {string} hospitalId
24418
+ * @param {string} [hospitalId2]
24419
+ * @param {string} [id]
24420
+ * @param {string} [dayOfWeek]
24421
+ * @param {Date} [timeFrom]
24422
+ * @param {Date} [timeTo]
24423
+ * @param {boolean} [checkHoliday]
24424
+ * @param {number} [page]
24425
+ * @param {number} [limit]
24426
+ * @param {Date} [lastRetrieved]
24427
+ * @param {*} [options] Override http request option.
24428
+ * @throws {RequiredError}
24429
+ * @memberof HospitalsApi
24430
+ */
24431
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdWorkingdaysGet = function (hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options) {
24432
+ var _this = this;
24433
+ return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
24434
+ };
24435
+ /**
24436
+ *
24437
+ * @summary Create HospitalWorkingDay.
24438
+ * @param {string} hospitalId
24439
+ * @param {CreateHospitalWorkingDayCommand} [createHospitalWorkingDayCommand]
24440
+ * @param {*} [options] Override http request option.
24441
+ * @throws {RequiredError}
24442
+ * @memberof HospitalsApi
24443
+ */
24444
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdWorkingdaysPost = function (hospitalId, createHospitalWorkingDayCommand, options) {
24445
+ var _this = this;
24446
+ return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdWorkingdaysPost(hospitalId, createHospitalWorkingDayCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
24447
+ };
24448
+ /**
24449
+ *
24450
+ * @summary Delete HospitalWorkingDay.
24451
+ * @param {string} hospitalId
24452
+ * @param {string} workingDayId
24453
+ * @param {*} [options] Override http request option.
24454
+ * @throws {RequiredError}
24455
+ * @memberof HospitalsApi
24456
+ */
24457
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete = function (hospitalId, workingDayId, options) {
24458
+ var _this = this;
24459
+ return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete(hospitalId, workingDayId, options).then(function (request) { return request(_this.axios, _this.basePath); });
24460
+ };
24461
+ /**
24462
+ *
24463
+ * @summary Get HospitalWorkingDay.
24464
+ * @param {string} hospitalId
24465
+ * @param {string} workingDayId
24466
+ * @param {*} [options] Override http request option.
24467
+ * @throws {RequiredError}
24468
+ * @memberof HospitalsApi
24469
+ */
24470
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet = function (hospitalId, workingDayId, options) {
24471
+ var _this = this;
24472
+ return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet(hospitalId, workingDayId, options).then(function (request) { return request(_this.axios, _this.basePath); });
24473
+ };
24474
+ /**
24475
+ *
24476
+ * @summary Update HospitalWorkingDay.
24477
+ * @param {string} hospitalId
24478
+ * @param {string} workingDayId
24479
+ * @param {UpdateHospitalWorkingDayCommand} [updateHospitalWorkingDayCommand]
24480
+ * @param {*} [options] Override http request option.
24481
+ * @throws {RequiredError}
24482
+ * @memberof HospitalsApi
24483
+ */
24484
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut = function (hospitalId, workingDayId, updateHospitalWorkingDayCommand, options) {
24485
+ var _this = this;
24486
+ return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut(hospitalId, workingDayId, updateHospitalWorkingDayCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
24487
+ };
23253
24488
  /**
23254
24489
  *
23255
24490
  * @summary Create Hospital.
@@ -23278,6 +24513,7 @@ var HospitalsApi = /** @class */ (function (_super) {
23278
24513
  * @param {string} [languageCode]
23279
24514
  * @param {Array<string>} [ids]
23280
24515
  * @param {boolean} [returnDefaultValue]
24516
+ * @param {boolean} [paymentEnabled]
23281
24517
  * @param {number} [page]
23282
24518
  * @param {number} [limit]
23283
24519
  * @param {Date} [lastRetrieved]
@@ -23285,9 +24521,9 @@ var HospitalsApi = /** @class */ (function (_super) {
23285
24521
  * @throws {RequiredError}
23286
24522
  * @memberof HospitalsApi
23287
24523
  */
23288
- HospitalsApi.prototype.apiV1HospitalsSimpleGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
24524
+ HospitalsApi.prototype.apiV1HospitalsSimpleGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
23289
24525
  var _this = this;
23290
- return exports.HospitalsApiFp(this.configuration).apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
24526
+ return exports.HospitalsApiFp(this.configuration).apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
23291
24527
  };
23292
24528
  /**
23293
24529
  *