ch-admin-api-client-typescript 2.9.5 → 2.9.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api.d.ts +1012 -128
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +1543 -314
- package/package.json +1 -1
- package/src/api.ts +2554 -1100
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
|
|
325
|
-
* @param {string}
|
|
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
|
-
|
|
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
|
-
|
|
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: '
|
|
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
|
|
368
|
-
* @param {string}
|
|
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
|
-
|
|
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 '
|
|
382
|
-
common_1.assertParamExists('
|
|
383
|
-
localVarPath = "/api/v1/aboutus/{
|
|
384
|
-
.replace("{" + "
|
|
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: '
|
|
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
|
|
419
|
-
* @param {string}
|
|
420
|
-
* @param {
|
|
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
|
-
|
|
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 '
|
|
432
|
-
common_1.assertParamExists('
|
|
433
|
-
localVarPath = "/api/v1/aboutus/{
|
|
434
|
-
.replace("{" + "
|
|
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: '
|
|
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
|
-
|
|
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
|
|
465
|
-
* @param {string}
|
|
466
|
-
* @param {
|
|
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
|
-
|
|
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
|
-
|
|
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: '
|
|
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
|
-
|
|
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
|
|
671
|
-
* @param {string}
|
|
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
|
-
|
|
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.
|
|
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
|
|
691
|
-
* @param {string}
|
|
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
|
-
|
|
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.
|
|
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
|
|
713
|
-
* @param {string}
|
|
714
|
-
* @param {
|
|
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
|
-
|
|
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.
|
|
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
|
|
734
|
-
* @param {string}
|
|
735
|
-
* @param {
|
|
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
|
-
|
|
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.
|
|
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
|
|
911
|
-
* @param {string}
|
|
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.
|
|
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).
|
|
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
|
|
923
|
-
* @param {string}
|
|
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.
|
|
945
|
+
AboutUsApi.prototype.apiV1AboutusHospitalIdDelete = function (hospitalId, options) {
|
|
931
946
|
var _this = this;
|
|
932
|
-
return exports.AboutUsApiFp(this.configuration).
|
|
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
|
|
937
|
-
* @param {string}
|
|
938
|
-
* @param {
|
|
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.
|
|
959
|
+
AboutUsApi.prototype.apiV1AboutusHospitalIdGet = function (hospitalId, languageCode, returnDefaultValue, options) {
|
|
944
960
|
var _this = this;
|
|
945
|
-
return exports.AboutUsApiFp(this.configuration).
|
|
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
|
|
950
|
-
* @param {string}
|
|
951
|
-
* @param {
|
|
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.
|
|
972
|
+
AboutUsApi.prototype.apiV1AboutusHospitalIdPut = function (hospitalId, updateAboutUsPageCommand, options) {
|
|
971
973
|
var _this = this;
|
|
972
|
-
return exports.AboutUsApiFp(this.configuration).
|
|
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
|
*
|
|
@@ -2649,6 +2651,7 @@ exports.ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
2649
2651
|
* @param {string} [hospitalName]
|
|
2650
2652
|
* @param {string} [countryId]
|
|
2651
2653
|
* @param {string} [tag]
|
|
2654
|
+
* @param {string} [exceptArticleId]
|
|
2652
2655
|
* @param {string} [exceptHospitalId]
|
|
2653
2656
|
* @param {string} [contributorId]
|
|
2654
2657
|
* @param {string} [languageCode]
|
|
@@ -2660,7 +2663,7 @@ exports.ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
2660
2663
|
* @param {*} [options] Override http request option.
|
|
2661
2664
|
* @throws {RequiredError}
|
|
2662
2665
|
*/
|
|
2663
|
-
apiV1ArticlesGet: function (id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
2666
|
+
apiV1ArticlesGet: function (id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
2664
2667
|
if (options === void 0) { options = {}; }
|
|
2665
2668
|
return __awaiter(_this, void 0, void 0, function () {
|
|
2666
2669
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -2715,6 +2718,9 @@ exports.ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
2715
2718
|
if (tag !== undefined) {
|
|
2716
2719
|
localVarQueryParameter['Tag'] = tag;
|
|
2717
2720
|
}
|
|
2721
|
+
if (exceptArticleId !== undefined) {
|
|
2722
|
+
localVarQueryParameter['ExceptArticleId'] = exceptArticleId;
|
|
2723
|
+
}
|
|
2718
2724
|
if (exceptHospitalId !== undefined) {
|
|
2719
2725
|
localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
|
|
2720
2726
|
}
|
|
@@ -3352,6 +3358,7 @@ exports.ArticlesApiFp = function (configuration) {
|
|
|
3352
3358
|
* @param {string} [hospitalName]
|
|
3353
3359
|
* @param {string} [countryId]
|
|
3354
3360
|
* @param {string} [tag]
|
|
3361
|
+
* @param {string} [exceptArticleId]
|
|
3355
3362
|
* @param {string} [exceptHospitalId]
|
|
3356
3363
|
* @param {string} [contributorId]
|
|
3357
3364
|
* @param {string} [languageCode]
|
|
@@ -3363,12 +3370,12 @@ exports.ArticlesApiFp = function (configuration) {
|
|
|
3363
3370
|
* @param {*} [options] Override http request option.
|
|
3364
3371
|
* @throws {RequiredError}
|
|
3365
3372
|
*/
|
|
3366
|
-
apiV1ArticlesGet: function (id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
3373
|
+
apiV1ArticlesGet: function (id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
3367
3374
|
return __awaiter(this, void 0, void 0, function () {
|
|
3368
3375
|
var localVarAxiosArgs;
|
|
3369
3376
|
return __generator(this, function (_a) {
|
|
3370
3377
|
switch (_a.label) {
|
|
3371
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
3378
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
3372
3379
|
case 1:
|
|
3373
3380
|
localVarAxiosArgs = _a.sent();
|
|
3374
3381
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -3705,6 +3712,7 @@ exports.ArticlesApiFactory = function (configuration, basePath, axios) {
|
|
|
3705
3712
|
* @param {string} [hospitalName]
|
|
3706
3713
|
* @param {string} [countryId]
|
|
3707
3714
|
* @param {string} [tag]
|
|
3715
|
+
* @param {string} [exceptArticleId]
|
|
3708
3716
|
* @param {string} [exceptHospitalId]
|
|
3709
3717
|
* @param {string} [contributorId]
|
|
3710
3718
|
* @param {string} [languageCode]
|
|
@@ -3716,8 +3724,8 @@ exports.ArticlesApiFactory = function (configuration, basePath, axios) {
|
|
|
3716
3724
|
* @param {*} [options] Override http request option.
|
|
3717
3725
|
* @throws {RequiredError}
|
|
3718
3726
|
*/
|
|
3719
|
-
apiV1ArticlesGet: function (id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
3720
|
-
return localVarFp.apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
3727
|
+
apiV1ArticlesGet: function (id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
3728
|
+
return localVarFp.apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
3721
3729
|
},
|
|
3722
3730
|
/**
|
|
3723
3731
|
*
|
|
@@ -4076,6 +4084,7 @@ var ArticlesApi = /** @class */ (function (_super) {
|
|
|
4076
4084
|
* @param {string} [hospitalName]
|
|
4077
4085
|
* @param {string} [countryId]
|
|
4078
4086
|
* @param {string} [tag]
|
|
4087
|
+
* @param {string} [exceptArticleId]
|
|
4079
4088
|
* @param {string} [exceptHospitalId]
|
|
4080
4089
|
* @param {string} [contributorId]
|
|
4081
4090
|
* @param {string} [languageCode]
|
|
@@ -4088,9 +4097,9 @@ var ArticlesApi = /** @class */ (function (_super) {
|
|
|
4088
4097
|
* @throws {RequiredError}
|
|
4089
4098
|
* @memberof ArticlesApi
|
|
4090
4099
|
*/
|
|
4091
|
-
ArticlesApi.prototype.apiV1ArticlesGet = function (id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
4100
|
+
ArticlesApi.prototype.apiV1ArticlesGet = function (id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
4092
4101
|
var _this = this;
|
|
4093
|
-
return exports.ArticlesApiFp(this.configuration).apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4102
|
+
return exports.ArticlesApiFp(this.configuration).apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4094
4103
|
};
|
|
4095
4104
|
/**
|
|
4096
4105
|
*
|
|
@@ -4303,6 +4312,49 @@ exports.BookingsApiAxiosParamCreator = function (configuration) {
|
|
|
4303
4312
|
});
|
|
4304
4313
|
});
|
|
4305
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
|
+
},
|
|
4306
4358
|
/**
|
|
4307
4359
|
*
|
|
4308
4360
|
* @summary Reject booking.
|
|
@@ -4520,6 +4572,26 @@ exports.BookingsApiFp = function (configuration) {
|
|
|
4520
4572
|
});
|
|
4521
4573
|
});
|
|
4522
4574
|
},
|
|
4575
|
+
/**
|
|
4576
|
+
*
|
|
4577
|
+
* @summary Mark as Paid booking.
|
|
4578
|
+
* @param {string} bookingId
|
|
4579
|
+
* @param {*} [options] Override http request option.
|
|
4580
|
+
* @throws {RequiredError}
|
|
4581
|
+
*/
|
|
4582
|
+
apiV1BookingsBookingIdPaidPost: function (bookingId, options) {
|
|
4583
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4584
|
+
var localVarAxiosArgs;
|
|
4585
|
+
return __generator(this, function (_a) {
|
|
4586
|
+
switch (_a.label) {
|
|
4587
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1BookingsBookingIdPaidPost(bookingId, options)];
|
|
4588
|
+
case 1:
|
|
4589
|
+
localVarAxiosArgs = _a.sent();
|
|
4590
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
4591
|
+
}
|
|
4592
|
+
});
|
|
4593
|
+
});
|
|
4594
|
+
},
|
|
4523
4595
|
/**
|
|
4524
4596
|
*
|
|
4525
4597
|
* @summary Reject booking.
|
|
@@ -4620,6 +4692,16 @@ exports.BookingsApiFactory = function (configuration, basePath, axios) {
|
|
|
4620
4692
|
apiV1BookingsBookingIdGet: function (bookingId, options) {
|
|
4621
4693
|
return localVarFp.apiV1BookingsBookingIdGet(bookingId, options).then(function (request) { return request(axios, basePath); });
|
|
4622
4694
|
},
|
|
4695
|
+
/**
|
|
4696
|
+
*
|
|
4697
|
+
* @summary Mark as Paid booking.
|
|
4698
|
+
* @param {string} bookingId
|
|
4699
|
+
* @param {*} [options] Override http request option.
|
|
4700
|
+
* @throws {RequiredError}
|
|
4701
|
+
*/
|
|
4702
|
+
apiV1BookingsBookingIdPaidPost: function (bookingId, options) {
|
|
4703
|
+
return localVarFp.apiV1BookingsBookingIdPaidPost(bookingId, options).then(function (request) { return request(axios, basePath); });
|
|
4704
|
+
},
|
|
4623
4705
|
/**
|
|
4624
4706
|
*
|
|
4625
4707
|
* @summary Reject booking.
|
|
@@ -4712,6 +4794,18 @@ var BookingsApi = /** @class */ (function (_super) {
|
|
|
4712
4794
|
var _this = this;
|
|
4713
4795
|
return exports.BookingsApiFp(this.configuration).apiV1BookingsBookingIdGet(bookingId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4714
4796
|
};
|
|
4797
|
+
/**
|
|
4798
|
+
*
|
|
4799
|
+
* @summary Mark as Paid booking.
|
|
4800
|
+
* @param {string} bookingId
|
|
4801
|
+
* @param {*} [options] Override http request option.
|
|
4802
|
+
* @throws {RequiredError}
|
|
4803
|
+
* @memberof BookingsApi
|
|
4804
|
+
*/
|
|
4805
|
+
BookingsApi.prototype.apiV1BookingsBookingIdPaidPost = function (bookingId, options) {
|
|
4806
|
+
var _this = this;
|
|
4807
|
+
return exports.BookingsApiFp(this.configuration).apiV1BookingsBookingIdPaidPost(bookingId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4808
|
+
};
|
|
4715
4809
|
/**
|
|
4716
4810
|
*
|
|
4717
4811
|
* @summary Reject booking.
|
|
@@ -6859,6 +6953,49 @@ exports.ConsultationsApiAxiosParamCreator = function (configuration) {
|
|
|
6859
6953
|
});
|
|
6860
6954
|
});
|
|
6861
6955
|
},
|
|
6956
|
+
/**
|
|
6957
|
+
*
|
|
6958
|
+
* @summary Mark as Paid booking.
|
|
6959
|
+
* @param {string} consultationId
|
|
6960
|
+
* @param {*} [options] Override http request option.
|
|
6961
|
+
* @throws {RequiredError}
|
|
6962
|
+
*/
|
|
6963
|
+
apiV1ConsultationsConsultationIdPaidPost: function (consultationId, options) {
|
|
6964
|
+
if (options === void 0) { options = {}; }
|
|
6965
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
6966
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
6967
|
+
return __generator(this, function (_a) {
|
|
6968
|
+
switch (_a.label) {
|
|
6969
|
+
case 0:
|
|
6970
|
+
// verify required parameter 'consultationId' is not null or undefined
|
|
6971
|
+
common_1.assertParamExists('apiV1ConsultationsConsultationIdPaidPost', 'consultationId', consultationId);
|
|
6972
|
+
localVarPath = "/api/v1/consultations/{consultationId}/paid"
|
|
6973
|
+
.replace("{" + "consultationId" + "}", encodeURIComponent(String(consultationId)));
|
|
6974
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6975
|
+
if (configuration) {
|
|
6976
|
+
baseOptions = configuration.baseOptions;
|
|
6977
|
+
}
|
|
6978
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
6979
|
+
localVarHeaderParameter = {};
|
|
6980
|
+
localVarQueryParameter = {};
|
|
6981
|
+
// authentication oauth2 required
|
|
6982
|
+
// oauth required
|
|
6983
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
6984
|
+
case 1:
|
|
6985
|
+
// authentication oauth2 required
|
|
6986
|
+
// oauth required
|
|
6987
|
+
_a.sent();
|
|
6988
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6989
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6990
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6991
|
+
return [2 /*return*/, {
|
|
6992
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
6993
|
+
options: localVarRequestOptions,
|
|
6994
|
+
}];
|
|
6995
|
+
}
|
|
6996
|
+
});
|
|
6997
|
+
});
|
|
6998
|
+
},
|
|
6862
6999
|
/**
|
|
6863
7000
|
*
|
|
6864
7001
|
* @summary Reject consultation.
|
|
@@ -7043,12 +7180,32 @@ exports.ConsultationsApiFp = function (configuration) {
|
|
|
7043
7180
|
* @param {*} [options] Override http request option.
|
|
7044
7181
|
* @throws {RequiredError}
|
|
7045
7182
|
*/
|
|
7046
|
-
apiV1ConsultationsConsultationIdDelete: function (consultationId, options) {
|
|
7183
|
+
apiV1ConsultationsConsultationIdDelete: function (consultationId, options) {
|
|
7184
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7185
|
+
var localVarAxiosArgs;
|
|
7186
|
+
return __generator(this, function (_a) {
|
|
7187
|
+
switch (_a.label) {
|
|
7188
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ConsultationsConsultationIdDelete(consultationId, options)];
|
|
7189
|
+
case 1:
|
|
7190
|
+
localVarAxiosArgs = _a.sent();
|
|
7191
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
7192
|
+
}
|
|
7193
|
+
});
|
|
7194
|
+
});
|
|
7195
|
+
},
|
|
7196
|
+
/**
|
|
7197
|
+
*
|
|
7198
|
+
* @summary Get consultation.
|
|
7199
|
+
* @param {string} consultationId
|
|
7200
|
+
* @param {*} [options] Override http request option.
|
|
7201
|
+
* @throws {RequiredError}
|
|
7202
|
+
*/
|
|
7203
|
+
apiV1ConsultationsConsultationIdGet: function (consultationId, options) {
|
|
7047
7204
|
return __awaiter(this, void 0, void 0, function () {
|
|
7048
7205
|
var localVarAxiosArgs;
|
|
7049
7206
|
return __generator(this, function (_a) {
|
|
7050
7207
|
switch (_a.label) {
|
|
7051
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
7208
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ConsultationsConsultationIdGet(consultationId, options)];
|
|
7052
7209
|
case 1:
|
|
7053
7210
|
localVarAxiosArgs = _a.sent();
|
|
7054
7211
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -7058,17 +7215,17 @@ exports.ConsultationsApiFp = function (configuration) {
|
|
|
7058
7215
|
},
|
|
7059
7216
|
/**
|
|
7060
7217
|
*
|
|
7061
|
-
* @summary
|
|
7218
|
+
* @summary Mark as Paid booking.
|
|
7062
7219
|
* @param {string} consultationId
|
|
7063
7220
|
* @param {*} [options] Override http request option.
|
|
7064
7221
|
* @throws {RequiredError}
|
|
7065
7222
|
*/
|
|
7066
|
-
|
|
7223
|
+
apiV1ConsultationsConsultationIdPaidPost: function (consultationId, options) {
|
|
7067
7224
|
return __awaiter(this, void 0, void 0, function () {
|
|
7068
7225
|
var localVarAxiosArgs;
|
|
7069
7226
|
return __generator(this, function (_a) {
|
|
7070
7227
|
switch (_a.label) {
|
|
7071
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
7228
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ConsultationsConsultationIdPaidPost(consultationId, options)];
|
|
7072
7229
|
case 1:
|
|
7073
7230
|
localVarAxiosArgs = _a.sent();
|
|
7074
7231
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -7176,6 +7333,16 @@ exports.ConsultationsApiFactory = function (configuration, basePath, axios) {
|
|
|
7176
7333
|
apiV1ConsultationsConsultationIdGet: function (consultationId, options) {
|
|
7177
7334
|
return localVarFp.apiV1ConsultationsConsultationIdGet(consultationId, options).then(function (request) { return request(axios, basePath); });
|
|
7178
7335
|
},
|
|
7336
|
+
/**
|
|
7337
|
+
*
|
|
7338
|
+
* @summary Mark as Paid booking.
|
|
7339
|
+
* @param {string} consultationId
|
|
7340
|
+
* @param {*} [options] Override http request option.
|
|
7341
|
+
* @throws {RequiredError}
|
|
7342
|
+
*/
|
|
7343
|
+
apiV1ConsultationsConsultationIdPaidPost: function (consultationId, options) {
|
|
7344
|
+
return localVarFp.apiV1ConsultationsConsultationIdPaidPost(consultationId, options).then(function (request) { return request(axios, basePath); });
|
|
7345
|
+
},
|
|
7179
7346
|
/**
|
|
7180
7347
|
*
|
|
7181
7348
|
* @summary Reject consultation.
|
|
@@ -7268,6 +7435,18 @@ var ConsultationsApi = /** @class */ (function (_super) {
|
|
|
7268
7435
|
var _this = this;
|
|
7269
7436
|
return exports.ConsultationsApiFp(this.configuration).apiV1ConsultationsConsultationIdGet(consultationId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7270
7437
|
};
|
|
7438
|
+
/**
|
|
7439
|
+
*
|
|
7440
|
+
* @summary Mark as Paid booking.
|
|
7441
|
+
* @param {string} consultationId
|
|
7442
|
+
* @param {*} [options] Override http request option.
|
|
7443
|
+
* @throws {RequiredError}
|
|
7444
|
+
* @memberof ConsultationsApi
|
|
7445
|
+
*/
|
|
7446
|
+
ConsultationsApi.prototype.apiV1ConsultationsConsultationIdPaidPost = function (consultationId, options) {
|
|
7447
|
+
var _this = this;
|
|
7448
|
+
return exports.ConsultationsApiFp(this.configuration).apiV1ConsultationsConsultationIdPaidPost(consultationId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7449
|
+
};
|
|
7271
7450
|
/**
|
|
7272
7451
|
*
|
|
7273
7452
|
* @summary Reject consultation.
|
|
@@ -18016,13 +18195,14 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
18016
18195
|
* @param {string} [languageCode]
|
|
18017
18196
|
* @param {Array<string>} [ids]
|
|
18018
18197
|
* @param {boolean} [returnDefaultValue]
|
|
18198
|
+
* @param {boolean} [paymentEnabled]
|
|
18019
18199
|
* @param {number} [page]
|
|
18020
18200
|
* @param {number} [limit]
|
|
18021
18201
|
* @param {Date} [lastRetrieved]
|
|
18022
18202
|
* @param {*} [options] Override http request option.
|
|
18023
18203
|
* @throws {RequiredError}
|
|
18024
18204
|
*/
|
|
18025
|
-
apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
18205
|
+
apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
18026
18206
|
if (options === void 0) { options = {}; }
|
|
18027
18207
|
return __awaiter(_this, void 0, void 0, function () {
|
|
18028
18208
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -18085,6 +18265,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
18085
18265
|
if (returnDefaultValue !== undefined) {
|
|
18086
18266
|
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
18087
18267
|
}
|
|
18268
|
+
if (paymentEnabled !== undefined) {
|
|
18269
|
+
localVarQueryParameter['PaymentEnabled'] = paymentEnabled;
|
|
18270
|
+
}
|
|
18088
18271
|
if (page !== undefined) {
|
|
18089
18272
|
localVarQueryParameter['page'] = page;
|
|
18090
18273
|
}
|
|
@@ -19218,6 +19401,269 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
19218
19401
|
});
|
|
19219
19402
|
});
|
|
19220
19403
|
},
|
|
19404
|
+
/**
|
|
19405
|
+
*
|
|
19406
|
+
* @summary Get all HospitalHandles.
|
|
19407
|
+
* @param {string} hospitalId
|
|
19408
|
+
* @param {string} [hospitalId2]
|
|
19409
|
+
* @param {string} [id]
|
|
19410
|
+
* @param {SnsType} [snsType]
|
|
19411
|
+
* @param {string} [handle]
|
|
19412
|
+
* @param {number} [page]
|
|
19413
|
+
* @param {number} [limit]
|
|
19414
|
+
* @param {Date} [lastRetrieved]
|
|
19415
|
+
* @param {*} [options] Override http request option.
|
|
19416
|
+
* @throws {RequiredError}
|
|
19417
|
+
*/
|
|
19418
|
+
apiV1HospitalsHospitalIdHandlesGet: function (hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options) {
|
|
19419
|
+
if (options === void 0) { options = {}; }
|
|
19420
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
19421
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
19422
|
+
return __generator(this, function (_a) {
|
|
19423
|
+
switch (_a.label) {
|
|
19424
|
+
case 0:
|
|
19425
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
19426
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdHandlesGet', 'hospitalId', hospitalId);
|
|
19427
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/handles"
|
|
19428
|
+
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)));
|
|
19429
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19430
|
+
if (configuration) {
|
|
19431
|
+
baseOptions = configuration.baseOptions;
|
|
19432
|
+
}
|
|
19433
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
19434
|
+
localVarHeaderParameter = {};
|
|
19435
|
+
localVarQueryParameter = {};
|
|
19436
|
+
// authentication oauth2 required
|
|
19437
|
+
// oauth required
|
|
19438
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
19439
|
+
case 1:
|
|
19440
|
+
// authentication oauth2 required
|
|
19441
|
+
// oauth required
|
|
19442
|
+
_a.sent();
|
|
19443
|
+
if (hospitalId2 !== undefined) {
|
|
19444
|
+
localVarQueryParameter['HospitalId'] = hospitalId2;
|
|
19445
|
+
}
|
|
19446
|
+
if (id !== undefined) {
|
|
19447
|
+
localVarQueryParameter['Id'] = id;
|
|
19448
|
+
}
|
|
19449
|
+
if (snsType !== undefined) {
|
|
19450
|
+
localVarQueryParameter['SnsType'] = snsType;
|
|
19451
|
+
}
|
|
19452
|
+
if (handle !== undefined) {
|
|
19453
|
+
localVarQueryParameter['Handle'] = handle;
|
|
19454
|
+
}
|
|
19455
|
+
if (page !== undefined) {
|
|
19456
|
+
localVarQueryParameter['page'] = page;
|
|
19457
|
+
}
|
|
19458
|
+
if (limit !== undefined) {
|
|
19459
|
+
localVarQueryParameter['limit'] = limit;
|
|
19460
|
+
}
|
|
19461
|
+
if (lastRetrieved !== undefined) {
|
|
19462
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
19463
|
+
lastRetrieved.toISOString() :
|
|
19464
|
+
lastRetrieved;
|
|
19465
|
+
}
|
|
19466
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19467
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19468
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
19469
|
+
return [2 /*return*/, {
|
|
19470
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
19471
|
+
options: localVarRequestOptions,
|
|
19472
|
+
}];
|
|
19473
|
+
}
|
|
19474
|
+
});
|
|
19475
|
+
});
|
|
19476
|
+
},
|
|
19477
|
+
/**
|
|
19478
|
+
*
|
|
19479
|
+
* @summary Delete HospitalHandle.
|
|
19480
|
+
* @param {string} hospitalId
|
|
19481
|
+
* @param {string} handleId
|
|
19482
|
+
* @param {*} [options] Override http request option.
|
|
19483
|
+
* @throws {RequiredError}
|
|
19484
|
+
*/
|
|
19485
|
+
apiV1HospitalsHospitalIdHandlesHandleIdDelete: function (hospitalId, handleId, options) {
|
|
19486
|
+
if (options === void 0) { options = {}; }
|
|
19487
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
19488
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
19489
|
+
return __generator(this, function (_a) {
|
|
19490
|
+
switch (_a.label) {
|
|
19491
|
+
case 0:
|
|
19492
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
19493
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdDelete', 'hospitalId', hospitalId);
|
|
19494
|
+
// verify required parameter 'handleId' is not null or undefined
|
|
19495
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdDelete', 'handleId', handleId);
|
|
19496
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/handles/{handleId}"
|
|
19497
|
+
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
19498
|
+
.replace("{" + "handleId" + "}", encodeURIComponent(String(handleId)));
|
|
19499
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19500
|
+
if (configuration) {
|
|
19501
|
+
baseOptions = configuration.baseOptions;
|
|
19502
|
+
}
|
|
19503
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
19504
|
+
localVarHeaderParameter = {};
|
|
19505
|
+
localVarQueryParameter = {};
|
|
19506
|
+
// authentication oauth2 required
|
|
19507
|
+
// oauth required
|
|
19508
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
19509
|
+
case 1:
|
|
19510
|
+
// authentication oauth2 required
|
|
19511
|
+
// oauth required
|
|
19512
|
+
_a.sent();
|
|
19513
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19514
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19515
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
19516
|
+
return [2 /*return*/, {
|
|
19517
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
19518
|
+
options: localVarRequestOptions,
|
|
19519
|
+
}];
|
|
19520
|
+
}
|
|
19521
|
+
});
|
|
19522
|
+
});
|
|
19523
|
+
},
|
|
19524
|
+
/**
|
|
19525
|
+
*
|
|
19526
|
+
* @summary Get HospitalHandle.
|
|
19527
|
+
* @param {string} hospitalId
|
|
19528
|
+
* @param {string} handleId
|
|
19529
|
+
* @param {*} [options] Override http request option.
|
|
19530
|
+
* @throws {RequiredError}
|
|
19531
|
+
*/
|
|
19532
|
+
apiV1HospitalsHospitalIdHandlesHandleIdGet: function (hospitalId, handleId, options) {
|
|
19533
|
+
if (options === void 0) { options = {}; }
|
|
19534
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
19535
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
19536
|
+
return __generator(this, function (_a) {
|
|
19537
|
+
switch (_a.label) {
|
|
19538
|
+
case 0:
|
|
19539
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
19540
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdGet', 'hospitalId', hospitalId);
|
|
19541
|
+
// verify required parameter 'handleId' is not null or undefined
|
|
19542
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdGet', 'handleId', handleId);
|
|
19543
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/handles/{handleId}"
|
|
19544
|
+
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
19545
|
+
.replace("{" + "handleId" + "}", encodeURIComponent(String(handleId)));
|
|
19546
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19547
|
+
if (configuration) {
|
|
19548
|
+
baseOptions = configuration.baseOptions;
|
|
19549
|
+
}
|
|
19550
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
19551
|
+
localVarHeaderParameter = {};
|
|
19552
|
+
localVarQueryParameter = {};
|
|
19553
|
+
// authentication oauth2 required
|
|
19554
|
+
// oauth required
|
|
19555
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
19556
|
+
case 1:
|
|
19557
|
+
// authentication oauth2 required
|
|
19558
|
+
// oauth required
|
|
19559
|
+
_a.sent();
|
|
19560
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19561
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19562
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
19563
|
+
return [2 /*return*/, {
|
|
19564
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
19565
|
+
options: localVarRequestOptions,
|
|
19566
|
+
}];
|
|
19567
|
+
}
|
|
19568
|
+
});
|
|
19569
|
+
});
|
|
19570
|
+
},
|
|
19571
|
+
/**
|
|
19572
|
+
*
|
|
19573
|
+
* @summary Update HospitalHandle.
|
|
19574
|
+
* @param {string} hospitalId
|
|
19575
|
+
* @param {string} handleId
|
|
19576
|
+
* @param {UpdateHospitalSnsHandleCommand} [updateHospitalSnsHandleCommand]
|
|
19577
|
+
* @param {*} [options] Override http request option.
|
|
19578
|
+
* @throws {RequiredError}
|
|
19579
|
+
*/
|
|
19580
|
+
apiV1HospitalsHospitalIdHandlesHandleIdPut: function (hospitalId, handleId, updateHospitalSnsHandleCommand, options) {
|
|
19581
|
+
if (options === void 0) { options = {}; }
|
|
19582
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
19583
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
19584
|
+
return __generator(this, function (_a) {
|
|
19585
|
+
switch (_a.label) {
|
|
19586
|
+
case 0:
|
|
19587
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
19588
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdPut', 'hospitalId', hospitalId);
|
|
19589
|
+
// verify required parameter 'handleId' is not null or undefined
|
|
19590
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdPut', 'handleId', handleId);
|
|
19591
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/handles/{handleId}"
|
|
19592
|
+
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
19593
|
+
.replace("{" + "handleId" + "}", encodeURIComponent(String(handleId)));
|
|
19594
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19595
|
+
if (configuration) {
|
|
19596
|
+
baseOptions = configuration.baseOptions;
|
|
19597
|
+
}
|
|
19598
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
19599
|
+
localVarHeaderParameter = {};
|
|
19600
|
+
localVarQueryParameter = {};
|
|
19601
|
+
// authentication oauth2 required
|
|
19602
|
+
// oauth required
|
|
19603
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
19604
|
+
case 1:
|
|
19605
|
+
// authentication oauth2 required
|
|
19606
|
+
// oauth required
|
|
19607
|
+
_a.sent();
|
|
19608
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
19609
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19610
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19611
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
19612
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateHospitalSnsHandleCommand, localVarRequestOptions, configuration);
|
|
19613
|
+
return [2 /*return*/, {
|
|
19614
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
19615
|
+
options: localVarRequestOptions,
|
|
19616
|
+
}];
|
|
19617
|
+
}
|
|
19618
|
+
});
|
|
19619
|
+
});
|
|
19620
|
+
},
|
|
19621
|
+
/**
|
|
19622
|
+
*
|
|
19623
|
+
* @summary Get HospitalHandle.
|
|
19624
|
+
* @param {string} hospitalId
|
|
19625
|
+
* @param {CreateHospitalSnsHandleCommand} [createHospitalSnsHandleCommand]
|
|
19626
|
+
* @param {*} [options] Override http request option.
|
|
19627
|
+
* @throws {RequiredError}
|
|
19628
|
+
*/
|
|
19629
|
+
apiV1HospitalsHospitalIdHandlesPost: function (hospitalId, createHospitalSnsHandleCommand, options) {
|
|
19630
|
+
if (options === void 0) { options = {}; }
|
|
19631
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
19632
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
19633
|
+
return __generator(this, function (_a) {
|
|
19634
|
+
switch (_a.label) {
|
|
19635
|
+
case 0:
|
|
19636
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
19637
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdHandlesPost', 'hospitalId', hospitalId);
|
|
19638
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/handles"
|
|
19639
|
+
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)));
|
|
19640
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19641
|
+
if (configuration) {
|
|
19642
|
+
baseOptions = configuration.baseOptions;
|
|
19643
|
+
}
|
|
19644
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
19645
|
+
localVarHeaderParameter = {};
|
|
19646
|
+
localVarQueryParameter = {};
|
|
19647
|
+
// authentication oauth2 required
|
|
19648
|
+
// oauth required
|
|
19649
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
19650
|
+
case 1:
|
|
19651
|
+
// authentication oauth2 required
|
|
19652
|
+
// oauth required
|
|
19653
|
+
_a.sent();
|
|
19654
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
19655
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19656
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19657
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
19658
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(createHospitalSnsHandleCommand, localVarRequestOptions, configuration);
|
|
19659
|
+
return [2 /*return*/, {
|
|
19660
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
19661
|
+
options: localVarRequestOptions,
|
|
19662
|
+
}];
|
|
19663
|
+
}
|
|
19664
|
+
});
|
|
19665
|
+
});
|
|
19666
|
+
},
|
|
19221
19667
|
/**
|
|
19222
19668
|
*
|
|
19223
19669
|
* @summary Get all HospitalMedias.
|
|
@@ -20419,14 +20865,302 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
20419
20865
|
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut', 'mediaId', mediaId);
|
|
20420
20866
|
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/medias/{mediaId}"
|
|
20421
20867
|
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
20422
|
-
.replace("{" + "specialtyId" + "}", encodeURIComponent(String(specialtyId)))
|
|
20423
|
-
.replace("{" + "serviceId" + "}", encodeURIComponent(String(serviceId)))
|
|
20424
|
-
.replace("{" + "mediaId" + "}", encodeURIComponent(String(mediaId)));
|
|
20868
|
+
.replace("{" + "specialtyId" + "}", encodeURIComponent(String(specialtyId)))
|
|
20869
|
+
.replace("{" + "serviceId" + "}", encodeURIComponent(String(serviceId)))
|
|
20870
|
+
.replace("{" + "mediaId" + "}", encodeURIComponent(String(mediaId)));
|
|
20871
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20872
|
+
if (configuration) {
|
|
20873
|
+
baseOptions = configuration.baseOptions;
|
|
20874
|
+
}
|
|
20875
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
20876
|
+
localVarHeaderParameter = {};
|
|
20877
|
+
localVarQueryParameter = {};
|
|
20878
|
+
// authentication oauth2 required
|
|
20879
|
+
// oauth required
|
|
20880
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
20881
|
+
case 1:
|
|
20882
|
+
// authentication oauth2 required
|
|
20883
|
+
// oauth required
|
|
20884
|
+
_a.sent();
|
|
20885
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
20886
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20887
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20888
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
20889
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateMediaCommand, localVarRequestOptions, configuration);
|
|
20890
|
+
return [2 /*return*/, {
|
|
20891
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
20892
|
+
options: localVarRequestOptions,
|
|
20893
|
+
}];
|
|
20894
|
+
}
|
|
20895
|
+
});
|
|
20896
|
+
});
|
|
20897
|
+
},
|
|
20898
|
+
/**
|
|
20899
|
+
*
|
|
20900
|
+
* @summary Create HospitalServiceMedia.
|
|
20901
|
+
* @param {string} hospitalId
|
|
20902
|
+
* @param {string} specialtyId
|
|
20903
|
+
* @param {string} serviceId
|
|
20904
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
20905
|
+
* @param {*} [options] Override http request option.
|
|
20906
|
+
* @throws {RequiredError}
|
|
20907
|
+
*/
|
|
20908
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost: function (hospitalId, specialtyId, serviceId, createMediaCommand, options) {
|
|
20909
|
+
if (options === void 0) { options = {}; }
|
|
20910
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
20911
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
20912
|
+
return __generator(this, function (_a) {
|
|
20913
|
+
switch (_a.label) {
|
|
20914
|
+
case 0:
|
|
20915
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
20916
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost', 'hospitalId', hospitalId);
|
|
20917
|
+
// verify required parameter 'specialtyId' is not null or undefined
|
|
20918
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost', 'specialtyId', specialtyId);
|
|
20919
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
20920
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost', 'serviceId', serviceId);
|
|
20921
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/medias"
|
|
20922
|
+
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
20923
|
+
.replace("{" + "specialtyId" + "}", encodeURIComponent(String(specialtyId)))
|
|
20924
|
+
.replace("{" + "serviceId" + "}", encodeURIComponent(String(serviceId)));
|
|
20925
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20926
|
+
if (configuration) {
|
|
20927
|
+
baseOptions = configuration.baseOptions;
|
|
20928
|
+
}
|
|
20929
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
20930
|
+
localVarHeaderParameter = {};
|
|
20931
|
+
localVarQueryParameter = {};
|
|
20932
|
+
// authentication oauth2 required
|
|
20933
|
+
// oauth required
|
|
20934
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
20935
|
+
case 1:
|
|
20936
|
+
// authentication oauth2 required
|
|
20937
|
+
// oauth required
|
|
20938
|
+
_a.sent();
|
|
20939
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
20940
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20941
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20942
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
20943
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(createMediaCommand, localVarRequestOptions, configuration);
|
|
20944
|
+
return [2 /*return*/, {
|
|
20945
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
20946
|
+
options: localVarRequestOptions,
|
|
20947
|
+
}];
|
|
20948
|
+
}
|
|
20949
|
+
});
|
|
20950
|
+
});
|
|
20951
|
+
},
|
|
20952
|
+
/**
|
|
20953
|
+
*
|
|
20954
|
+
* @summary Update HospitalService.
|
|
20955
|
+
* @param {string} hospitalId
|
|
20956
|
+
* @param {string} specialtyId
|
|
20957
|
+
* @param {string} serviceId
|
|
20958
|
+
* @param {UpdateHospitalServiceCommand} [updateHospitalServiceCommand]
|
|
20959
|
+
* @param {*} [options] Override http request option.
|
|
20960
|
+
* @throws {RequiredError}
|
|
20961
|
+
*/
|
|
20962
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut: function (hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options) {
|
|
20963
|
+
if (options === void 0) { options = {}; }
|
|
20964
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
20965
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
20966
|
+
return __generator(this, function (_a) {
|
|
20967
|
+
switch (_a.label) {
|
|
20968
|
+
case 0:
|
|
20969
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
20970
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut', 'hospitalId', hospitalId);
|
|
20971
|
+
// verify required parameter 'specialtyId' is not null or undefined
|
|
20972
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut', 'specialtyId', specialtyId);
|
|
20973
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
20974
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut', 'serviceId', serviceId);
|
|
20975
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}"
|
|
20976
|
+
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
20977
|
+
.replace("{" + "specialtyId" + "}", encodeURIComponent(String(specialtyId)))
|
|
20978
|
+
.replace("{" + "serviceId" + "}", encodeURIComponent(String(serviceId)));
|
|
20979
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20980
|
+
if (configuration) {
|
|
20981
|
+
baseOptions = configuration.baseOptions;
|
|
20982
|
+
}
|
|
20983
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
20984
|
+
localVarHeaderParameter = {};
|
|
20985
|
+
localVarQueryParameter = {};
|
|
20986
|
+
// authentication oauth2 required
|
|
20987
|
+
// oauth required
|
|
20988
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
20989
|
+
case 1:
|
|
20990
|
+
// authentication oauth2 required
|
|
20991
|
+
// oauth required
|
|
20992
|
+
_a.sent();
|
|
20993
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
20994
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20995
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20996
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
20997
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateHospitalServiceCommand, localVarRequestOptions, configuration);
|
|
20998
|
+
return [2 /*return*/, {
|
|
20999
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
21000
|
+
options: localVarRequestOptions,
|
|
21001
|
+
}];
|
|
21002
|
+
}
|
|
21003
|
+
});
|
|
21004
|
+
});
|
|
21005
|
+
},
|
|
21006
|
+
/**
|
|
21007
|
+
*
|
|
21008
|
+
* @summary Get all HospitalWorkingDays.
|
|
21009
|
+
* @param {string} hospitalId
|
|
21010
|
+
* @param {string} [hospitalId2]
|
|
21011
|
+
* @param {string} [id]
|
|
21012
|
+
* @param {string} [dayOfWeek]
|
|
21013
|
+
* @param {Date} [timeFrom]
|
|
21014
|
+
* @param {Date} [timeTo]
|
|
21015
|
+
* @param {boolean} [checkHoliday]
|
|
21016
|
+
* @param {number} [page]
|
|
21017
|
+
* @param {number} [limit]
|
|
21018
|
+
* @param {Date} [lastRetrieved]
|
|
21019
|
+
* @param {*} [options] Override http request option.
|
|
21020
|
+
* @throws {RequiredError}
|
|
21021
|
+
*/
|
|
21022
|
+
apiV1HospitalsHospitalIdWorkingdaysGet: function (hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options) {
|
|
21023
|
+
if (options === void 0) { options = {}; }
|
|
21024
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
21025
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
21026
|
+
return __generator(this, function (_a) {
|
|
21027
|
+
switch (_a.label) {
|
|
21028
|
+
case 0:
|
|
21029
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
21030
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdWorkingdaysGet', 'hospitalId', hospitalId);
|
|
21031
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/workingdays"
|
|
21032
|
+
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)));
|
|
21033
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21034
|
+
if (configuration) {
|
|
21035
|
+
baseOptions = configuration.baseOptions;
|
|
21036
|
+
}
|
|
21037
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
21038
|
+
localVarHeaderParameter = {};
|
|
21039
|
+
localVarQueryParameter = {};
|
|
21040
|
+
// authentication oauth2 required
|
|
21041
|
+
// oauth required
|
|
21042
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
21043
|
+
case 1:
|
|
21044
|
+
// authentication oauth2 required
|
|
21045
|
+
// oauth required
|
|
21046
|
+
_a.sent();
|
|
21047
|
+
if (hospitalId2 !== undefined) {
|
|
21048
|
+
localVarQueryParameter['HospitalId'] = hospitalId2;
|
|
21049
|
+
}
|
|
21050
|
+
if (id !== undefined) {
|
|
21051
|
+
localVarQueryParameter['Id'] = id;
|
|
21052
|
+
}
|
|
21053
|
+
if (dayOfWeek !== undefined) {
|
|
21054
|
+
localVarQueryParameter['DayOfWeek'] = dayOfWeek;
|
|
21055
|
+
}
|
|
21056
|
+
if (timeFrom !== undefined) {
|
|
21057
|
+
localVarQueryParameter['TimeFrom'] = (timeFrom instanceof Date) ?
|
|
21058
|
+
timeFrom.toISOString() :
|
|
21059
|
+
timeFrom;
|
|
21060
|
+
}
|
|
21061
|
+
if (timeTo !== undefined) {
|
|
21062
|
+
localVarQueryParameter['TimeTo'] = (timeTo instanceof Date) ?
|
|
21063
|
+
timeTo.toISOString() :
|
|
21064
|
+
timeTo;
|
|
21065
|
+
}
|
|
21066
|
+
if (checkHoliday !== undefined) {
|
|
21067
|
+
localVarQueryParameter['CheckHoliday'] = checkHoliday;
|
|
21068
|
+
}
|
|
21069
|
+
if (page !== undefined) {
|
|
21070
|
+
localVarQueryParameter['page'] = page;
|
|
21071
|
+
}
|
|
21072
|
+
if (limit !== undefined) {
|
|
21073
|
+
localVarQueryParameter['limit'] = limit;
|
|
21074
|
+
}
|
|
21075
|
+
if (lastRetrieved !== undefined) {
|
|
21076
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
21077
|
+
lastRetrieved.toISOString() :
|
|
21078
|
+
lastRetrieved;
|
|
21079
|
+
}
|
|
21080
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21081
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21082
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
21083
|
+
return [2 /*return*/, {
|
|
21084
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
21085
|
+
options: localVarRequestOptions,
|
|
21086
|
+
}];
|
|
21087
|
+
}
|
|
21088
|
+
});
|
|
21089
|
+
});
|
|
21090
|
+
},
|
|
21091
|
+
/**
|
|
21092
|
+
*
|
|
21093
|
+
* @summary Create HospitalWorkingDay.
|
|
21094
|
+
* @param {string} hospitalId
|
|
21095
|
+
* @param {CreateHospitalWorkingDayCommand} [createHospitalWorkingDayCommand]
|
|
21096
|
+
* @param {*} [options] Override http request option.
|
|
21097
|
+
* @throws {RequiredError}
|
|
21098
|
+
*/
|
|
21099
|
+
apiV1HospitalsHospitalIdWorkingdaysPost: function (hospitalId, createHospitalWorkingDayCommand, options) {
|
|
21100
|
+
if (options === void 0) { options = {}; }
|
|
21101
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
21102
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
21103
|
+
return __generator(this, function (_a) {
|
|
21104
|
+
switch (_a.label) {
|
|
21105
|
+
case 0:
|
|
21106
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
21107
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdWorkingdaysPost', 'hospitalId', hospitalId);
|
|
21108
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/workingdays"
|
|
21109
|
+
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)));
|
|
21110
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21111
|
+
if (configuration) {
|
|
21112
|
+
baseOptions = configuration.baseOptions;
|
|
21113
|
+
}
|
|
21114
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
21115
|
+
localVarHeaderParameter = {};
|
|
21116
|
+
localVarQueryParameter = {};
|
|
21117
|
+
// authentication oauth2 required
|
|
21118
|
+
// oauth required
|
|
21119
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
21120
|
+
case 1:
|
|
21121
|
+
// authentication oauth2 required
|
|
21122
|
+
// oauth required
|
|
21123
|
+
_a.sent();
|
|
21124
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
21125
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21126
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21127
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
21128
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(createHospitalWorkingDayCommand, localVarRequestOptions, configuration);
|
|
21129
|
+
return [2 /*return*/, {
|
|
21130
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
21131
|
+
options: localVarRequestOptions,
|
|
21132
|
+
}];
|
|
21133
|
+
}
|
|
21134
|
+
});
|
|
21135
|
+
});
|
|
21136
|
+
},
|
|
21137
|
+
/**
|
|
21138
|
+
*
|
|
21139
|
+
* @summary Delete HospitalWorkingDay.
|
|
21140
|
+
* @param {string} hospitalId
|
|
21141
|
+
* @param {string} workingDayId
|
|
21142
|
+
* @param {*} [options] Override http request option.
|
|
21143
|
+
* @throws {RequiredError}
|
|
21144
|
+
*/
|
|
21145
|
+
apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete: function (hospitalId, workingDayId, options) {
|
|
21146
|
+
if (options === void 0) { options = {}; }
|
|
21147
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
21148
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
21149
|
+
return __generator(this, function (_a) {
|
|
21150
|
+
switch (_a.label) {
|
|
21151
|
+
case 0:
|
|
21152
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
21153
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete', 'hospitalId', hospitalId);
|
|
21154
|
+
// verify required parameter 'workingDayId' is not null or undefined
|
|
21155
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete', 'workingDayId', workingDayId);
|
|
21156
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/workingdays/{workingDayId}"
|
|
21157
|
+
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
21158
|
+
.replace("{" + "workingDayId" + "}", encodeURIComponent(String(workingDayId)));
|
|
20425
21159
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20426
21160
|
if (configuration) {
|
|
20427
21161
|
baseOptions = configuration.baseOptions;
|
|
20428
21162
|
}
|
|
20429
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
21163
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
20430
21164
|
localVarHeaderParameter = {};
|
|
20431
21165
|
localVarQueryParameter = {};
|
|
20432
21166
|
// authentication oauth2 required
|
|
@@ -20436,11 +21170,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
20436
21170
|
// authentication oauth2 required
|
|
20437
21171
|
// oauth required
|
|
20438
21172
|
_a.sent();
|
|
20439
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
20440
21173
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20441
21174
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20442
21175
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
20443
|
-
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateMediaCommand, localVarRequestOptions, configuration);
|
|
20444
21176
|
return [2 /*return*/, {
|
|
20445
21177
|
url: common_1.toPathString(localVarUrlObj),
|
|
20446
21178
|
options: localVarRequestOptions,
|
|
@@ -20451,15 +21183,13 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
20451
21183
|
},
|
|
20452
21184
|
/**
|
|
20453
21185
|
*
|
|
20454
|
-
* @summary
|
|
21186
|
+
* @summary Get HospitalWorkingDay.
|
|
20455
21187
|
* @param {string} hospitalId
|
|
20456
|
-
* @param {string}
|
|
20457
|
-
* @param {string} serviceId
|
|
20458
|
-
* @param {CreateMediaCommand} [createMediaCommand]
|
|
21188
|
+
* @param {string} workingDayId
|
|
20459
21189
|
* @param {*} [options] Override http request option.
|
|
20460
21190
|
* @throws {RequiredError}
|
|
20461
21191
|
*/
|
|
20462
|
-
|
|
21192
|
+
apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet: function (hospitalId, workingDayId, options) {
|
|
20463
21193
|
if (options === void 0) { options = {}; }
|
|
20464
21194
|
return __awaiter(_this, void 0, void 0, function () {
|
|
20465
21195
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -20467,20 +21197,17 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
20467
21197
|
switch (_a.label) {
|
|
20468
21198
|
case 0:
|
|
20469
21199
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
20470
|
-
common_1.assertParamExists('
|
|
20471
|
-
// verify required parameter '
|
|
20472
|
-
common_1.assertParamExists('
|
|
20473
|
-
|
|
20474
|
-
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost', 'serviceId', serviceId);
|
|
20475
|
-
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/medias"
|
|
21200
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet', 'hospitalId', hospitalId);
|
|
21201
|
+
// verify required parameter 'workingDayId' is not null or undefined
|
|
21202
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet', 'workingDayId', workingDayId);
|
|
21203
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/workingdays/{workingDayId}"
|
|
20476
21204
|
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
20477
|
-
.replace("{" + "
|
|
20478
|
-
.replace("{" + "serviceId" + "}", encodeURIComponent(String(serviceId)));
|
|
21205
|
+
.replace("{" + "workingDayId" + "}", encodeURIComponent(String(workingDayId)));
|
|
20479
21206
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20480
21207
|
if (configuration) {
|
|
20481
21208
|
baseOptions = configuration.baseOptions;
|
|
20482
21209
|
}
|
|
20483
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
21210
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
20484
21211
|
localVarHeaderParameter = {};
|
|
20485
21212
|
localVarQueryParameter = {};
|
|
20486
21213
|
// authentication oauth2 required
|
|
@@ -20490,11 +21217,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
20490
21217
|
// authentication oauth2 required
|
|
20491
21218
|
// oauth required
|
|
20492
21219
|
_a.sent();
|
|
20493
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
20494
21220
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20495
21221
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20496
21222
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
20497
|
-
localVarRequestOptions.data = common_1.serializeDataIfNeeded(createMediaCommand, localVarRequestOptions, configuration);
|
|
20498
21223
|
return [2 /*return*/, {
|
|
20499
21224
|
url: common_1.toPathString(localVarUrlObj),
|
|
20500
21225
|
options: localVarRequestOptions,
|
|
@@ -20505,15 +21230,14 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
20505
21230
|
},
|
|
20506
21231
|
/**
|
|
20507
21232
|
*
|
|
20508
|
-
* @summary Update
|
|
21233
|
+
* @summary Update HospitalWorkingDay.
|
|
20509
21234
|
* @param {string} hospitalId
|
|
20510
|
-
* @param {string}
|
|
20511
|
-
* @param {
|
|
20512
|
-
* @param {UpdateHospitalServiceCommand} [updateHospitalServiceCommand]
|
|
21235
|
+
* @param {string} workingDayId
|
|
21236
|
+
* @param {UpdateHospitalWorkingDayCommand} [updateHospitalWorkingDayCommand]
|
|
20513
21237
|
* @param {*} [options] Override http request option.
|
|
20514
21238
|
* @throws {RequiredError}
|
|
20515
21239
|
*/
|
|
20516
|
-
|
|
21240
|
+
apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut: function (hospitalId, workingDayId, updateHospitalWorkingDayCommand, options) {
|
|
20517
21241
|
if (options === void 0) { options = {}; }
|
|
20518
21242
|
return __awaiter(_this, void 0, void 0, function () {
|
|
20519
21243
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -20521,15 +21245,12 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
20521
21245
|
switch (_a.label) {
|
|
20522
21246
|
case 0:
|
|
20523
21247
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
20524
|
-
common_1.assertParamExists('
|
|
20525
|
-
// verify required parameter '
|
|
20526
|
-
common_1.assertParamExists('
|
|
20527
|
-
|
|
20528
|
-
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut', 'serviceId', serviceId);
|
|
20529
|
-
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}"
|
|
21248
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut', 'hospitalId', hospitalId);
|
|
21249
|
+
// verify required parameter 'workingDayId' is not null or undefined
|
|
21250
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut', 'workingDayId', workingDayId);
|
|
21251
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/workingdays/{workingDayId}"
|
|
20530
21252
|
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
20531
|
-
.replace("{" + "
|
|
20532
|
-
.replace("{" + "serviceId" + "}", encodeURIComponent(String(serviceId)));
|
|
21253
|
+
.replace("{" + "workingDayId" + "}", encodeURIComponent(String(workingDayId)));
|
|
20533
21254
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20534
21255
|
if (configuration) {
|
|
20535
21256
|
baseOptions = configuration.baseOptions;
|
|
@@ -20548,7 +21269,7 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
20548
21269
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20549
21270
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20550
21271
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
20551
|
-
localVarRequestOptions.data = common_1.serializeDataIfNeeded(
|
|
21272
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateHospitalWorkingDayCommand, localVarRequestOptions, configuration);
|
|
20552
21273
|
return [2 /*return*/, {
|
|
20553
21274
|
url: common_1.toPathString(localVarUrlObj),
|
|
20554
21275
|
options: localVarRequestOptions,
|
|
@@ -20615,13 +21336,14 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
20615
21336
|
* @param {string} [languageCode]
|
|
20616
21337
|
* @param {Array<string>} [ids]
|
|
20617
21338
|
* @param {boolean} [returnDefaultValue]
|
|
21339
|
+
* @param {boolean} [paymentEnabled]
|
|
20618
21340
|
* @param {number} [page]
|
|
20619
21341
|
* @param {number} [limit]
|
|
20620
21342
|
* @param {Date} [lastRetrieved]
|
|
20621
21343
|
* @param {*} [options] Override http request option.
|
|
20622
21344
|
* @throws {RequiredError}
|
|
20623
21345
|
*/
|
|
20624
|
-
apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
21346
|
+
apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
20625
21347
|
if (options === void 0) { options = {}; }
|
|
20626
21348
|
return __awaiter(_this, void 0, void 0, function () {
|
|
20627
21349
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -20684,6 +21406,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
20684
21406
|
if (returnDefaultValue !== undefined) {
|
|
20685
21407
|
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
20686
21408
|
}
|
|
21409
|
+
if (paymentEnabled !== undefined) {
|
|
21410
|
+
localVarQueryParameter['PaymentEnabled'] = paymentEnabled;
|
|
21411
|
+
}
|
|
20687
21412
|
if (page !== undefined) {
|
|
20688
21413
|
localVarQueryParameter['page'] = page;
|
|
20689
21414
|
}
|
|
@@ -20781,18 +21506,19 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
20781
21506
|
* @param {string} [languageCode]
|
|
20782
21507
|
* @param {Array<string>} [ids]
|
|
20783
21508
|
* @param {boolean} [returnDefaultValue]
|
|
21509
|
+
* @param {boolean} [paymentEnabled]
|
|
20784
21510
|
* @param {number} [page]
|
|
20785
21511
|
* @param {number} [limit]
|
|
20786
21512
|
* @param {Date} [lastRetrieved]
|
|
20787
21513
|
* @param {*} [options] Override http request option.
|
|
20788
21514
|
* @throws {RequiredError}
|
|
20789
21515
|
*/
|
|
20790
|
-
apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
21516
|
+
apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
20791
21517
|
return __awaiter(this, void 0, void 0, function () {
|
|
20792
21518
|
var localVarAxiosArgs;
|
|
20793
21519
|
return __generator(this, function (_a) {
|
|
20794
21520
|
switch (_a.label) {
|
|
20795
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
21521
|
+
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)];
|
|
20796
21522
|
case 1:
|
|
20797
21523
|
localVarAxiosArgs = _a.sent();
|
|
20798
21524
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -21271,6 +21997,118 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
21271
21997
|
});
|
|
21272
21998
|
});
|
|
21273
21999
|
},
|
|
22000
|
+
/**
|
|
22001
|
+
*
|
|
22002
|
+
* @summary Get all HospitalHandles.
|
|
22003
|
+
* @param {string} hospitalId
|
|
22004
|
+
* @param {string} [hospitalId2]
|
|
22005
|
+
* @param {string} [id]
|
|
22006
|
+
* @param {SnsType} [snsType]
|
|
22007
|
+
* @param {string} [handle]
|
|
22008
|
+
* @param {number} [page]
|
|
22009
|
+
* @param {number} [limit]
|
|
22010
|
+
* @param {Date} [lastRetrieved]
|
|
22011
|
+
* @param {*} [options] Override http request option.
|
|
22012
|
+
* @throws {RequiredError}
|
|
22013
|
+
*/
|
|
22014
|
+
apiV1HospitalsHospitalIdHandlesGet: function (hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options) {
|
|
22015
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
22016
|
+
var localVarAxiosArgs;
|
|
22017
|
+
return __generator(this, function (_a) {
|
|
22018
|
+
switch (_a.label) {
|
|
22019
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdHandlesGet(hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options)];
|
|
22020
|
+
case 1:
|
|
22021
|
+
localVarAxiosArgs = _a.sent();
|
|
22022
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
22023
|
+
}
|
|
22024
|
+
});
|
|
22025
|
+
});
|
|
22026
|
+
},
|
|
22027
|
+
/**
|
|
22028
|
+
*
|
|
22029
|
+
* @summary Delete HospitalHandle.
|
|
22030
|
+
* @param {string} hospitalId
|
|
22031
|
+
* @param {string} handleId
|
|
22032
|
+
* @param {*} [options] Override http request option.
|
|
22033
|
+
* @throws {RequiredError}
|
|
22034
|
+
*/
|
|
22035
|
+
apiV1HospitalsHospitalIdHandlesHandleIdDelete: function (hospitalId, handleId, options) {
|
|
22036
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
22037
|
+
var localVarAxiosArgs;
|
|
22038
|
+
return __generator(this, function (_a) {
|
|
22039
|
+
switch (_a.label) {
|
|
22040
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdHandlesHandleIdDelete(hospitalId, handleId, options)];
|
|
22041
|
+
case 1:
|
|
22042
|
+
localVarAxiosArgs = _a.sent();
|
|
22043
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
22044
|
+
}
|
|
22045
|
+
});
|
|
22046
|
+
});
|
|
22047
|
+
},
|
|
22048
|
+
/**
|
|
22049
|
+
*
|
|
22050
|
+
* @summary Get HospitalHandle.
|
|
22051
|
+
* @param {string} hospitalId
|
|
22052
|
+
* @param {string} handleId
|
|
22053
|
+
* @param {*} [options] Override http request option.
|
|
22054
|
+
* @throws {RequiredError}
|
|
22055
|
+
*/
|
|
22056
|
+
apiV1HospitalsHospitalIdHandlesHandleIdGet: function (hospitalId, handleId, options) {
|
|
22057
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
22058
|
+
var localVarAxiosArgs;
|
|
22059
|
+
return __generator(this, function (_a) {
|
|
22060
|
+
switch (_a.label) {
|
|
22061
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdHandlesHandleIdGet(hospitalId, handleId, options)];
|
|
22062
|
+
case 1:
|
|
22063
|
+
localVarAxiosArgs = _a.sent();
|
|
22064
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
22065
|
+
}
|
|
22066
|
+
});
|
|
22067
|
+
});
|
|
22068
|
+
},
|
|
22069
|
+
/**
|
|
22070
|
+
*
|
|
22071
|
+
* @summary Update HospitalHandle.
|
|
22072
|
+
* @param {string} hospitalId
|
|
22073
|
+
* @param {string} handleId
|
|
22074
|
+
* @param {UpdateHospitalSnsHandleCommand} [updateHospitalSnsHandleCommand]
|
|
22075
|
+
* @param {*} [options] Override http request option.
|
|
22076
|
+
* @throws {RequiredError}
|
|
22077
|
+
*/
|
|
22078
|
+
apiV1HospitalsHospitalIdHandlesHandleIdPut: function (hospitalId, handleId, updateHospitalSnsHandleCommand, options) {
|
|
22079
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
22080
|
+
var localVarAxiosArgs;
|
|
22081
|
+
return __generator(this, function (_a) {
|
|
22082
|
+
switch (_a.label) {
|
|
22083
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdHandlesHandleIdPut(hospitalId, handleId, updateHospitalSnsHandleCommand, options)];
|
|
22084
|
+
case 1:
|
|
22085
|
+
localVarAxiosArgs = _a.sent();
|
|
22086
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
22087
|
+
}
|
|
22088
|
+
});
|
|
22089
|
+
});
|
|
22090
|
+
},
|
|
22091
|
+
/**
|
|
22092
|
+
*
|
|
22093
|
+
* @summary Get HospitalHandle.
|
|
22094
|
+
* @param {string} hospitalId
|
|
22095
|
+
* @param {CreateHospitalSnsHandleCommand} [createHospitalSnsHandleCommand]
|
|
22096
|
+
* @param {*} [options] Override http request option.
|
|
22097
|
+
* @throws {RequiredError}
|
|
22098
|
+
*/
|
|
22099
|
+
apiV1HospitalsHospitalIdHandlesPost: function (hospitalId, createHospitalSnsHandleCommand, options) {
|
|
22100
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
22101
|
+
var localVarAxiosArgs;
|
|
22102
|
+
return __generator(this, function (_a) {
|
|
22103
|
+
switch (_a.label) {
|
|
22104
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdHandlesPost(hospitalId, createHospitalSnsHandleCommand, options)];
|
|
22105
|
+
case 1:
|
|
22106
|
+
localVarAxiosArgs = _a.sent();
|
|
22107
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
22108
|
+
}
|
|
22109
|
+
});
|
|
22110
|
+
});
|
|
22111
|
+
},
|
|
21274
22112
|
/**
|
|
21275
22113
|
*
|
|
21276
22114
|
* @summary Get all HospitalMedias.
|
|
@@ -21612,7 +22450,124 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
21612
22450
|
var localVarAxiosArgs;
|
|
21613
22451
|
return __generator(this, function (_a) {
|
|
21614
22452
|
switch (_a.label) {
|
|
21615
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost(hospitalId, specialtyId, createHospitalServiceCommand, options)];
|
|
22453
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost(hospitalId, specialtyId, createHospitalServiceCommand, options)];
|
|
22454
|
+
case 1:
|
|
22455
|
+
localVarAxiosArgs = _a.sent();
|
|
22456
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
22457
|
+
}
|
|
22458
|
+
});
|
|
22459
|
+
});
|
|
22460
|
+
},
|
|
22461
|
+
/**
|
|
22462
|
+
*
|
|
22463
|
+
* @param {string} hospitalId
|
|
22464
|
+
* @param {string} specialtyId
|
|
22465
|
+
* @param {string} serviceId
|
|
22466
|
+
* @param {*} [options] Override http request option.
|
|
22467
|
+
* @throws {RequiredError}
|
|
22468
|
+
*/
|
|
22469
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete: function (hospitalId, specialtyId, serviceId, options) {
|
|
22470
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
22471
|
+
var localVarAxiosArgs;
|
|
22472
|
+
return __generator(this, function (_a) {
|
|
22473
|
+
switch (_a.label) {
|
|
22474
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete(hospitalId, specialtyId, serviceId, options)];
|
|
22475
|
+
case 1:
|
|
22476
|
+
localVarAxiosArgs = _a.sent();
|
|
22477
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
22478
|
+
}
|
|
22479
|
+
});
|
|
22480
|
+
});
|
|
22481
|
+
},
|
|
22482
|
+
/**
|
|
22483
|
+
*
|
|
22484
|
+
* @param {string} hospitalId
|
|
22485
|
+
* @param {string} specialtyId
|
|
22486
|
+
* @param {string} serviceId
|
|
22487
|
+
* @param {string} [languageCode]
|
|
22488
|
+
* @param {boolean} [returnDefaultValue]
|
|
22489
|
+
* @param {*} [options] Override http request option.
|
|
22490
|
+
* @throws {RequiredError}
|
|
22491
|
+
*/
|
|
22492
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet: function (hospitalId, specialtyId, serviceId, languageCode, returnDefaultValue, options) {
|
|
22493
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
22494
|
+
var localVarAxiosArgs;
|
|
22495
|
+
return __generator(this, function (_a) {
|
|
22496
|
+
switch (_a.label) {
|
|
22497
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, returnDefaultValue, options)];
|
|
22498
|
+
case 1:
|
|
22499
|
+
localVarAxiosArgs = _a.sent();
|
|
22500
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
22501
|
+
}
|
|
22502
|
+
});
|
|
22503
|
+
});
|
|
22504
|
+
},
|
|
22505
|
+
/**
|
|
22506
|
+
*
|
|
22507
|
+
* @summary Get all HospitalServiceMedias.
|
|
22508
|
+
* @param {string} hospitalId
|
|
22509
|
+
* @param {string} specialtyId
|
|
22510
|
+
* @param {string} serviceId
|
|
22511
|
+
* @param {string} [id]
|
|
22512
|
+
* @param {MediaType} [mediaType]
|
|
22513
|
+
* @param {number} [page]
|
|
22514
|
+
* @param {number} [limit]
|
|
22515
|
+
* @param {Date} [lastRetrieved]
|
|
22516
|
+
* @param {*} [options] Override http request option.
|
|
22517
|
+
* @throws {RequiredError}
|
|
22518
|
+
*/
|
|
22519
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet: function (hospitalId, specialtyId, serviceId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
22520
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
22521
|
+
var localVarAxiosArgs;
|
|
22522
|
+
return __generator(this, function (_a) {
|
|
22523
|
+
switch (_a.label) {
|
|
22524
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet(hospitalId, specialtyId, serviceId, id, mediaType, page, limit, lastRetrieved, options)];
|
|
22525
|
+
case 1:
|
|
22526
|
+
localVarAxiosArgs = _a.sent();
|
|
22527
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
22528
|
+
}
|
|
22529
|
+
});
|
|
22530
|
+
});
|
|
22531
|
+
},
|
|
22532
|
+
/**
|
|
22533
|
+
*
|
|
22534
|
+
* @summary Delete HospitalServiceMedia
|
|
22535
|
+
* @param {string} hospitalId
|
|
22536
|
+
* @param {string} specialtyId
|
|
22537
|
+
* @param {string} serviceId
|
|
22538
|
+
* @param {string} mediaId
|
|
22539
|
+
* @param {*} [options] Override http request option.
|
|
22540
|
+
* @throws {RequiredError}
|
|
22541
|
+
*/
|
|
22542
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete: function (hospitalId, specialtyId, serviceId, mediaId, options) {
|
|
22543
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
22544
|
+
var localVarAxiosArgs;
|
|
22545
|
+
return __generator(this, function (_a) {
|
|
22546
|
+
switch (_a.label) {
|
|
22547
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete(hospitalId, specialtyId, serviceId, mediaId, options)];
|
|
22548
|
+
case 1:
|
|
22549
|
+
localVarAxiosArgs = _a.sent();
|
|
22550
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
22551
|
+
}
|
|
22552
|
+
});
|
|
22553
|
+
});
|
|
22554
|
+
},
|
|
22555
|
+
/**
|
|
22556
|
+
*
|
|
22557
|
+
* @summary Get HospitalServiceMedia.
|
|
22558
|
+
* @param {string} hospitalId
|
|
22559
|
+
* @param {string} specialtyId
|
|
22560
|
+
* @param {string} serviceId
|
|
22561
|
+
* @param {string} mediaId
|
|
22562
|
+
* @param {*} [options] Override http request option.
|
|
22563
|
+
* @throws {RequiredError}
|
|
22564
|
+
*/
|
|
22565
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet: function (hospitalId, specialtyId, serviceId, mediaId, options) {
|
|
22566
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
22567
|
+
var localVarAxiosArgs;
|
|
22568
|
+
return __generator(this, function (_a) {
|
|
22569
|
+
switch (_a.label) {
|
|
22570
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet(hospitalId, specialtyId, serviceId, mediaId, options)];
|
|
21616
22571
|
case 1:
|
|
21617
22572
|
localVarAxiosArgs = _a.sent();
|
|
21618
22573
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -21622,18 +22577,21 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
21622
22577
|
},
|
|
21623
22578
|
/**
|
|
21624
22579
|
*
|
|
22580
|
+
* @summary Update HospitalServiceMedia.
|
|
21625
22581
|
* @param {string} hospitalId
|
|
21626
22582
|
* @param {string} specialtyId
|
|
21627
22583
|
* @param {string} serviceId
|
|
22584
|
+
* @param {string} mediaId
|
|
22585
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
21628
22586
|
* @param {*} [options] Override http request option.
|
|
21629
22587
|
* @throws {RequiredError}
|
|
21630
22588
|
*/
|
|
21631
|
-
|
|
22589
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut: function (hospitalId, specialtyId, serviceId, mediaId, updateMediaCommand, options) {
|
|
21632
22590
|
return __awaiter(this, void 0, void 0, function () {
|
|
21633
22591
|
var localVarAxiosArgs;
|
|
21634
22592
|
return __generator(this, function (_a) {
|
|
21635
22593
|
switch (_a.label) {
|
|
21636
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
22594
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut(hospitalId, specialtyId, serviceId, mediaId, updateMediaCommand, options)];
|
|
21637
22595
|
case 1:
|
|
21638
22596
|
localVarAxiosArgs = _a.sent();
|
|
21639
22597
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -21643,20 +22601,20 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
21643
22601
|
},
|
|
21644
22602
|
/**
|
|
21645
22603
|
*
|
|
22604
|
+
* @summary Create HospitalServiceMedia.
|
|
21646
22605
|
* @param {string} hospitalId
|
|
21647
22606
|
* @param {string} specialtyId
|
|
21648
22607
|
* @param {string} serviceId
|
|
21649
|
-
* @param {
|
|
21650
|
-
* @param {boolean} [returnDefaultValue]
|
|
22608
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
21651
22609
|
* @param {*} [options] Override http request option.
|
|
21652
22610
|
* @throws {RequiredError}
|
|
21653
22611
|
*/
|
|
21654
|
-
|
|
22612
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost: function (hospitalId, specialtyId, serviceId, createMediaCommand, options) {
|
|
21655
22613
|
return __awaiter(this, void 0, void 0, function () {
|
|
21656
22614
|
var localVarAxiosArgs;
|
|
21657
22615
|
return __generator(this, function (_a) {
|
|
21658
22616
|
switch (_a.label) {
|
|
21659
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
22617
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost(hospitalId, specialtyId, serviceId, createMediaCommand, options)];
|
|
21660
22618
|
case 1:
|
|
21661
22619
|
localVarAxiosArgs = _a.sent();
|
|
21662
22620
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -21666,24 +22624,20 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
21666
22624
|
},
|
|
21667
22625
|
/**
|
|
21668
22626
|
*
|
|
21669
|
-
* @summary
|
|
22627
|
+
* @summary Update HospitalService.
|
|
21670
22628
|
* @param {string} hospitalId
|
|
21671
22629
|
* @param {string} specialtyId
|
|
21672
22630
|
* @param {string} serviceId
|
|
21673
|
-
* @param {
|
|
21674
|
-
* @param {MediaType} [mediaType]
|
|
21675
|
-
* @param {number} [page]
|
|
21676
|
-
* @param {number} [limit]
|
|
21677
|
-
* @param {Date} [lastRetrieved]
|
|
22631
|
+
* @param {UpdateHospitalServiceCommand} [updateHospitalServiceCommand]
|
|
21678
22632
|
* @param {*} [options] Override http request option.
|
|
21679
22633
|
* @throws {RequiredError}
|
|
21680
22634
|
*/
|
|
21681
|
-
|
|
22635
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut: function (hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options) {
|
|
21682
22636
|
return __awaiter(this, void 0, void 0, function () {
|
|
21683
22637
|
var localVarAxiosArgs;
|
|
21684
22638
|
return __generator(this, function (_a) {
|
|
21685
22639
|
switch (_a.label) {
|
|
21686
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
22640
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options)];
|
|
21687
22641
|
case 1:
|
|
21688
22642
|
localVarAxiosArgs = _a.sent();
|
|
21689
22643
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -21693,20 +22647,26 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
21693
22647
|
},
|
|
21694
22648
|
/**
|
|
21695
22649
|
*
|
|
21696
|
-
* @summary
|
|
22650
|
+
* @summary Get all HospitalWorkingDays.
|
|
21697
22651
|
* @param {string} hospitalId
|
|
21698
|
-
* @param {string}
|
|
21699
|
-
* @param {string}
|
|
21700
|
-
* @param {string}
|
|
22652
|
+
* @param {string} [hospitalId2]
|
|
22653
|
+
* @param {string} [id]
|
|
22654
|
+
* @param {string} [dayOfWeek]
|
|
22655
|
+
* @param {Date} [timeFrom]
|
|
22656
|
+
* @param {Date} [timeTo]
|
|
22657
|
+
* @param {boolean} [checkHoliday]
|
|
22658
|
+
* @param {number} [page]
|
|
22659
|
+
* @param {number} [limit]
|
|
22660
|
+
* @param {Date} [lastRetrieved]
|
|
21701
22661
|
* @param {*} [options] Override http request option.
|
|
21702
22662
|
* @throws {RequiredError}
|
|
21703
22663
|
*/
|
|
21704
|
-
|
|
22664
|
+
apiV1HospitalsHospitalIdWorkingdaysGet: function (hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options) {
|
|
21705
22665
|
return __awaiter(this, void 0, void 0, function () {
|
|
21706
22666
|
var localVarAxiosArgs;
|
|
21707
22667
|
return __generator(this, function (_a) {
|
|
21708
22668
|
switch (_a.label) {
|
|
21709
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
22669
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options)];
|
|
21710
22670
|
case 1:
|
|
21711
22671
|
localVarAxiosArgs = _a.sent();
|
|
21712
22672
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -21716,20 +22676,18 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
21716
22676
|
},
|
|
21717
22677
|
/**
|
|
21718
22678
|
*
|
|
21719
|
-
* @summary
|
|
22679
|
+
* @summary Create HospitalWorkingDay.
|
|
21720
22680
|
* @param {string} hospitalId
|
|
21721
|
-
* @param {
|
|
21722
|
-
* @param {string} serviceId
|
|
21723
|
-
* @param {string} mediaId
|
|
22681
|
+
* @param {CreateHospitalWorkingDayCommand} [createHospitalWorkingDayCommand]
|
|
21724
22682
|
* @param {*} [options] Override http request option.
|
|
21725
22683
|
* @throws {RequiredError}
|
|
21726
22684
|
*/
|
|
21727
|
-
|
|
22685
|
+
apiV1HospitalsHospitalIdWorkingdaysPost: function (hospitalId, createHospitalWorkingDayCommand, options) {
|
|
21728
22686
|
return __awaiter(this, void 0, void 0, function () {
|
|
21729
22687
|
var localVarAxiosArgs;
|
|
21730
22688
|
return __generator(this, function (_a) {
|
|
21731
22689
|
switch (_a.label) {
|
|
21732
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
22690
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysPost(hospitalId, createHospitalWorkingDayCommand, options)];
|
|
21733
22691
|
case 1:
|
|
21734
22692
|
localVarAxiosArgs = _a.sent();
|
|
21735
22693
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -21739,21 +22697,18 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
21739
22697
|
},
|
|
21740
22698
|
/**
|
|
21741
22699
|
*
|
|
21742
|
-
* @summary
|
|
22700
|
+
* @summary Delete HospitalWorkingDay.
|
|
21743
22701
|
* @param {string} hospitalId
|
|
21744
|
-
* @param {string}
|
|
21745
|
-
* @param {string} serviceId
|
|
21746
|
-
* @param {string} mediaId
|
|
21747
|
-
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
22702
|
+
* @param {string} workingDayId
|
|
21748
22703
|
* @param {*} [options] Override http request option.
|
|
21749
22704
|
* @throws {RequiredError}
|
|
21750
22705
|
*/
|
|
21751
|
-
|
|
22706
|
+
apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete: function (hospitalId, workingDayId, options) {
|
|
21752
22707
|
return __awaiter(this, void 0, void 0, function () {
|
|
21753
22708
|
var localVarAxiosArgs;
|
|
21754
22709
|
return __generator(this, function (_a) {
|
|
21755
22710
|
switch (_a.label) {
|
|
21756
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
22711
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete(hospitalId, workingDayId, options)];
|
|
21757
22712
|
case 1:
|
|
21758
22713
|
localVarAxiosArgs = _a.sent();
|
|
21759
22714
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -21763,20 +22718,18 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
21763
22718
|
},
|
|
21764
22719
|
/**
|
|
21765
22720
|
*
|
|
21766
|
-
* @summary
|
|
22721
|
+
* @summary Get HospitalWorkingDay.
|
|
21767
22722
|
* @param {string} hospitalId
|
|
21768
|
-
* @param {string}
|
|
21769
|
-
* @param {string} serviceId
|
|
21770
|
-
* @param {CreateMediaCommand} [createMediaCommand]
|
|
22723
|
+
* @param {string} workingDayId
|
|
21771
22724
|
* @param {*} [options] Override http request option.
|
|
21772
22725
|
* @throws {RequiredError}
|
|
21773
22726
|
*/
|
|
21774
|
-
|
|
22727
|
+
apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet: function (hospitalId, workingDayId, options) {
|
|
21775
22728
|
return __awaiter(this, void 0, void 0, function () {
|
|
21776
22729
|
var localVarAxiosArgs;
|
|
21777
22730
|
return __generator(this, function (_a) {
|
|
21778
22731
|
switch (_a.label) {
|
|
21779
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
22732
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet(hospitalId, workingDayId, options)];
|
|
21780
22733
|
case 1:
|
|
21781
22734
|
localVarAxiosArgs = _a.sent();
|
|
21782
22735
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -21786,20 +22739,19 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
21786
22739
|
},
|
|
21787
22740
|
/**
|
|
21788
22741
|
*
|
|
21789
|
-
* @summary Update
|
|
22742
|
+
* @summary Update HospitalWorkingDay.
|
|
21790
22743
|
* @param {string} hospitalId
|
|
21791
|
-
* @param {string}
|
|
21792
|
-
* @param {
|
|
21793
|
-
* @param {UpdateHospitalServiceCommand} [updateHospitalServiceCommand]
|
|
22744
|
+
* @param {string} workingDayId
|
|
22745
|
+
* @param {UpdateHospitalWorkingDayCommand} [updateHospitalWorkingDayCommand]
|
|
21794
22746
|
* @param {*} [options] Override http request option.
|
|
21795
22747
|
* @throws {RequiredError}
|
|
21796
22748
|
*/
|
|
21797
|
-
|
|
22749
|
+
apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut: function (hospitalId, workingDayId, updateHospitalWorkingDayCommand, options) {
|
|
21798
22750
|
return __awaiter(this, void 0, void 0, function () {
|
|
21799
22751
|
var localVarAxiosArgs;
|
|
21800
22752
|
return __generator(this, function (_a) {
|
|
21801
22753
|
switch (_a.label) {
|
|
21802
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
22754
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut(hospitalId, workingDayId, updateHospitalWorkingDayCommand, options)];
|
|
21803
22755
|
case 1:
|
|
21804
22756
|
localVarAxiosArgs = _a.sent();
|
|
21805
22757
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -21843,18 +22795,19 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
21843
22795
|
* @param {string} [languageCode]
|
|
21844
22796
|
* @param {Array<string>} [ids]
|
|
21845
22797
|
* @param {boolean} [returnDefaultValue]
|
|
22798
|
+
* @param {boolean} [paymentEnabled]
|
|
21846
22799
|
* @param {number} [page]
|
|
21847
22800
|
* @param {number} [limit]
|
|
21848
22801
|
* @param {Date} [lastRetrieved]
|
|
21849
22802
|
* @param {*} [options] Override http request option.
|
|
21850
22803
|
* @throws {RequiredError}
|
|
21851
22804
|
*/
|
|
21852
|
-
apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
22805
|
+
apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
21853
22806
|
return __awaiter(this, void 0, void 0, function () {
|
|
21854
22807
|
var localVarAxiosArgs;
|
|
21855
22808
|
return __generator(this, function (_a) {
|
|
21856
22809
|
switch (_a.label) {
|
|
21857
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
22810
|
+
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)];
|
|
21858
22811
|
case 1:
|
|
21859
22812
|
localVarAxiosArgs = _a.sent();
|
|
21860
22813
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -21908,14 +22861,15 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
21908
22861
|
* @param {string} [languageCode]
|
|
21909
22862
|
* @param {Array<string>} [ids]
|
|
21910
22863
|
* @param {boolean} [returnDefaultValue]
|
|
22864
|
+
* @param {boolean} [paymentEnabled]
|
|
21911
22865
|
* @param {number} [page]
|
|
21912
22866
|
* @param {number} [limit]
|
|
21913
22867
|
* @param {Date} [lastRetrieved]
|
|
21914
22868
|
* @param {*} [options] Override http request option.
|
|
21915
22869
|
* @throws {RequiredError}
|
|
21916
22870
|
*/
|
|
21917
|
-
apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
21918
|
-
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); });
|
|
22871
|
+
apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
22872
|
+
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); });
|
|
21919
22873
|
},
|
|
21920
22874
|
/**
|
|
21921
22875
|
*
|
|
@@ -22178,6 +23132,68 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
22178
23132
|
apiV1HospitalsHospitalIdGet: function (hospitalId, languageCode, returnDefaultValue, options) {
|
|
22179
23133
|
return localVarFp.apiV1HospitalsHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
22180
23134
|
},
|
|
23135
|
+
/**
|
|
23136
|
+
*
|
|
23137
|
+
* @summary Get all HospitalHandles.
|
|
23138
|
+
* @param {string} hospitalId
|
|
23139
|
+
* @param {string} [hospitalId2]
|
|
23140
|
+
* @param {string} [id]
|
|
23141
|
+
* @param {SnsType} [snsType]
|
|
23142
|
+
* @param {string} [handle]
|
|
23143
|
+
* @param {number} [page]
|
|
23144
|
+
* @param {number} [limit]
|
|
23145
|
+
* @param {Date} [lastRetrieved]
|
|
23146
|
+
* @param {*} [options] Override http request option.
|
|
23147
|
+
* @throws {RequiredError}
|
|
23148
|
+
*/
|
|
23149
|
+
apiV1HospitalsHospitalIdHandlesGet: function (hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options) {
|
|
23150
|
+
return localVarFp.apiV1HospitalsHospitalIdHandlesGet(hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
23151
|
+
},
|
|
23152
|
+
/**
|
|
23153
|
+
*
|
|
23154
|
+
* @summary Delete HospitalHandle.
|
|
23155
|
+
* @param {string} hospitalId
|
|
23156
|
+
* @param {string} handleId
|
|
23157
|
+
* @param {*} [options] Override http request option.
|
|
23158
|
+
* @throws {RequiredError}
|
|
23159
|
+
*/
|
|
23160
|
+
apiV1HospitalsHospitalIdHandlesHandleIdDelete: function (hospitalId, handleId, options) {
|
|
23161
|
+
return localVarFp.apiV1HospitalsHospitalIdHandlesHandleIdDelete(hospitalId, handleId, options).then(function (request) { return request(axios, basePath); });
|
|
23162
|
+
},
|
|
23163
|
+
/**
|
|
23164
|
+
*
|
|
23165
|
+
* @summary Get HospitalHandle.
|
|
23166
|
+
* @param {string} hospitalId
|
|
23167
|
+
* @param {string} handleId
|
|
23168
|
+
* @param {*} [options] Override http request option.
|
|
23169
|
+
* @throws {RequiredError}
|
|
23170
|
+
*/
|
|
23171
|
+
apiV1HospitalsHospitalIdHandlesHandleIdGet: function (hospitalId, handleId, options) {
|
|
23172
|
+
return localVarFp.apiV1HospitalsHospitalIdHandlesHandleIdGet(hospitalId, handleId, options).then(function (request) { return request(axios, basePath); });
|
|
23173
|
+
},
|
|
23174
|
+
/**
|
|
23175
|
+
*
|
|
23176
|
+
* @summary Update HospitalHandle.
|
|
23177
|
+
* @param {string} hospitalId
|
|
23178
|
+
* @param {string} handleId
|
|
23179
|
+
* @param {UpdateHospitalSnsHandleCommand} [updateHospitalSnsHandleCommand]
|
|
23180
|
+
* @param {*} [options] Override http request option.
|
|
23181
|
+
* @throws {RequiredError}
|
|
23182
|
+
*/
|
|
23183
|
+
apiV1HospitalsHospitalIdHandlesHandleIdPut: function (hospitalId, handleId, updateHospitalSnsHandleCommand, options) {
|
|
23184
|
+
return localVarFp.apiV1HospitalsHospitalIdHandlesHandleIdPut(hospitalId, handleId, updateHospitalSnsHandleCommand, options).then(function (request) { return request(axios, basePath); });
|
|
23185
|
+
},
|
|
23186
|
+
/**
|
|
23187
|
+
*
|
|
23188
|
+
* @summary Get HospitalHandle.
|
|
23189
|
+
* @param {string} hospitalId
|
|
23190
|
+
* @param {CreateHospitalSnsHandleCommand} [createHospitalSnsHandleCommand]
|
|
23191
|
+
* @param {*} [options] Override http request option.
|
|
23192
|
+
* @throws {RequiredError}
|
|
23193
|
+
*/
|
|
23194
|
+
apiV1HospitalsHospitalIdHandlesPost: function (hospitalId, createHospitalSnsHandleCommand, options) {
|
|
23195
|
+
return localVarFp.apiV1HospitalsHospitalIdHandlesPost(hospitalId, createHospitalSnsHandleCommand, options).then(function (request) { return request(axios, basePath); });
|
|
23196
|
+
},
|
|
22181
23197
|
/**
|
|
22182
23198
|
*
|
|
22183
23199
|
* @summary Get all HospitalMedias.
|
|
@@ -22494,6 +23510,70 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
22494
23510
|
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut: function (hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options) {
|
|
22495
23511
|
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options).then(function (request) { return request(axios, basePath); });
|
|
22496
23512
|
},
|
|
23513
|
+
/**
|
|
23514
|
+
*
|
|
23515
|
+
* @summary Get all HospitalWorkingDays.
|
|
23516
|
+
* @param {string} hospitalId
|
|
23517
|
+
* @param {string} [hospitalId2]
|
|
23518
|
+
* @param {string} [id]
|
|
23519
|
+
* @param {string} [dayOfWeek]
|
|
23520
|
+
* @param {Date} [timeFrom]
|
|
23521
|
+
* @param {Date} [timeTo]
|
|
23522
|
+
* @param {boolean} [checkHoliday]
|
|
23523
|
+
* @param {number} [page]
|
|
23524
|
+
* @param {number} [limit]
|
|
23525
|
+
* @param {Date} [lastRetrieved]
|
|
23526
|
+
* @param {*} [options] Override http request option.
|
|
23527
|
+
* @throws {RequiredError}
|
|
23528
|
+
*/
|
|
23529
|
+
apiV1HospitalsHospitalIdWorkingdaysGet: function (hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options) {
|
|
23530
|
+
return localVarFp.apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
23531
|
+
},
|
|
23532
|
+
/**
|
|
23533
|
+
*
|
|
23534
|
+
* @summary Create HospitalWorkingDay.
|
|
23535
|
+
* @param {string} hospitalId
|
|
23536
|
+
* @param {CreateHospitalWorkingDayCommand} [createHospitalWorkingDayCommand]
|
|
23537
|
+
* @param {*} [options] Override http request option.
|
|
23538
|
+
* @throws {RequiredError}
|
|
23539
|
+
*/
|
|
23540
|
+
apiV1HospitalsHospitalIdWorkingdaysPost: function (hospitalId, createHospitalWorkingDayCommand, options) {
|
|
23541
|
+
return localVarFp.apiV1HospitalsHospitalIdWorkingdaysPost(hospitalId, createHospitalWorkingDayCommand, options).then(function (request) { return request(axios, basePath); });
|
|
23542
|
+
},
|
|
23543
|
+
/**
|
|
23544
|
+
*
|
|
23545
|
+
* @summary Delete HospitalWorkingDay.
|
|
23546
|
+
* @param {string} hospitalId
|
|
23547
|
+
* @param {string} workingDayId
|
|
23548
|
+
* @param {*} [options] Override http request option.
|
|
23549
|
+
* @throws {RequiredError}
|
|
23550
|
+
*/
|
|
23551
|
+
apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete: function (hospitalId, workingDayId, options) {
|
|
23552
|
+
return localVarFp.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete(hospitalId, workingDayId, options).then(function (request) { return request(axios, basePath); });
|
|
23553
|
+
},
|
|
23554
|
+
/**
|
|
23555
|
+
*
|
|
23556
|
+
* @summary Get HospitalWorkingDay.
|
|
23557
|
+
* @param {string} hospitalId
|
|
23558
|
+
* @param {string} workingDayId
|
|
23559
|
+
* @param {*} [options] Override http request option.
|
|
23560
|
+
* @throws {RequiredError}
|
|
23561
|
+
*/
|
|
23562
|
+
apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet: function (hospitalId, workingDayId, options) {
|
|
23563
|
+
return localVarFp.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet(hospitalId, workingDayId, options).then(function (request) { return request(axios, basePath); });
|
|
23564
|
+
},
|
|
23565
|
+
/**
|
|
23566
|
+
*
|
|
23567
|
+
* @summary Update HospitalWorkingDay.
|
|
23568
|
+
* @param {string} hospitalId
|
|
23569
|
+
* @param {string} workingDayId
|
|
23570
|
+
* @param {UpdateHospitalWorkingDayCommand} [updateHospitalWorkingDayCommand]
|
|
23571
|
+
* @param {*} [options] Override http request option.
|
|
23572
|
+
* @throws {RequiredError}
|
|
23573
|
+
*/
|
|
23574
|
+
apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut: function (hospitalId, workingDayId, updateHospitalWorkingDayCommand, options) {
|
|
23575
|
+
return localVarFp.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut(hospitalId, workingDayId, updateHospitalWorkingDayCommand, options).then(function (request) { return request(axios, basePath); });
|
|
23576
|
+
},
|
|
22497
23577
|
/**
|
|
22498
23578
|
*
|
|
22499
23579
|
* @summary Create Hospital.
|
|
@@ -22520,14 +23600,15 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
22520
23600
|
* @param {string} [languageCode]
|
|
22521
23601
|
* @param {Array<string>} [ids]
|
|
22522
23602
|
* @param {boolean} [returnDefaultValue]
|
|
23603
|
+
* @param {boolean} [paymentEnabled]
|
|
22523
23604
|
* @param {number} [page]
|
|
22524
23605
|
* @param {number} [limit]
|
|
22525
23606
|
* @param {Date} [lastRetrieved]
|
|
22526
23607
|
* @param {*} [options] Override http request option.
|
|
22527
23608
|
* @throws {RequiredError}
|
|
22528
23609
|
*/
|
|
22529
|
-
apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
22530
|
-
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); });
|
|
23610
|
+
apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
23611
|
+
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); });
|
|
22531
23612
|
},
|
|
22532
23613
|
/**
|
|
22533
23614
|
*
|
|
@@ -22569,6 +23650,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
22569
23650
|
* @param {string} [languageCode]
|
|
22570
23651
|
* @param {Array<string>} [ids]
|
|
22571
23652
|
* @param {boolean} [returnDefaultValue]
|
|
23653
|
+
* @param {boolean} [paymentEnabled]
|
|
22572
23654
|
* @param {number} [page]
|
|
22573
23655
|
* @param {number} [limit]
|
|
22574
23656
|
* @param {Date} [lastRetrieved]
|
|
@@ -22576,9 +23658,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
22576
23658
|
* @throws {RequiredError}
|
|
22577
23659
|
* @memberof HospitalsApi
|
|
22578
23660
|
*/
|
|
22579
|
-
HospitalsApi.prototype.apiV1HospitalsGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
23661
|
+
HospitalsApi.prototype.apiV1HospitalsGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
22580
23662
|
var _this = this;
|
|
22581
|
-
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); });
|
|
23663
|
+
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); });
|
|
22582
23664
|
};
|
|
22583
23665
|
/**
|
|
22584
23666
|
*
|
|
@@ -22883,6 +23965,78 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
22883
23965
|
var _this = this;
|
|
22884
23966
|
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
22885
23967
|
};
|
|
23968
|
+
/**
|
|
23969
|
+
*
|
|
23970
|
+
* @summary Get all HospitalHandles.
|
|
23971
|
+
* @param {string} hospitalId
|
|
23972
|
+
* @param {string} [hospitalId2]
|
|
23973
|
+
* @param {string} [id]
|
|
23974
|
+
* @param {SnsType} [snsType]
|
|
23975
|
+
* @param {string} [handle]
|
|
23976
|
+
* @param {number} [page]
|
|
23977
|
+
* @param {number} [limit]
|
|
23978
|
+
* @param {Date} [lastRetrieved]
|
|
23979
|
+
* @param {*} [options] Override http request option.
|
|
23980
|
+
* @throws {RequiredError}
|
|
23981
|
+
* @memberof HospitalsApi
|
|
23982
|
+
*/
|
|
23983
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdHandlesGet = function (hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options) {
|
|
23984
|
+
var _this = this;
|
|
23985
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdHandlesGet(hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
23986
|
+
};
|
|
23987
|
+
/**
|
|
23988
|
+
*
|
|
23989
|
+
* @summary Delete HospitalHandle.
|
|
23990
|
+
* @param {string} hospitalId
|
|
23991
|
+
* @param {string} handleId
|
|
23992
|
+
* @param {*} [options] Override http request option.
|
|
23993
|
+
* @throws {RequiredError}
|
|
23994
|
+
* @memberof HospitalsApi
|
|
23995
|
+
*/
|
|
23996
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdHandlesHandleIdDelete = function (hospitalId, handleId, options) {
|
|
23997
|
+
var _this = this;
|
|
23998
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdHandlesHandleIdDelete(hospitalId, handleId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
23999
|
+
};
|
|
24000
|
+
/**
|
|
24001
|
+
*
|
|
24002
|
+
* @summary Get HospitalHandle.
|
|
24003
|
+
* @param {string} hospitalId
|
|
24004
|
+
* @param {string} handleId
|
|
24005
|
+
* @param {*} [options] Override http request option.
|
|
24006
|
+
* @throws {RequiredError}
|
|
24007
|
+
* @memberof HospitalsApi
|
|
24008
|
+
*/
|
|
24009
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdHandlesHandleIdGet = function (hospitalId, handleId, options) {
|
|
24010
|
+
var _this = this;
|
|
24011
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdHandlesHandleIdGet(hospitalId, handleId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
24012
|
+
};
|
|
24013
|
+
/**
|
|
24014
|
+
*
|
|
24015
|
+
* @summary Update HospitalHandle.
|
|
24016
|
+
* @param {string} hospitalId
|
|
24017
|
+
* @param {string} handleId
|
|
24018
|
+
* @param {UpdateHospitalSnsHandleCommand} [updateHospitalSnsHandleCommand]
|
|
24019
|
+
* @param {*} [options] Override http request option.
|
|
24020
|
+
* @throws {RequiredError}
|
|
24021
|
+
* @memberof HospitalsApi
|
|
24022
|
+
*/
|
|
24023
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdHandlesHandleIdPut = function (hospitalId, handleId, updateHospitalSnsHandleCommand, options) {
|
|
24024
|
+
var _this = this;
|
|
24025
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdHandlesHandleIdPut(hospitalId, handleId, updateHospitalSnsHandleCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
24026
|
+
};
|
|
24027
|
+
/**
|
|
24028
|
+
*
|
|
24029
|
+
* @summary Get HospitalHandle.
|
|
24030
|
+
* @param {string} hospitalId
|
|
24031
|
+
* @param {CreateHospitalSnsHandleCommand} [createHospitalSnsHandleCommand]
|
|
24032
|
+
* @param {*} [options] Override http request option.
|
|
24033
|
+
* @throws {RequiredError}
|
|
24034
|
+
* @memberof HospitalsApi
|
|
24035
|
+
*/
|
|
24036
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdHandlesPost = function (hospitalId, createHospitalSnsHandleCommand, options) {
|
|
24037
|
+
var _this = this;
|
|
24038
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdHandlesPost(hospitalId, createHospitalSnsHandleCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
24039
|
+
};
|
|
22886
24040
|
/**
|
|
22887
24041
|
*
|
|
22888
24042
|
* @summary Get all HospitalMedias.
|
|
@@ -23243,6 +24397,80 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
23243
24397
|
var _this = this;
|
|
23244
24398
|
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
23245
24399
|
};
|
|
24400
|
+
/**
|
|
24401
|
+
*
|
|
24402
|
+
* @summary Get all HospitalWorkingDays.
|
|
24403
|
+
* @param {string} hospitalId
|
|
24404
|
+
* @param {string} [hospitalId2]
|
|
24405
|
+
* @param {string} [id]
|
|
24406
|
+
* @param {string} [dayOfWeek]
|
|
24407
|
+
* @param {Date} [timeFrom]
|
|
24408
|
+
* @param {Date} [timeTo]
|
|
24409
|
+
* @param {boolean} [checkHoliday]
|
|
24410
|
+
* @param {number} [page]
|
|
24411
|
+
* @param {number} [limit]
|
|
24412
|
+
* @param {Date} [lastRetrieved]
|
|
24413
|
+
* @param {*} [options] Override http request option.
|
|
24414
|
+
* @throws {RequiredError}
|
|
24415
|
+
* @memberof HospitalsApi
|
|
24416
|
+
*/
|
|
24417
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdWorkingdaysGet = function (hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options) {
|
|
24418
|
+
var _this = this;
|
|
24419
|
+
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); });
|
|
24420
|
+
};
|
|
24421
|
+
/**
|
|
24422
|
+
*
|
|
24423
|
+
* @summary Create HospitalWorkingDay.
|
|
24424
|
+
* @param {string} hospitalId
|
|
24425
|
+
* @param {CreateHospitalWorkingDayCommand} [createHospitalWorkingDayCommand]
|
|
24426
|
+
* @param {*} [options] Override http request option.
|
|
24427
|
+
* @throws {RequiredError}
|
|
24428
|
+
* @memberof HospitalsApi
|
|
24429
|
+
*/
|
|
24430
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdWorkingdaysPost = function (hospitalId, createHospitalWorkingDayCommand, options) {
|
|
24431
|
+
var _this = this;
|
|
24432
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdWorkingdaysPost(hospitalId, createHospitalWorkingDayCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
24433
|
+
};
|
|
24434
|
+
/**
|
|
24435
|
+
*
|
|
24436
|
+
* @summary Delete HospitalWorkingDay.
|
|
24437
|
+
* @param {string} hospitalId
|
|
24438
|
+
* @param {string} workingDayId
|
|
24439
|
+
* @param {*} [options] Override http request option.
|
|
24440
|
+
* @throws {RequiredError}
|
|
24441
|
+
* @memberof HospitalsApi
|
|
24442
|
+
*/
|
|
24443
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete = function (hospitalId, workingDayId, options) {
|
|
24444
|
+
var _this = this;
|
|
24445
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete(hospitalId, workingDayId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
24446
|
+
};
|
|
24447
|
+
/**
|
|
24448
|
+
*
|
|
24449
|
+
* @summary Get HospitalWorkingDay.
|
|
24450
|
+
* @param {string} hospitalId
|
|
24451
|
+
* @param {string} workingDayId
|
|
24452
|
+
* @param {*} [options] Override http request option.
|
|
24453
|
+
* @throws {RequiredError}
|
|
24454
|
+
* @memberof HospitalsApi
|
|
24455
|
+
*/
|
|
24456
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet = function (hospitalId, workingDayId, options) {
|
|
24457
|
+
var _this = this;
|
|
24458
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet(hospitalId, workingDayId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
24459
|
+
};
|
|
24460
|
+
/**
|
|
24461
|
+
*
|
|
24462
|
+
* @summary Update HospitalWorkingDay.
|
|
24463
|
+
* @param {string} hospitalId
|
|
24464
|
+
* @param {string} workingDayId
|
|
24465
|
+
* @param {UpdateHospitalWorkingDayCommand} [updateHospitalWorkingDayCommand]
|
|
24466
|
+
* @param {*} [options] Override http request option.
|
|
24467
|
+
* @throws {RequiredError}
|
|
24468
|
+
* @memberof HospitalsApi
|
|
24469
|
+
*/
|
|
24470
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut = function (hospitalId, workingDayId, updateHospitalWorkingDayCommand, options) {
|
|
24471
|
+
var _this = this;
|
|
24472
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut(hospitalId, workingDayId, updateHospitalWorkingDayCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
24473
|
+
};
|
|
23246
24474
|
/**
|
|
23247
24475
|
*
|
|
23248
24476
|
* @summary Create Hospital.
|
|
@@ -23271,6 +24499,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
23271
24499
|
* @param {string} [languageCode]
|
|
23272
24500
|
* @param {Array<string>} [ids]
|
|
23273
24501
|
* @param {boolean} [returnDefaultValue]
|
|
24502
|
+
* @param {boolean} [paymentEnabled]
|
|
23274
24503
|
* @param {number} [page]
|
|
23275
24504
|
* @param {number} [limit]
|
|
23276
24505
|
* @param {Date} [lastRetrieved]
|
|
@@ -23278,9 +24507,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
23278
24507
|
* @throws {RequiredError}
|
|
23279
24508
|
* @memberof HospitalsApi
|
|
23280
24509
|
*/
|
|
23281
|
-
HospitalsApi.prototype.apiV1HospitalsSimpleGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
24510
|
+
HospitalsApi.prototype.apiV1HospitalsSimpleGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
23282
24511
|
var _this = this;
|
|
23283
|
-
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); });
|
|
24512
|
+
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); });
|
|
23284
24513
|
};
|
|
23285
24514
|
/**
|
|
23286
24515
|
*
|