ch-admin-api-client-typescript 2.9.6 → 2.9.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api.d.ts +961 -147
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +1354 -302
- package/package.json +1 -1
- package/src/api.ts +2387 -1083
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
|
*
|
|
@@ -18023,13 +18025,14 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
18023
18025
|
* @param {string} [languageCode]
|
|
18024
18026
|
* @param {Array<string>} [ids]
|
|
18025
18027
|
* @param {boolean} [returnDefaultValue]
|
|
18028
|
+
* @param {boolean} [paymentEnabled]
|
|
18026
18029
|
* @param {number} [page]
|
|
18027
18030
|
* @param {number} [limit]
|
|
18028
18031
|
* @param {Date} [lastRetrieved]
|
|
18029
18032
|
* @param {*} [options] Override http request option.
|
|
18030
18033
|
* @throws {RequiredError}
|
|
18031
18034
|
*/
|
|
18032
|
-
apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
18035
|
+
apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
18033
18036
|
if (options === void 0) { options = {}; }
|
|
18034
18037
|
return __awaiter(_this, void 0, void 0, function () {
|
|
18035
18038
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -18092,6 +18095,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
18092
18095
|
if (returnDefaultValue !== undefined) {
|
|
18093
18096
|
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
18094
18097
|
}
|
|
18098
|
+
if (paymentEnabled !== undefined) {
|
|
18099
|
+
localVarQueryParameter['PaymentEnabled'] = paymentEnabled;
|
|
18100
|
+
}
|
|
18095
18101
|
if (page !== undefined) {
|
|
18096
18102
|
localVarQueryParameter['page'] = page;
|
|
18097
18103
|
}
|
|
@@ -19225,6 +19231,269 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
19225
19231
|
});
|
|
19226
19232
|
});
|
|
19227
19233
|
},
|
|
19234
|
+
/**
|
|
19235
|
+
*
|
|
19236
|
+
* @summary Get all HospitalHandles.
|
|
19237
|
+
* @param {string} hospitalId
|
|
19238
|
+
* @param {string} [hospitalId2]
|
|
19239
|
+
* @param {string} [id]
|
|
19240
|
+
* @param {SnsType} [snsType]
|
|
19241
|
+
* @param {string} [handle]
|
|
19242
|
+
* @param {number} [page]
|
|
19243
|
+
* @param {number} [limit]
|
|
19244
|
+
* @param {Date} [lastRetrieved]
|
|
19245
|
+
* @param {*} [options] Override http request option.
|
|
19246
|
+
* @throws {RequiredError}
|
|
19247
|
+
*/
|
|
19248
|
+
apiV1HospitalsHospitalIdHandlesGet: function (hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options) {
|
|
19249
|
+
if (options === void 0) { options = {}; }
|
|
19250
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
19251
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
19252
|
+
return __generator(this, function (_a) {
|
|
19253
|
+
switch (_a.label) {
|
|
19254
|
+
case 0:
|
|
19255
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
19256
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdHandlesGet', 'hospitalId', hospitalId);
|
|
19257
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/handles"
|
|
19258
|
+
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)));
|
|
19259
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19260
|
+
if (configuration) {
|
|
19261
|
+
baseOptions = configuration.baseOptions;
|
|
19262
|
+
}
|
|
19263
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
19264
|
+
localVarHeaderParameter = {};
|
|
19265
|
+
localVarQueryParameter = {};
|
|
19266
|
+
// authentication oauth2 required
|
|
19267
|
+
// oauth required
|
|
19268
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
19269
|
+
case 1:
|
|
19270
|
+
// authentication oauth2 required
|
|
19271
|
+
// oauth required
|
|
19272
|
+
_a.sent();
|
|
19273
|
+
if (hospitalId2 !== undefined) {
|
|
19274
|
+
localVarQueryParameter['HospitalId'] = hospitalId2;
|
|
19275
|
+
}
|
|
19276
|
+
if (id !== undefined) {
|
|
19277
|
+
localVarQueryParameter['Id'] = id;
|
|
19278
|
+
}
|
|
19279
|
+
if (snsType !== undefined) {
|
|
19280
|
+
localVarQueryParameter['SnsType'] = snsType;
|
|
19281
|
+
}
|
|
19282
|
+
if (handle !== undefined) {
|
|
19283
|
+
localVarQueryParameter['Handle'] = handle;
|
|
19284
|
+
}
|
|
19285
|
+
if (page !== undefined) {
|
|
19286
|
+
localVarQueryParameter['page'] = page;
|
|
19287
|
+
}
|
|
19288
|
+
if (limit !== undefined) {
|
|
19289
|
+
localVarQueryParameter['limit'] = limit;
|
|
19290
|
+
}
|
|
19291
|
+
if (lastRetrieved !== undefined) {
|
|
19292
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
19293
|
+
lastRetrieved.toISOString() :
|
|
19294
|
+
lastRetrieved;
|
|
19295
|
+
}
|
|
19296
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19297
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19298
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
19299
|
+
return [2 /*return*/, {
|
|
19300
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
19301
|
+
options: localVarRequestOptions,
|
|
19302
|
+
}];
|
|
19303
|
+
}
|
|
19304
|
+
});
|
|
19305
|
+
});
|
|
19306
|
+
},
|
|
19307
|
+
/**
|
|
19308
|
+
*
|
|
19309
|
+
* @summary Delete HospitalHandle.
|
|
19310
|
+
* @param {string} hospitalId
|
|
19311
|
+
* @param {string} handleId
|
|
19312
|
+
* @param {*} [options] Override http request option.
|
|
19313
|
+
* @throws {RequiredError}
|
|
19314
|
+
*/
|
|
19315
|
+
apiV1HospitalsHospitalIdHandlesHandleIdDelete: function (hospitalId, handleId, options) {
|
|
19316
|
+
if (options === void 0) { options = {}; }
|
|
19317
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
19318
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
19319
|
+
return __generator(this, function (_a) {
|
|
19320
|
+
switch (_a.label) {
|
|
19321
|
+
case 0:
|
|
19322
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
19323
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdDelete', 'hospitalId', hospitalId);
|
|
19324
|
+
// verify required parameter 'handleId' is not null or undefined
|
|
19325
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdDelete', 'handleId', handleId);
|
|
19326
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/handles/{handleId}"
|
|
19327
|
+
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
19328
|
+
.replace("{" + "handleId" + "}", encodeURIComponent(String(handleId)));
|
|
19329
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19330
|
+
if (configuration) {
|
|
19331
|
+
baseOptions = configuration.baseOptions;
|
|
19332
|
+
}
|
|
19333
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
19334
|
+
localVarHeaderParameter = {};
|
|
19335
|
+
localVarQueryParameter = {};
|
|
19336
|
+
// authentication oauth2 required
|
|
19337
|
+
// oauth required
|
|
19338
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
19339
|
+
case 1:
|
|
19340
|
+
// authentication oauth2 required
|
|
19341
|
+
// oauth required
|
|
19342
|
+
_a.sent();
|
|
19343
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19344
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19345
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
19346
|
+
return [2 /*return*/, {
|
|
19347
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
19348
|
+
options: localVarRequestOptions,
|
|
19349
|
+
}];
|
|
19350
|
+
}
|
|
19351
|
+
});
|
|
19352
|
+
});
|
|
19353
|
+
},
|
|
19354
|
+
/**
|
|
19355
|
+
*
|
|
19356
|
+
* @summary Get HospitalHandle.
|
|
19357
|
+
* @param {string} hospitalId
|
|
19358
|
+
* @param {string} handleId
|
|
19359
|
+
* @param {*} [options] Override http request option.
|
|
19360
|
+
* @throws {RequiredError}
|
|
19361
|
+
*/
|
|
19362
|
+
apiV1HospitalsHospitalIdHandlesHandleIdGet: function (hospitalId, handleId, options) {
|
|
19363
|
+
if (options === void 0) { options = {}; }
|
|
19364
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
19365
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
19366
|
+
return __generator(this, function (_a) {
|
|
19367
|
+
switch (_a.label) {
|
|
19368
|
+
case 0:
|
|
19369
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
19370
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdGet', 'hospitalId', hospitalId);
|
|
19371
|
+
// verify required parameter 'handleId' is not null or undefined
|
|
19372
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdGet', 'handleId', handleId);
|
|
19373
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/handles/{handleId}"
|
|
19374
|
+
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
19375
|
+
.replace("{" + "handleId" + "}", encodeURIComponent(String(handleId)));
|
|
19376
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19377
|
+
if (configuration) {
|
|
19378
|
+
baseOptions = configuration.baseOptions;
|
|
19379
|
+
}
|
|
19380
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
19381
|
+
localVarHeaderParameter = {};
|
|
19382
|
+
localVarQueryParameter = {};
|
|
19383
|
+
// authentication oauth2 required
|
|
19384
|
+
// oauth required
|
|
19385
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
19386
|
+
case 1:
|
|
19387
|
+
// authentication oauth2 required
|
|
19388
|
+
// oauth required
|
|
19389
|
+
_a.sent();
|
|
19390
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19391
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19392
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
19393
|
+
return [2 /*return*/, {
|
|
19394
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
19395
|
+
options: localVarRequestOptions,
|
|
19396
|
+
}];
|
|
19397
|
+
}
|
|
19398
|
+
});
|
|
19399
|
+
});
|
|
19400
|
+
},
|
|
19401
|
+
/**
|
|
19402
|
+
*
|
|
19403
|
+
* @summary Update HospitalHandle.
|
|
19404
|
+
* @param {string} hospitalId
|
|
19405
|
+
* @param {string} handleId
|
|
19406
|
+
* @param {UpdateHospitalSnsHandleCommand} [updateHospitalSnsHandleCommand]
|
|
19407
|
+
* @param {*} [options] Override http request option.
|
|
19408
|
+
* @throws {RequiredError}
|
|
19409
|
+
*/
|
|
19410
|
+
apiV1HospitalsHospitalIdHandlesHandleIdPut: function (hospitalId, handleId, updateHospitalSnsHandleCommand, options) {
|
|
19411
|
+
if (options === void 0) { options = {}; }
|
|
19412
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
19413
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
19414
|
+
return __generator(this, function (_a) {
|
|
19415
|
+
switch (_a.label) {
|
|
19416
|
+
case 0:
|
|
19417
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
19418
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdPut', 'hospitalId', hospitalId);
|
|
19419
|
+
// verify required parameter 'handleId' is not null or undefined
|
|
19420
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdPut', 'handleId', handleId);
|
|
19421
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/handles/{handleId}"
|
|
19422
|
+
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
19423
|
+
.replace("{" + "handleId" + "}", encodeURIComponent(String(handleId)));
|
|
19424
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19425
|
+
if (configuration) {
|
|
19426
|
+
baseOptions = configuration.baseOptions;
|
|
19427
|
+
}
|
|
19428
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
19429
|
+
localVarHeaderParameter = {};
|
|
19430
|
+
localVarQueryParameter = {};
|
|
19431
|
+
// authentication oauth2 required
|
|
19432
|
+
// oauth required
|
|
19433
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
19434
|
+
case 1:
|
|
19435
|
+
// authentication oauth2 required
|
|
19436
|
+
// oauth required
|
|
19437
|
+
_a.sent();
|
|
19438
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
19439
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19440
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19441
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
19442
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateHospitalSnsHandleCommand, localVarRequestOptions, configuration);
|
|
19443
|
+
return [2 /*return*/, {
|
|
19444
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
19445
|
+
options: localVarRequestOptions,
|
|
19446
|
+
}];
|
|
19447
|
+
}
|
|
19448
|
+
});
|
|
19449
|
+
});
|
|
19450
|
+
},
|
|
19451
|
+
/**
|
|
19452
|
+
*
|
|
19453
|
+
* @summary Get HospitalHandle.
|
|
19454
|
+
* @param {string} hospitalId
|
|
19455
|
+
* @param {CreateHospitalSnsHandleCommand} [createHospitalSnsHandleCommand]
|
|
19456
|
+
* @param {*} [options] Override http request option.
|
|
19457
|
+
* @throws {RequiredError}
|
|
19458
|
+
*/
|
|
19459
|
+
apiV1HospitalsHospitalIdHandlesPost: function (hospitalId, createHospitalSnsHandleCommand, options) {
|
|
19460
|
+
if (options === void 0) { options = {}; }
|
|
19461
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
19462
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
19463
|
+
return __generator(this, function (_a) {
|
|
19464
|
+
switch (_a.label) {
|
|
19465
|
+
case 0:
|
|
19466
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
19467
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdHandlesPost', 'hospitalId', hospitalId);
|
|
19468
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/handles"
|
|
19469
|
+
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)));
|
|
19470
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19471
|
+
if (configuration) {
|
|
19472
|
+
baseOptions = configuration.baseOptions;
|
|
19473
|
+
}
|
|
19474
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
19475
|
+
localVarHeaderParameter = {};
|
|
19476
|
+
localVarQueryParameter = {};
|
|
19477
|
+
// authentication oauth2 required
|
|
19478
|
+
// oauth required
|
|
19479
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
19480
|
+
case 1:
|
|
19481
|
+
// authentication oauth2 required
|
|
19482
|
+
// oauth required
|
|
19483
|
+
_a.sent();
|
|
19484
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
19485
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19486
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19487
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
19488
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(createHospitalSnsHandleCommand, localVarRequestOptions, configuration);
|
|
19489
|
+
return [2 /*return*/, {
|
|
19490
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
19491
|
+
options: localVarRequestOptions,
|
|
19492
|
+
}];
|
|
19493
|
+
}
|
|
19494
|
+
});
|
|
19495
|
+
});
|
|
19496
|
+
},
|
|
19228
19497
|
/**
|
|
19229
19498
|
*
|
|
19230
19499
|
* @summary Get all HospitalMedias.
|
|
@@ -20426,14 +20695,302 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
20426
20695
|
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut', 'mediaId', mediaId);
|
|
20427
20696
|
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/medias/{mediaId}"
|
|
20428
20697
|
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
20429
|
-
.replace("{" + "specialtyId" + "}", encodeURIComponent(String(specialtyId)))
|
|
20430
|
-
.replace("{" + "serviceId" + "}", encodeURIComponent(String(serviceId)))
|
|
20431
|
-
.replace("{" + "mediaId" + "}", encodeURIComponent(String(mediaId)));
|
|
20698
|
+
.replace("{" + "specialtyId" + "}", encodeURIComponent(String(specialtyId)))
|
|
20699
|
+
.replace("{" + "serviceId" + "}", encodeURIComponent(String(serviceId)))
|
|
20700
|
+
.replace("{" + "mediaId" + "}", encodeURIComponent(String(mediaId)));
|
|
20701
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20702
|
+
if (configuration) {
|
|
20703
|
+
baseOptions = configuration.baseOptions;
|
|
20704
|
+
}
|
|
20705
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
20706
|
+
localVarHeaderParameter = {};
|
|
20707
|
+
localVarQueryParameter = {};
|
|
20708
|
+
// authentication oauth2 required
|
|
20709
|
+
// oauth required
|
|
20710
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
20711
|
+
case 1:
|
|
20712
|
+
// authentication oauth2 required
|
|
20713
|
+
// oauth required
|
|
20714
|
+
_a.sent();
|
|
20715
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
20716
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20717
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20718
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
20719
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateMediaCommand, localVarRequestOptions, configuration);
|
|
20720
|
+
return [2 /*return*/, {
|
|
20721
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
20722
|
+
options: localVarRequestOptions,
|
|
20723
|
+
}];
|
|
20724
|
+
}
|
|
20725
|
+
});
|
|
20726
|
+
});
|
|
20727
|
+
},
|
|
20728
|
+
/**
|
|
20729
|
+
*
|
|
20730
|
+
* @summary Create HospitalServiceMedia.
|
|
20731
|
+
* @param {string} hospitalId
|
|
20732
|
+
* @param {string} specialtyId
|
|
20733
|
+
* @param {string} serviceId
|
|
20734
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
20735
|
+
* @param {*} [options] Override http request option.
|
|
20736
|
+
* @throws {RequiredError}
|
|
20737
|
+
*/
|
|
20738
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost: function (hospitalId, specialtyId, serviceId, createMediaCommand, options) {
|
|
20739
|
+
if (options === void 0) { options = {}; }
|
|
20740
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
20741
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
20742
|
+
return __generator(this, function (_a) {
|
|
20743
|
+
switch (_a.label) {
|
|
20744
|
+
case 0:
|
|
20745
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
20746
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost', 'hospitalId', hospitalId);
|
|
20747
|
+
// verify required parameter 'specialtyId' is not null or undefined
|
|
20748
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost', 'specialtyId', specialtyId);
|
|
20749
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
20750
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost', 'serviceId', serviceId);
|
|
20751
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/medias"
|
|
20752
|
+
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
20753
|
+
.replace("{" + "specialtyId" + "}", encodeURIComponent(String(specialtyId)))
|
|
20754
|
+
.replace("{" + "serviceId" + "}", encodeURIComponent(String(serviceId)));
|
|
20755
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20756
|
+
if (configuration) {
|
|
20757
|
+
baseOptions = configuration.baseOptions;
|
|
20758
|
+
}
|
|
20759
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
20760
|
+
localVarHeaderParameter = {};
|
|
20761
|
+
localVarQueryParameter = {};
|
|
20762
|
+
// authentication oauth2 required
|
|
20763
|
+
// oauth required
|
|
20764
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
20765
|
+
case 1:
|
|
20766
|
+
// authentication oauth2 required
|
|
20767
|
+
// oauth required
|
|
20768
|
+
_a.sent();
|
|
20769
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
20770
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20771
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20772
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
20773
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(createMediaCommand, localVarRequestOptions, configuration);
|
|
20774
|
+
return [2 /*return*/, {
|
|
20775
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
20776
|
+
options: localVarRequestOptions,
|
|
20777
|
+
}];
|
|
20778
|
+
}
|
|
20779
|
+
});
|
|
20780
|
+
});
|
|
20781
|
+
},
|
|
20782
|
+
/**
|
|
20783
|
+
*
|
|
20784
|
+
* @summary Update HospitalService.
|
|
20785
|
+
* @param {string} hospitalId
|
|
20786
|
+
* @param {string} specialtyId
|
|
20787
|
+
* @param {string} serviceId
|
|
20788
|
+
* @param {UpdateHospitalServiceCommand} [updateHospitalServiceCommand]
|
|
20789
|
+
* @param {*} [options] Override http request option.
|
|
20790
|
+
* @throws {RequiredError}
|
|
20791
|
+
*/
|
|
20792
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut: function (hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options) {
|
|
20793
|
+
if (options === void 0) { options = {}; }
|
|
20794
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
20795
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
20796
|
+
return __generator(this, function (_a) {
|
|
20797
|
+
switch (_a.label) {
|
|
20798
|
+
case 0:
|
|
20799
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
20800
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut', 'hospitalId', hospitalId);
|
|
20801
|
+
// verify required parameter 'specialtyId' is not null or undefined
|
|
20802
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut', 'specialtyId', specialtyId);
|
|
20803
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
20804
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut', 'serviceId', serviceId);
|
|
20805
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}"
|
|
20806
|
+
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
20807
|
+
.replace("{" + "specialtyId" + "}", encodeURIComponent(String(specialtyId)))
|
|
20808
|
+
.replace("{" + "serviceId" + "}", encodeURIComponent(String(serviceId)));
|
|
20809
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20810
|
+
if (configuration) {
|
|
20811
|
+
baseOptions = configuration.baseOptions;
|
|
20812
|
+
}
|
|
20813
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
20814
|
+
localVarHeaderParameter = {};
|
|
20815
|
+
localVarQueryParameter = {};
|
|
20816
|
+
// authentication oauth2 required
|
|
20817
|
+
// oauth required
|
|
20818
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
20819
|
+
case 1:
|
|
20820
|
+
// authentication oauth2 required
|
|
20821
|
+
// oauth required
|
|
20822
|
+
_a.sent();
|
|
20823
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
20824
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20825
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20826
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
20827
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateHospitalServiceCommand, localVarRequestOptions, configuration);
|
|
20828
|
+
return [2 /*return*/, {
|
|
20829
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
20830
|
+
options: localVarRequestOptions,
|
|
20831
|
+
}];
|
|
20832
|
+
}
|
|
20833
|
+
});
|
|
20834
|
+
});
|
|
20835
|
+
},
|
|
20836
|
+
/**
|
|
20837
|
+
*
|
|
20838
|
+
* @summary Get all HospitalWorkingDays.
|
|
20839
|
+
* @param {string} hospitalId
|
|
20840
|
+
* @param {string} [hospitalId2]
|
|
20841
|
+
* @param {string} [id]
|
|
20842
|
+
* @param {string} [dayOfWeek]
|
|
20843
|
+
* @param {Date} [timeFrom]
|
|
20844
|
+
* @param {Date} [timeTo]
|
|
20845
|
+
* @param {boolean} [checkHoliday]
|
|
20846
|
+
* @param {number} [page]
|
|
20847
|
+
* @param {number} [limit]
|
|
20848
|
+
* @param {Date} [lastRetrieved]
|
|
20849
|
+
* @param {*} [options] Override http request option.
|
|
20850
|
+
* @throws {RequiredError}
|
|
20851
|
+
*/
|
|
20852
|
+
apiV1HospitalsHospitalIdWorkingdaysGet: function (hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options) {
|
|
20853
|
+
if (options === void 0) { options = {}; }
|
|
20854
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
20855
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
20856
|
+
return __generator(this, function (_a) {
|
|
20857
|
+
switch (_a.label) {
|
|
20858
|
+
case 0:
|
|
20859
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
20860
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdWorkingdaysGet', 'hospitalId', hospitalId);
|
|
20861
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/workingdays"
|
|
20862
|
+
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)));
|
|
20863
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20864
|
+
if (configuration) {
|
|
20865
|
+
baseOptions = configuration.baseOptions;
|
|
20866
|
+
}
|
|
20867
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
20868
|
+
localVarHeaderParameter = {};
|
|
20869
|
+
localVarQueryParameter = {};
|
|
20870
|
+
// authentication oauth2 required
|
|
20871
|
+
// oauth required
|
|
20872
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
20873
|
+
case 1:
|
|
20874
|
+
// authentication oauth2 required
|
|
20875
|
+
// oauth required
|
|
20876
|
+
_a.sent();
|
|
20877
|
+
if (hospitalId2 !== undefined) {
|
|
20878
|
+
localVarQueryParameter['HospitalId'] = hospitalId2;
|
|
20879
|
+
}
|
|
20880
|
+
if (id !== undefined) {
|
|
20881
|
+
localVarQueryParameter['Id'] = id;
|
|
20882
|
+
}
|
|
20883
|
+
if (dayOfWeek !== undefined) {
|
|
20884
|
+
localVarQueryParameter['DayOfWeek'] = dayOfWeek;
|
|
20885
|
+
}
|
|
20886
|
+
if (timeFrom !== undefined) {
|
|
20887
|
+
localVarQueryParameter['TimeFrom'] = (timeFrom instanceof Date) ?
|
|
20888
|
+
timeFrom.toISOString() :
|
|
20889
|
+
timeFrom;
|
|
20890
|
+
}
|
|
20891
|
+
if (timeTo !== undefined) {
|
|
20892
|
+
localVarQueryParameter['TimeTo'] = (timeTo instanceof Date) ?
|
|
20893
|
+
timeTo.toISOString() :
|
|
20894
|
+
timeTo;
|
|
20895
|
+
}
|
|
20896
|
+
if (checkHoliday !== undefined) {
|
|
20897
|
+
localVarQueryParameter['CheckHoliday'] = checkHoliday;
|
|
20898
|
+
}
|
|
20899
|
+
if (page !== undefined) {
|
|
20900
|
+
localVarQueryParameter['page'] = page;
|
|
20901
|
+
}
|
|
20902
|
+
if (limit !== undefined) {
|
|
20903
|
+
localVarQueryParameter['limit'] = limit;
|
|
20904
|
+
}
|
|
20905
|
+
if (lastRetrieved !== undefined) {
|
|
20906
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
20907
|
+
lastRetrieved.toISOString() :
|
|
20908
|
+
lastRetrieved;
|
|
20909
|
+
}
|
|
20910
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20911
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20912
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
20913
|
+
return [2 /*return*/, {
|
|
20914
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
20915
|
+
options: localVarRequestOptions,
|
|
20916
|
+
}];
|
|
20917
|
+
}
|
|
20918
|
+
});
|
|
20919
|
+
});
|
|
20920
|
+
},
|
|
20921
|
+
/**
|
|
20922
|
+
*
|
|
20923
|
+
* @summary Create HospitalWorkingDay.
|
|
20924
|
+
* @param {string} hospitalId
|
|
20925
|
+
* @param {CreateHospitalWorkingDayCommand} [createHospitalWorkingDayCommand]
|
|
20926
|
+
* @param {*} [options] Override http request option.
|
|
20927
|
+
* @throws {RequiredError}
|
|
20928
|
+
*/
|
|
20929
|
+
apiV1HospitalsHospitalIdWorkingdaysPost: function (hospitalId, createHospitalWorkingDayCommand, options) {
|
|
20930
|
+
if (options === void 0) { options = {}; }
|
|
20931
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
20932
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
20933
|
+
return __generator(this, function (_a) {
|
|
20934
|
+
switch (_a.label) {
|
|
20935
|
+
case 0:
|
|
20936
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
20937
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdWorkingdaysPost', 'hospitalId', hospitalId);
|
|
20938
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/workingdays"
|
|
20939
|
+
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)));
|
|
20940
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20941
|
+
if (configuration) {
|
|
20942
|
+
baseOptions = configuration.baseOptions;
|
|
20943
|
+
}
|
|
20944
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
20945
|
+
localVarHeaderParameter = {};
|
|
20946
|
+
localVarQueryParameter = {};
|
|
20947
|
+
// authentication oauth2 required
|
|
20948
|
+
// oauth required
|
|
20949
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
20950
|
+
case 1:
|
|
20951
|
+
// authentication oauth2 required
|
|
20952
|
+
// oauth required
|
|
20953
|
+
_a.sent();
|
|
20954
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
20955
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20956
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20957
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
20958
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(createHospitalWorkingDayCommand, localVarRequestOptions, configuration);
|
|
20959
|
+
return [2 /*return*/, {
|
|
20960
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
20961
|
+
options: localVarRequestOptions,
|
|
20962
|
+
}];
|
|
20963
|
+
}
|
|
20964
|
+
});
|
|
20965
|
+
});
|
|
20966
|
+
},
|
|
20967
|
+
/**
|
|
20968
|
+
*
|
|
20969
|
+
* @summary Delete HospitalWorkingDay.
|
|
20970
|
+
* @param {string} hospitalId
|
|
20971
|
+
* @param {string} workingDayId
|
|
20972
|
+
* @param {*} [options] Override http request option.
|
|
20973
|
+
* @throws {RequiredError}
|
|
20974
|
+
*/
|
|
20975
|
+
apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete: function (hospitalId, workingDayId, options) {
|
|
20976
|
+
if (options === void 0) { options = {}; }
|
|
20977
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
20978
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
20979
|
+
return __generator(this, function (_a) {
|
|
20980
|
+
switch (_a.label) {
|
|
20981
|
+
case 0:
|
|
20982
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
20983
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete', 'hospitalId', hospitalId);
|
|
20984
|
+
// verify required parameter 'workingDayId' is not null or undefined
|
|
20985
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete', 'workingDayId', workingDayId);
|
|
20986
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/workingdays/{workingDayId}"
|
|
20987
|
+
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
20988
|
+
.replace("{" + "workingDayId" + "}", encodeURIComponent(String(workingDayId)));
|
|
20432
20989
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20433
20990
|
if (configuration) {
|
|
20434
20991
|
baseOptions = configuration.baseOptions;
|
|
20435
20992
|
}
|
|
20436
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
20993
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
20437
20994
|
localVarHeaderParameter = {};
|
|
20438
20995
|
localVarQueryParameter = {};
|
|
20439
20996
|
// authentication oauth2 required
|
|
@@ -20443,11 +21000,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
20443
21000
|
// authentication oauth2 required
|
|
20444
21001
|
// oauth required
|
|
20445
21002
|
_a.sent();
|
|
20446
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
20447
21003
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20448
21004
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20449
21005
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
20450
|
-
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateMediaCommand, localVarRequestOptions, configuration);
|
|
20451
21006
|
return [2 /*return*/, {
|
|
20452
21007
|
url: common_1.toPathString(localVarUrlObj),
|
|
20453
21008
|
options: localVarRequestOptions,
|
|
@@ -20458,15 +21013,13 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
20458
21013
|
},
|
|
20459
21014
|
/**
|
|
20460
21015
|
*
|
|
20461
|
-
* @summary
|
|
21016
|
+
* @summary Get HospitalWorkingDay.
|
|
20462
21017
|
* @param {string} hospitalId
|
|
20463
|
-
* @param {string}
|
|
20464
|
-
* @param {string} serviceId
|
|
20465
|
-
* @param {CreateMediaCommand} [createMediaCommand]
|
|
21018
|
+
* @param {string} workingDayId
|
|
20466
21019
|
* @param {*} [options] Override http request option.
|
|
20467
21020
|
* @throws {RequiredError}
|
|
20468
21021
|
*/
|
|
20469
|
-
|
|
21022
|
+
apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet: function (hospitalId, workingDayId, options) {
|
|
20470
21023
|
if (options === void 0) { options = {}; }
|
|
20471
21024
|
return __awaiter(_this, void 0, void 0, function () {
|
|
20472
21025
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -20474,20 +21027,17 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
20474
21027
|
switch (_a.label) {
|
|
20475
21028
|
case 0:
|
|
20476
21029
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
20477
|
-
common_1.assertParamExists('
|
|
20478
|
-
// verify required parameter '
|
|
20479
|
-
common_1.assertParamExists('
|
|
20480
|
-
|
|
20481
|
-
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost', 'serviceId', serviceId);
|
|
20482
|
-
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/medias"
|
|
21030
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet', 'hospitalId', hospitalId);
|
|
21031
|
+
// verify required parameter 'workingDayId' is not null or undefined
|
|
21032
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet', 'workingDayId', workingDayId);
|
|
21033
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/workingdays/{workingDayId}"
|
|
20483
21034
|
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
20484
|
-
.replace("{" + "
|
|
20485
|
-
.replace("{" + "serviceId" + "}", encodeURIComponent(String(serviceId)));
|
|
21035
|
+
.replace("{" + "workingDayId" + "}", encodeURIComponent(String(workingDayId)));
|
|
20486
21036
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20487
21037
|
if (configuration) {
|
|
20488
21038
|
baseOptions = configuration.baseOptions;
|
|
20489
21039
|
}
|
|
20490
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
21040
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
20491
21041
|
localVarHeaderParameter = {};
|
|
20492
21042
|
localVarQueryParameter = {};
|
|
20493
21043
|
// authentication oauth2 required
|
|
@@ -20497,11 +21047,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
20497
21047
|
// authentication oauth2 required
|
|
20498
21048
|
// oauth required
|
|
20499
21049
|
_a.sent();
|
|
20500
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
20501
21050
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20502
21051
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20503
21052
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
20504
|
-
localVarRequestOptions.data = common_1.serializeDataIfNeeded(createMediaCommand, localVarRequestOptions, configuration);
|
|
20505
21053
|
return [2 /*return*/, {
|
|
20506
21054
|
url: common_1.toPathString(localVarUrlObj),
|
|
20507
21055
|
options: localVarRequestOptions,
|
|
@@ -20512,15 +21060,14 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
20512
21060
|
},
|
|
20513
21061
|
/**
|
|
20514
21062
|
*
|
|
20515
|
-
* @summary Update
|
|
21063
|
+
* @summary Update HospitalWorkingDay.
|
|
20516
21064
|
* @param {string} hospitalId
|
|
20517
|
-
* @param {string}
|
|
20518
|
-
* @param {
|
|
20519
|
-
* @param {UpdateHospitalServiceCommand} [updateHospitalServiceCommand]
|
|
21065
|
+
* @param {string} workingDayId
|
|
21066
|
+
* @param {UpdateHospitalWorkingDayCommand} [updateHospitalWorkingDayCommand]
|
|
20520
21067
|
* @param {*} [options] Override http request option.
|
|
20521
21068
|
* @throws {RequiredError}
|
|
20522
21069
|
*/
|
|
20523
|
-
|
|
21070
|
+
apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut: function (hospitalId, workingDayId, updateHospitalWorkingDayCommand, options) {
|
|
20524
21071
|
if (options === void 0) { options = {}; }
|
|
20525
21072
|
return __awaiter(_this, void 0, void 0, function () {
|
|
20526
21073
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -20528,15 +21075,12 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
20528
21075
|
switch (_a.label) {
|
|
20529
21076
|
case 0:
|
|
20530
21077
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
20531
|
-
common_1.assertParamExists('
|
|
20532
|
-
// verify required parameter '
|
|
20533
|
-
common_1.assertParamExists('
|
|
20534
|
-
|
|
20535
|
-
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut', 'serviceId', serviceId);
|
|
20536
|
-
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}"
|
|
21078
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut', 'hospitalId', hospitalId);
|
|
21079
|
+
// verify required parameter 'workingDayId' is not null or undefined
|
|
21080
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut', 'workingDayId', workingDayId);
|
|
21081
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/workingdays/{workingDayId}"
|
|
20537
21082
|
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
20538
|
-
.replace("{" + "
|
|
20539
|
-
.replace("{" + "serviceId" + "}", encodeURIComponent(String(serviceId)));
|
|
21083
|
+
.replace("{" + "workingDayId" + "}", encodeURIComponent(String(workingDayId)));
|
|
20540
21084
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20541
21085
|
if (configuration) {
|
|
20542
21086
|
baseOptions = configuration.baseOptions;
|
|
@@ -20555,7 +21099,7 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
20555
21099
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20556
21100
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20557
21101
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
20558
|
-
localVarRequestOptions.data = common_1.serializeDataIfNeeded(
|
|
21102
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateHospitalWorkingDayCommand, localVarRequestOptions, configuration);
|
|
20559
21103
|
return [2 /*return*/, {
|
|
20560
21104
|
url: common_1.toPathString(localVarUrlObj),
|
|
20561
21105
|
options: localVarRequestOptions,
|
|
@@ -20622,13 +21166,14 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
20622
21166
|
* @param {string} [languageCode]
|
|
20623
21167
|
* @param {Array<string>} [ids]
|
|
20624
21168
|
* @param {boolean} [returnDefaultValue]
|
|
21169
|
+
* @param {boolean} [paymentEnabled]
|
|
20625
21170
|
* @param {number} [page]
|
|
20626
21171
|
* @param {number} [limit]
|
|
20627
21172
|
* @param {Date} [lastRetrieved]
|
|
20628
21173
|
* @param {*} [options] Override http request option.
|
|
20629
21174
|
* @throws {RequiredError}
|
|
20630
21175
|
*/
|
|
20631
|
-
apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
21176
|
+
apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
20632
21177
|
if (options === void 0) { options = {}; }
|
|
20633
21178
|
return __awaiter(_this, void 0, void 0, function () {
|
|
20634
21179
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -20691,6 +21236,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
20691
21236
|
if (returnDefaultValue !== undefined) {
|
|
20692
21237
|
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
20693
21238
|
}
|
|
21239
|
+
if (paymentEnabled !== undefined) {
|
|
21240
|
+
localVarQueryParameter['PaymentEnabled'] = paymentEnabled;
|
|
21241
|
+
}
|
|
20694
21242
|
if (page !== undefined) {
|
|
20695
21243
|
localVarQueryParameter['page'] = page;
|
|
20696
21244
|
}
|
|
@@ -20788,18 +21336,19 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
20788
21336
|
* @param {string} [languageCode]
|
|
20789
21337
|
* @param {Array<string>} [ids]
|
|
20790
21338
|
* @param {boolean} [returnDefaultValue]
|
|
21339
|
+
* @param {boolean} [paymentEnabled]
|
|
20791
21340
|
* @param {number} [page]
|
|
20792
21341
|
* @param {number} [limit]
|
|
20793
21342
|
* @param {Date} [lastRetrieved]
|
|
20794
21343
|
* @param {*} [options] Override http request option.
|
|
20795
21344
|
* @throws {RequiredError}
|
|
20796
21345
|
*/
|
|
20797
|
-
apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
21346
|
+
apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
20798
21347
|
return __awaiter(this, void 0, void 0, function () {
|
|
20799
21348
|
var localVarAxiosArgs;
|
|
20800
21349
|
return __generator(this, function (_a) {
|
|
20801
21350
|
switch (_a.label) {
|
|
20802
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
21351
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options)];
|
|
20803
21352
|
case 1:
|
|
20804
21353
|
localVarAxiosArgs = _a.sent();
|
|
20805
21354
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -21278,6 +21827,118 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
21278
21827
|
});
|
|
21279
21828
|
});
|
|
21280
21829
|
},
|
|
21830
|
+
/**
|
|
21831
|
+
*
|
|
21832
|
+
* @summary Get all HospitalHandles.
|
|
21833
|
+
* @param {string} hospitalId
|
|
21834
|
+
* @param {string} [hospitalId2]
|
|
21835
|
+
* @param {string} [id]
|
|
21836
|
+
* @param {SnsType} [snsType]
|
|
21837
|
+
* @param {string} [handle]
|
|
21838
|
+
* @param {number} [page]
|
|
21839
|
+
* @param {number} [limit]
|
|
21840
|
+
* @param {Date} [lastRetrieved]
|
|
21841
|
+
* @param {*} [options] Override http request option.
|
|
21842
|
+
* @throws {RequiredError}
|
|
21843
|
+
*/
|
|
21844
|
+
apiV1HospitalsHospitalIdHandlesGet: function (hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options) {
|
|
21845
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
21846
|
+
var localVarAxiosArgs;
|
|
21847
|
+
return __generator(this, function (_a) {
|
|
21848
|
+
switch (_a.label) {
|
|
21849
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdHandlesGet(hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options)];
|
|
21850
|
+
case 1:
|
|
21851
|
+
localVarAxiosArgs = _a.sent();
|
|
21852
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
21853
|
+
}
|
|
21854
|
+
});
|
|
21855
|
+
});
|
|
21856
|
+
},
|
|
21857
|
+
/**
|
|
21858
|
+
*
|
|
21859
|
+
* @summary Delete HospitalHandle.
|
|
21860
|
+
* @param {string} hospitalId
|
|
21861
|
+
* @param {string} handleId
|
|
21862
|
+
* @param {*} [options] Override http request option.
|
|
21863
|
+
* @throws {RequiredError}
|
|
21864
|
+
*/
|
|
21865
|
+
apiV1HospitalsHospitalIdHandlesHandleIdDelete: function (hospitalId, handleId, options) {
|
|
21866
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
21867
|
+
var localVarAxiosArgs;
|
|
21868
|
+
return __generator(this, function (_a) {
|
|
21869
|
+
switch (_a.label) {
|
|
21870
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdHandlesHandleIdDelete(hospitalId, handleId, options)];
|
|
21871
|
+
case 1:
|
|
21872
|
+
localVarAxiosArgs = _a.sent();
|
|
21873
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
21874
|
+
}
|
|
21875
|
+
});
|
|
21876
|
+
});
|
|
21877
|
+
},
|
|
21878
|
+
/**
|
|
21879
|
+
*
|
|
21880
|
+
* @summary Get HospitalHandle.
|
|
21881
|
+
* @param {string} hospitalId
|
|
21882
|
+
* @param {string} handleId
|
|
21883
|
+
* @param {*} [options] Override http request option.
|
|
21884
|
+
* @throws {RequiredError}
|
|
21885
|
+
*/
|
|
21886
|
+
apiV1HospitalsHospitalIdHandlesHandleIdGet: function (hospitalId, handleId, options) {
|
|
21887
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
21888
|
+
var localVarAxiosArgs;
|
|
21889
|
+
return __generator(this, function (_a) {
|
|
21890
|
+
switch (_a.label) {
|
|
21891
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdHandlesHandleIdGet(hospitalId, handleId, options)];
|
|
21892
|
+
case 1:
|
|
21893
|
+
localVarAxiosArgs = _a.sent();
|
|
21894
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
21895
|
+
}
|
|
21896
|
+
});
|
|
21897
|
+
});
|
|
21898
|
+
},
|
|
21899
|
+
/**
|
|
21900
|
+
*
|
|
21901
|
+
* @summary Update HospitalHandle.
|
|
21902
|
+
* @param {string} hospitalId
|
|
21903
|
+
* @param {string} handleId
|
|
21904
|
+
* @param {UpdateHospitalSnsHandleCommand} [updateHospitalSnsHandleCommand]
|
|
21905
|
+
* @param {*} [options] Override http request option.
|
|
21906
|
+
* @throws {RequiredError}
|
|
21907
|
+
*/
|
|
21908
|
+
apiV1HospitalsHospitalIdHandlesHandleIdPut: function (hospitalId, handleId, updateHospitalSnsHandleCommand, options) {
|
|
21909
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
21910
|
+
var localVarAxiosArgs;
|
|
21911
|
+
return __generator(this, function (_a) {
|
|
21912
|
+
switch (_a.label) {
|
|
21913
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdHandlesHandleIdPut(hospitalId, handleId, updateHospitalSnsHandleCommand, options)];
|
|
21914
|
+
case 1:
|
|
21915
|
+
localVarAxiosArgs = _a.sent();
|
|
21916
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
21917
|
+
}
|
|
21918
|
+
});
|
|
21919
|
+
});
|
|
21920
|
+
},
|
|
21921
|
+
/**
|
|
21922
|
+
*
|
|
21923
|
+
* @summary Get HospitalHandle.
|
|
21924
|
+
* @param {string} hospitalId
|
|
21925
|
+
* @param {CreateHospitalSnsHandleCommand} [createHospitalSnsHandleCommand]
|
|
21926
|
+
* @param {*} [options] Override http request option.
|
|
21927
|
+
* @throws {RequiredError}
|
|
21928
|
+
*/
|
|
21929
|
+
apiV1HospitalsHospitalIdHandlesPost: function (hospitalId, createHospitalSnsHandleCommand, options) {
|
|
21930
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
21931
|
+
var localVarAxiosArgs;
|
|
21932
|
+
return __generator(this, function (_a) {
|
|
21933
|
+
switch (_a.label) {
|
|
21934
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdHandlesPost(hospitalId, createHospitalSnsHandleCommand, options)];
|
|
21935
|
+
case 1:
|
|
21936
|
+
localVarAxiosArgs = _a.sent();
|
|
21937
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
21938
|
+
}
|
|
21939
|
+
});
|
|
21940
|
+
});
|
|
21941
|
+
},
|
|
21281
21942
|
/**
|
|
21282
21943
|
*
|
|
21283
21944
|
* @summary Get all HospitalMedias.
|
|
@@ -21619,7 +22280,124 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
21619
22280
|
var localVarAxiosArgs;
|
|
21620
22281
|
return __generator(this, function (_a) {
|
|
21621
22282
|
switch (_a.label) {
|
|
21622
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost(hospitalId, specialtyId, createHospitalServiceCommand, options)];
|
|
22283
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost(hospitalId, specialtyId, createHospitalServiceCommand, options)];
|
|
22284
|
+
case 1:
|
|
22285
|
+
localVarAxiosArgs = _a.sent();
|
|
22286
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
22287
|
+
}
|
|
22288
|
+
});
|
|
22289
|
+
});
|
|
22290
|
+
},
|
|
22291
|
+
/**
|
|
22292
|
+
*
|
|
22293
|
+
* @param {string} hospitalId
|
|
22294
|
+
* @param {string} specialtyId
|
|
22295
|
+
* @param {string} serviceId
|
|
22296
|
+
* @param {*} [options] Override http request option.
|
|
22297
|
+
* @throws {RequiredError}
|
|
22298
|
+
*/
|
|
22299
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete: function (hospitalId, specialtyId, serviceId, options) {
|
|
22300
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
22301
|
+
var localVarAxiosArgs;
|
|
22302
|
+
return __generator(this, function (_a) {
|
|
22303
|
+
switch (_a.label) {
|
|
22304
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete(hospitalId, specialtyId, serviceId, options)];
|
|
22305
|
+
case 1:
|
|
22306
|
+
localVarAxiosArgs = _a.sent();
|
|
22307
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
22308
|
+
}
|
|
22309
|
+
});
|
|
22310
|
+
});
|
|
22311
|
+
},
|
|
22312
|
+
/**
|
|
22313
|
+
*
|
|
22314
|
+
* @param {string} hospitalId
|
|
22315
|
+
* @param {string} specialtyId
|
|
22316
|
+
* @param {string} serviceId
|
|
22317
|
+
* @param {string} [languageCode]
|
|
22318
|
+
* @param {boolean} [returnDefaultValue]
|
|
22319
|
+
* @param {*} [options] Override http request option.
|
|
22320
|
+
* @throws {RequiredError}
|
|
22321
|
+
*/
|
|
22322
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet: function (hospitalId, specialtyId, serviceId, languageCode, returnDefaultValue, options) {
|
|
22323
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
22324
|
+
var localVarAxiosArgs;
|
|
22325
|
+
return __generator(this, function (_a) {
|
|
22326
|
+
switch (_a.label) {
|
|
22327
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, returnDefaultValue, options)];
|
|
22328
|
+
case 1:
|
|
22329
|
+
localVarAxiosArgs = _a.sent();
|
|
22330
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
22331
|
+
}
|
|
22332
|
+
});
|
|
22333
|
+
});
|
|
22334
|
+
},
|
|
22335
|
+
/**
|
|
22336
|
+
*
|
|
22337
|
+
* @summary Get all HospitalServiceMedias.
|
|
22338
|
+
* @param {string} hospitalId
|
|
22339
|
+
* @param {string} specialtyId
|
|
22340
|
+
* @param {string} serviceId
|
|
22341
|
+
* @param {string} [id]
|
|
22342
|
+
* @param {MediaType} [mediaType]
|
|
22343
|
+
* @param {number} [page]
|
|
22344
|
+
* @param {number} [limit]
|
|
22345
|
+
* @param {Date} [lastRetrieved]
|
|
22346
|
+
* @param {*} [options] Override http request option.
|
|
22347
|
+
* @throws {RequiredError}
|
|
22348
|
+
*/
|
|
22349
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet: function (hospitalId, specialtyId, serviceId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
22350
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
22351
|
+
var localVarAxiosArgs;
|
|
22352
|
+
return __generator(this, function (_a) {
|
|
22353
|
+
switch (_a.label) {
|
|
22354
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet(hospitalId, specialtyId, serviceId, id, mediaType, page, limit, lastRetrieved, options)];
|
|
22355
|
+
case 1:
|
|
22356
|
+
localVarAxiosArgs = _a.sent();
|
|
22357
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
22358
|
+
}
|
|
22359
|
+
});
|
|
22360
|
+
});
|
|
22361
|
+
},
|
|
22362
|
+
/**
|
|
22363
|
+
*
|
|
22364
|
+
* @summary Delete HospitalServiceMedia
|
|
22365
|
+
* @param {string} hospitalId
|
|
22366
|
+
* @param {string} specialtyId
|
|
22367
|
+
* @param {string} serviceId
|
|
22368
|
+
* @param {string} mediaId
|
|
22369
|
+
* @param {*} [options] Override http request option.
|
|
22370
|
+
* @throws {RequiredError}
|
|
22371
|
+
*/
|
|
22372
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete: function (hospitalId, specialtyId, serviceId, mediaId, options) {
|
|
22373
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
22374
|
+
var localVarAxiosArgs;
|
|
22375
|
+
return __generator(this, function (_a) {
|
|
22376
|
+
switch (_a.label) {
|
|
22377
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete(hospitalId, specialtyId, serviceId, mediaId, options)];
|
|
22378
|
+
case 1:
|
|
22379
|
+
localVarAxiosArgs = _a.sent();
|
|
22380
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
22381
|
+
}
|
|
22382
|
+
});
|
|
22383
|
+
});
|
|
22384
|
+
},
|
|
22385
|
+
/**
|
|
22386
|
+
*
|
|
22387
|
+
* @summary Get HospitalServiceMedia.
|
|
22388
|
+
* @param {string} hospitalId
|
|
22389
|
+
* @param {string} specialtyId
|
|
22390
|
+
* @param {string} serviceId
|
|
22391
|
+
* @param {string} mediaId
|
|
22392
|
+
* @param {*} [options] Override http request option.
|
|
22393
|
+
* @throws {RequiredError}
|
|
22394
|
+
*/
|
|
22395
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet: function (hospitalId, specialtyId, serviceId, mediaId, options) {
|
|
22396
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
22397
|
+
var localVarAxiosArgs;
|
|
22398
|
+
return __generator(this, function (_a) {
|
|
22399
|
+
switch (_a.label) {
|
|
22400
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet(hospitalId, specialtyId, serviceId, mediaId, options)];
|
|
21623
22401
|
case 1:
|
|
21624
22402
|
localVarAxiosArgs = _a.sent();
|
|
21625
22403
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -21629,18 +22407,21 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
21629
22407
|
},
|
|
21630
22408
|
/**
|
|
21631
22409
|
*
|
|
22410
|
+
* @summary Update HospitalServiceMedia.
|
|
21632
22411
|
* @param {string} hospitalId
|
|
21633
22412
|
* @param {string} specialtyId
|
|
21634
22413
|
* @param {string} serviceId
|
|
22414
|
+
* @param {string} mediaId
|
|
22415
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
21635
22416
|
* @param {*} [options] Override http request option.
|
|
21636
22417
|
* @throws {RequiredError}
|
|
21637
22418
|
*/
|
|
21638
|
-
|
|
22419
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut: function (hospitalId, specialtyId, serviceId, mediaId, updateMediaCommand, options) {
|
|
21639
22420
|
return __awaiter(this, void 0, void 0, function () {
|
|
21640
22421
|
var localVarAxiosArgs;
|
|
21641
22422
|
return __generator(this, function (_a) {
|
|
21642
22423
|
switch (_a.label) {
|
|
21643
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
22424
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut(hospitalId, specialtyId, serviceId, mediaId, updateMediaCommand, options)];
|
|
21644
22425
|
case 1:
|
|
21645
22426
|
localVarAxiosArgs = _a.sent();
|
|
21646
22427
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -21650,20 +22431,20 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
21650
22431
|
},
|
|
21651
22432
|
/**
|
|
21652
22433
|
*
|
|
22434
|
+
* @summary Create HospitalServiceMedia.
|
|
21653
22435
|
* @param {string} hospitalId
|
|
21654
22436
|
* @param {string} specialtyId
|
|
21655
22437
|
* @param {string} serviceId
|
|
21656
|
-
* @param {
|
|
21657
|
-
* @param {boolean} [returnDefaultValue]
|
|
22438
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
21658
22439
|
* @param {*} [options] Override http request option.
|
|
21659
22440
|
* @throws {RequiredError}
|
|
21660
22441
|
*/
|
|
21661
|
-
|
|
22442
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost: function (hospitalId, specialtyId, serviceId, createMediaCommand, options) {
|
|
21662
22443
|
return __awaiter(this, void 0, void 0, function () {
|
|
21663
22444
|
var localVarAxiosArgs;
|
|
21664
22445
|
return __generator(this, function (_a) {
|
|
21665
22446
|
switch (_a.label) {
|
|
21666
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
22447
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost(hospitalId, specialtyId, serviceId, createMediaCommand, options)];
|
|
21667
22448
|
case 1:
|
|
21668
22449
|
localVarAxiosArgs = _a.sent();
|
|
21669
22450
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -21673,24 +22454,20 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
21673
22454
|
},
|
|
21674
22455
|
/**
|
|
21675
22456
|
*
|
|
21676
|
-
* @summary
|
|
22457
|
+
* @summary Update HospitalService.
|
|
21677
22458
|
* @param {string} hospitalId
|
|
21678
22459
|
* @param {string} specialtyId
|
|
21679
22460
|
* @param {string} serviceId
|
|
21680
|
-
* @param {
|
|
21681
|
-
* @param {MediaType} [mediaType]
|
|
21682
|
-
* @param {number} [page]
|
|
21683
|
-
* @param {number} [limit]
|
|
21684
|
-
* @param {Date} [lastRetrieved]
|
|
22461
|
+
* @param {UpdateHospitalServiceCommand} [updateHospitalServiceCommand]
|
|
21685
22462
|
* @param {*} [options] Override http request option.
|
|
21686
22463
|
* @throws {RequiredError}
|
|
21687
22464
|
*/
|
|
21688
|
-
|
|
22465
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut: function (hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options) {
|
|
21689
22466
|
return __awaiter(this, void 0, void 0, function () {
|
|
21690
22467
|
var localVarAxiosArgs;
|
|
21691
22468
|
return __generator(this, function (_a) {
|
|
21692
22469
|
switch (_a.label) {
|
|
21693
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
22470
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options)];
|
|
21694
22471
|
case 1:
|
|
21695
22472
|
localVarAxiosArgs = _a.sent();
|
|
21696
22473
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -21700,20 +22477,26 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
21700
22477
|
},
|
|
21701
22478
|
/**
|
|
21702
22479
|
*
|
|
21703
|
-
* @summary
|
|
22480
|
+
* @summary Get all HospitalWorkingDays.
|
|
21704
22481
|
* @param {string} hospitalId
|
|
21705
|
-
* @param {string}
|
|
21706
|
-
* @param {string}
|
|
21707
|
-
* @param {string}
|
|
22482
|
+
* @param {string} [hospitalId2]
|
|
22483
|
+
* @param {string} [id]
|
|
22484
|
+
* @param {string} [dayOfWeek]
|
|
22485
|
+
* @param {Date} [timeFrom]
|
|
22486
|
+
* @param {Date} [timeTo]
|
|
22487
|
+
* @param {boolean} [checkHoliday]
|
|
22488
|
+
* @param {number} [page]
|
|
22489
|
+
* @param {number} [limit]
|
|
22490
|
+
* @param {Date} [lastRetrieved]
|
|
21708
22491
|
* @param {*} [options] Override http request option.
|
|
21709
22492
|
* @throws {RequiredError}
|
|
21710
22493
|
*/
|
|
21711
|
-
|
|
22494
|
+
apiV1HospitalsHospitalIdWorkingdaysGet: function (hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options) {
|
|
21712
22495
|
return __awaiter(this, void 0, void 0, function () {
|
|
21713
22496
|
var localVarAxiosArgs;
|
|
21714
22497
|
return __generator(this, function (_a) {
|
|
21715
22498
|
switch (_a.label) {
|
|
21716
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
22499
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options)];
|
|
21717
22500
|
case 1:
|
|
21718
22501
|
localVarAxiosArgs = _a.sent();
|
|
21719
22502
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -21723,20 +22506,18 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
21723
22506
|
},
|
|
21724
22507
|
/**
|
|
21725
22508
|
*
|
|
21726
|
-
* @summary
|
|
22509
|
+
* @summary Create HospitalWorkingDay.
|
|
21727
22510
|
* @param {string} hospitalId
|
|
21728
|
-
* @param {
|
|
21729
|
-
* @param {string} serviceId
|
|
21730
|
-
* @param {string} mediaId
|
|
22511
|
+
* @param {CreateHospitalWorkingDayCommand} [createHospitalWorkingDayCommand]
|
|
21731
22512
|
* @param {*} [options] Override http request option.
|
|
21732
22513
|
* @throws {RequiredError}
|
|
21733
22514
|
*/
|
|
21734
|
-
|
|
22515
|
+
apiV1HospitalsHospitalIdWorkingdaysPost: function (hospitalId, createHospitalWorkingDayCommand, options) {
|
|
21735
22516
|
return __awaiter(this, void 0, void 0, function () {
|
|
21736
22517
|
var localVarAxiosArgs;
|
|
21737
22518
|
return __generator(this, function (_a) {
|
|
21738
22519
|
switch (_a.label) {
|
|
21739
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
22520
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysPost(hospitalId, createHospitalWorkingDayCommand, options)];
|
|
21740
22521
|
case 1:
|
|
21741
22522
|
localVarAxiosArgs = _a.sent();
|
|
21742
22523
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -21746,21 +22527,18 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
21746
22527
|
},
|
|
21747
22528
|
/**
|
|
21748
22529
|
*
|
|
21749
|
-
* @summary
|
|
22530
|
+
* @summary Delete HospitalWorkingDay.
|
|
21750
22531
|
* @param {string} hospitalId
|
|
21751
|
-
* @param {string}
|
|
21752
|
-
* @param {string} serviceId
|
|
21753
|
-
* @param {string} mediaId
|
|
21754
|
-
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
22532
|
+
* @param {string} workingDayId
|
|
21755
22533
|
* @param {*} [options] Override http request option.
|
|
21756
22534
|
* @throws {RequiredError}
|
|
21757
22535
|
*/
|
|
21758
|
-
|
|
22536
|
+
apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete: function (hospitalId, workingDayId, options) {
|
|
21759
22537
|
return __awaiter(this, void 0, void 0, function () {
|
|
21760
22538
|
var localVarAxiosArgs;
|
|
21761
22539
|
return __generator(this, function (_a) {
|
|
21762
22540
|
switch (_a.label) {
|
|
21763
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
22541
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete(hospitalId, workingDayId, options)];
|
|
21764
22542
|
case 1:
|
|
21765
22543
|
localVarAxiosArgs = _a.sent();
|
|
21766
22544
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -21770,20 +22548,18 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
21770
22548
|
},
|
|
21771
22549
|
/**
|
|
21772
22550
|
*
|
|
21773
|
-
* @summary
|
|
22551
|
+
* @summary Get HospitalWorkingDay.
|
|
21774
22552
|
* @param {string} hospitalId
|
|
21775
|
-
* @param {string}
|
|
21776
|
-
* @param {string} serviceId
|
|
21777
|
-
* @param {CreateMediaCommand} [createMediaCommand]
|
|
22553
|
+
* @param {string} workingDayId
|
|
21778
22554
|
* @param {*} [options] Override http request option.
|
|
21779
22555
|
* @throws {RequiredError}
|
|
21780
22556
|
*/
|
|
21781
|
-
|
|
22557
|
+
apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet: function (hospitalId, workingDayId, options) {
|
|
21782
22558
|
return __awaiter(this, void 0, void 0, function () {
|
|
21783
22559
|
var localVarAxiosArgs;
|
|
21784
22560
|
return __generator(this, function (_a) {
|
|
21785
22561
|
switch (_a.label) {
|
|
21786
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
22562
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet(hospitalId, workingDayId, options)];
|
|
21787
22563
|
case 1:
|
|
21788
22564
|
localVarAxiosArgs = _a.sent();
|
|
21789
22565
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -21793,20 +22569,19 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
21793
22569
|
},
|
|
21794
22570
|
/**
|
|
21795
22571
|
*
|
|
21796
|
-
* @summary Update
|
|
22572
|
+
* @summary Update HospitalWorkingDay.
|
|
21797
22573
|
* @param {string} hospitalId
|
|
21798
|
-
* @param {string}
|
|
21799
|
-
* @param {
|
|
21800
|
-
* @param {UpdateHospitalServiceCommand} [updateHospitalServiceCommand]
|
|
22574
|
+
* @param {string} workingDayId
|
|
22575
|
+
* @param {UpdateHospitalWorkingDayCommand} [updateHospitalWorkingDayCommand]
|
|
21801
22576
|
* @param {*} [options] Override http request option.
|
|
21802
22577
|
* @throws {RequiredError}
|
|
21803
22578
|
*/
|
|
21804
|
-
|
|
22579
|
+
apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut: function (hospitalId, workingDayId, updateHospitalWorkingDayCommand, options) {
|
|
21805
22580
|
return __awaiter(this, void 0, void 0, function () {
|
|
21806
22581
|
var localVarAxiosArgs;
|
|
21807
22582
|
return __generator(this, function (_a) {
|
|
21808
22583
|
switch (_a.label) {
|
|
21809
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
22584
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut(hospitalId, workingDayId, updateHospitalWorkingDayCommand, options)];
|
|
21810
22585
|
case 1:
|
|
21811
22586
|
localVarAxiosArgs = _a.sent();
|
|
21812
22587
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -21850,18 +22625,19 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
21850
22625
|
* @param {string} [languageCode]
|
|
21851
22626
|
* @param {Array<string>} [ids]
|
|
21852
22627
|
* @param {boolean} [returnDefaultValue]
|
|
22628
|
+
* @param {boolean} [paymentEnabled]
|
|
21853
22629
|
* @param {number} [page]
|
|
21854
22630
|
* @param {number} [limit]
|
|
21855
22631
|
* @param {Date} [lastRetrieved]
|
|
21856
22632
|
* @param {*} [options] Override http request option.
|
|
21857
22633
|
* @throws {RequiredError}
|
|
21858
22634
|
*/
|
|
21859
|
-
apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
22635
|
+
apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
21860
22636
|
return __awaiter(this, void 0, void 0, function () {
|
|
21861
22637
|
var localVarAxiosArgs;
|
|
21862
22638
|
return __generator(this, function (_a) {
|
|
21863
22639
|
switch (_a.label) {
|
|
21864
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
22640
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options)];
|
|
21865
22641
|
case 1:
|
|
21866
22642
|
localVarAxiosArgs = _a.sent();
|
|
21867
22643
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -21915,14 +22691,15 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
21915
22691
|
* @param {string} [languageCode]
|
|
21916
22692
|
* @param {Array<string>} [ids]
|
|
21917
22693
|
* @param {boolean} [returnDefaultValue]
|
|
22694
|
+
* @param {boolean} [paymentEnabled]
|
|
21918
22695
|
* @param {number} [page]
|
|
21919
22696
|
* @param {number} [limit]
|
|
21920
22697
|
* @param {Date} [lastRetrieved]
|
|
21921
22698
|
* @param {*} [options] Override http request option.
|
|
21922
22699
|
* @throws {RequiredError}
|
|
21923
22700
|
*/
|
|
21924
|
-
apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
21925
|
-
return localVarFp.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
22701
|
+
apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
22702
|
+
return localVarFp.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
21926
22703
|
},
|
|
21927
22704
|
/**
|
|
21928
22705
|
*
|
|
@@ -22185,6 +22962,68 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
22185
22962
|
apiV1HospitalsHospitalIdGet: function (hospitalId, languageCode, returnDefaultValue, options) {
|
|
22186
22963
|
return localVarFp.apiV1HospitalsHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
22187
22964
|
},
|
|
22965
|
+
/**
|
|
22966
|
+
*
|
|
22967
|
+
* @summary Get all HospitalHandles.
|
|
22968
|
+
* @param {string} hospitalId
|
|
22969
|
+
* @param {string} [hospitalId2]
|
|
22970
|
+
* @param {string} [id]
|
|
22971
|
+
* @param {SnsType} [snsType]
|
|
22972
|
+
* @param {string} [handle]
|
|
22973
|
+
* @param {number} [page]
|
|
22974
|
+
* @param {number} [limit]
|
|
22975
|
+
* @param {Date} [lastRetrieved]
|
|
22976
|
+
* @param {*} [options] Override http request option.
|
|
22977
|
+
* @throws {RequiredError}
|
|
22978
|
+
*/
|
|
22979
|
+
apiV1HospitalsHospitalIdHandlesGet: function (hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options) {
|
|
22980
|
+
return localVarFp.apiV1HospitalsHospitalIdHandlesGet(hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
22981
|
+
},
|
|
22982
|
+
/**
|
|
22983
|
+
*
|
|
22984
|
+
* @summary Delete HospitalHandle.
|
|
22985
|
+
* @param {string} hospitalId
|
|
22986
|
+
* @param {string} handleId
|
|
22987
|
+
* @param {*} [options] Override http request option.
|
|
22988
|
+
* @throws {RequiredError}
|
|
22989
|
+
*/
|
|
22990
|
+
apiV1HospitalsHospitalIdHandlesHandleIdDelete: function (hospitalId, handleId, options) {
|
|
22991
|
+
return localVarFp.apiV1HospitalsHospitalIdHandlesHandleIdDelete(hospitalId, handleId, options).then(function (request) { return request(axios, basePath); });
|
|
22992
|
+
},
|
|
22993
|
+
/**
|
|
22994
|
+
*
|
|
22995
|
+
* @summary Get HospitalHandle.
|
|
22996
|
+
* @param {string} hospitalId
|
|
22997
|
+
* @param {string} handleId
|
|
22998
|
+
* @param {*} [options] Override http request option.
|
|
22999
|
+
* @throws {RequiredError}
|
|
23000
|
+
*/
|
|
23001
|
+
apiV1HospitalsHospitalIdHandlesHandleIdGet: function (hospitalId, handleId, options) {
|
|
23002
|
+
return localVarFp.apiV1HospitalsHospitalIdHandlesHandleIdGet(hospitalId, handleId, options).then(function (request) { return request(axios, basePath); });
|
|
23003
|
+
},
|
|
23004
|
+
/**
|
|
23005
|
+
*
|
|
23006
|
+
* @summary Update HospitalHandle.
|
|
23007
|
+
* @param {string} hospitalId
|
|
23008
|
+
* @param {string} handleId
|
|
23009
|
+
* @param {UpdateHospitalSnsHandleCommand} [updateHospitalSnsHandleCommand]
|
|
23010
|
+
* @param {*} [options] Override http request option.
|
|
23011
|
+
* @throws {RequiredError}
|
|
23012
|
+
*/
|
|
23013
|
+
apiV1HospitalsHospitalIdHandlesHandleIdPut: function (hospitalId, handleId, updateHospitalSnsHandleCommand, options) {
|
|
23014
|
+
return localVarFp.apiV1HospitalsHospitalIdHandlesHandleIdPut(hospitalId, handleId, updateHospitalSnsHandleCommand, options).then(function (request) { return request(axios, basePath); });
|
|
23015
|
+
},
|
|
23016
|
+
/**
|
|
23017
|
+
*
|
|
23018
|
+
* @summary Get HospitalHandle.
|
|
23019
|
+
* @param {string} hospitalId
|
|
23020
|
+
* @param {CreateHospitalSnsHandleCommand} [createHospitalSnsHandleCommand]
|
|
23021
|
+
* @param {*} [options] Override http request option.
|
|
23022
|
+
* @throws {RequiredError}
|
|
23023
|
+
*/
|
|
23024
|
+
apiV1HospitalsHospitalIdHandlesPost: function (hospitalId, createHospitalSnsHandleCommand, options) {
|
|
23025
|
+
return localVarFp.apiV1HospitalsHospitalIdHandlesPost(hospitalId, createHospitalSnsHandleCommand, options).then(function (request) { return request(axios, basePath); });
|
|
23026
|
+
},
|
|
22188
23027
|
/**
|
|
22189
23028
|
*
|
|
22190
23029
|
* @summary Get all HospitalMedias.
|
|
@@ -22501,6 +23340,70 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
22501
23340
|
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut: function (hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options) {
|
|
22502
23341
|
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options).then(function (request) { return request(axios, basePath); });
|
|
22503
23342
|
},
|
|
23343
|
+
/**
|
|
23344
|
+
*
|
|
23345
|
+
* @summary Get all HospitalWorkingDays.
|
|
23346
|
+
* @param {string} hospitalId
|
|
23347
|
+
* @param {string} [hospitalId2]
|
|
23348
|
+
* @param {string} [id]
|
|
23349
|
+
* @param {string} [dayOfWeek]
|
|
23350
|
+
* @param {Date} [timeFrom]
|
|
23351
|
+
* @param {Date} [timeTo]
|
|
23352
|
+
* @param {boolean} [checkHoliday]
|
|
23353
|
+
* @param {number} [page]
|
|
23354
|
+
* @param {number} [limit]
|
|
23355
|
+
* @param {Date} [lastRetrieved]
|
|
23356
|
+
* @param {*} [options] Override http request option.
|
|
23357
|
+
* @throws {RequiredError}
|
|
23358
|
+
*/
|
|
23359
|
+
apiV1HospitalsHospitalIdWorkingdaysGet: function (hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options) {
|
|
23360
|
+
return localVarFp.apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
23361
|
+
},
|
|
23362
|
+
/**
|
|
23363
|
+
*
|
|
23364
|
+
* @summary Create HospitalWorkingDay.
|
|
23365
|
+
* @param {string} hospitalId
|
|
23366
|
+
* @param {CreateHospitalWorkingDayCommand} [createHospitalWorkingDayCommand]
|
|
23367
|
+
* @param {*} [options] Override http request option.
|
|
23368
|
+
* @throws {RequiredError}
|
|
23369
|
+
*/
|
|
23370
|
+
apiV1HospitalsHospitalIdWorkingdaysPost: function (hospitalId, createHospitalWorkingDayCommand, options) {
|
|
23371
|
+
return localVarFp.apiV1HospitalsHospitalIdWorkingdaysPost(hospitalId, createHospitalWorkingDayCommand, options).then(function (request) { return request(axios, basePath); });
|
|
23372
|
+
},
|
|
23373
|
+
/**
|
|
23374
|
+
*
|
|
23375
|
+
* @summary Delete HospitalWorkingDay.
|
|
23376
|
+
* @param {string} hospitalId
|
|
23377
|
+
* @param {string} workingDayId
|
|
23378
|
+
* @param {*} [options] Override http request option.
|
|
23379
|
+
* @throws {RequiredError}
|
|
23380
|
+
*/
|
|
23381
|
+
apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete: function (hospitalId, workingDayId, options) {
|
|
23382
|
+
return localVarFp.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete(hospitalId, workingDayId, options).then(function (request) { return request(axios, basePath); });
|
|
23383
|
+
},
|
|
23384
|
+
/**
|
|
23385
|
+
*
|
|
23386
|
+
* @summary Get HospitalWorkingDay.
|
|
23387
|
+
* @param {string} hospitalId
|
|
23388
|
+
* @param {string} workingDayId
|
|
23389
|
+
* @param {*} [options] Override http request option.
|
|
23390
|
+
* @throws {RequiredError}
|
|
23391
|
+
*/
|
|
23392
|
+
apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet: function (hospitalId, workingDayId, options) {
|
|
23393
|
+
return localVarFp.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet(hospitalId, workingDayId, options).then(function (request) { return request(axios, basePath); });
|
|
23394
|
+
},
|
|
23395
|
+
/**
|
|
23396
|
+
*
|
|
23397
|
+
* @summary Update HospitalWorkingDay.
|
|
23398
|
+
* @param {string} hospitalId
|
|
23399
|
+
* @param {string} workingDayId
|
|
23400
|
+
* @param {UpdateHospitalWorkingDayCommand} [updateHospitalWorkingDayCommand]
|
|
23401
|
+
* @param {*} [options] Override http request option.
|
|
23402
|
+
* @throws {RequiredError}
|
|
23403
|
+
*/
|
|
23404
|
+
apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut: function (hospitalId, workingDayId, updateHospitalWorkingDayCommand, options) {
|
|
23405
|
+
return localVarFp.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut(hospitalId, workingDayId, updateHospitalWorkingDayCommand, options).then(function (request) { return request(axios, basePath); });
|
|
23406
|
+
},
|
|
22504
23407
|
/**
|
|
22505
23408
|
*
|
|
22506
23409
|
* @summary Create Hospital.
|
|
@@ -22527,14 +23430,15 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
22527
23430
|
* @param {string} [languageCode]
|
|
22528
23431
|
* @param {Array<string>} [ids]
|
|
22529
23432
|
* @param {boolean} [returnDefaultValue]
|
|
23433
|
+
* @param {boolean} [paymentEnabled]
|
|
22530
23434
|
* @param {number} [page]
|
|
22531
23435
|
* @param {number} [limit]
|
|
22532
23436
|
* @param {Date} [lastRetrieved]
|
|
22533
23437
|
* @param {*} [options] Override http request option.
|
|
22534
23438
|
* @throws {RequiredError}
|
|
22535
23439
|
*/
|
|
22536
|
-
apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
22537
|
-
return localVarFp.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
23440
|
+
apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
23441
|
+
return localVarFp.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
22538
23442
|
},
|
|
22539
23443
|
/**
|
|
22540
23444
|
*
|
|
@@ -22576,6 +23480,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
22576
23480
|
* @param {string} [languageCode]
|
|
22577
23481
|
* @param {Array<string>} [ids]
|
|
22578
23482
|
* @param {boolean} [returnDefaultValue]
|
|
23483
|
+
* @param {boolean} [paymentEnabled]
|
|
22579
23484
|
* @param {number} [page]
|
|
22580
23485
|
* @param {number} [limit]
|
|
22581
23486
|
* @param {Date} [lastRetrieved]
|
|
@@ -22583,9 +23488,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
22583
23488
|
* @throws {RequiredError}
|
|
22584
23489
|
* @memberof HospitalsApi
|
|
22585
23490
|
*/
|
|
22586
|
-
HospitalsApi.prototype.apiV1HospitalsGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
23491
|
+
HospitalsApi.prototype.apiV1HospitalsGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
22587
23492
|
var _this = this;
|
|
22588
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
23493
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
22589
23494
|
};
|
|
22590
23495
|
/**
|
|
22591
23496
|
*
|
|
@@ -22890,6 +23795,78 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
22890
23795
|
var _this = this;
|
|
22891
23796
|
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
22892
23797
|
};
|
|
23798
|
+
/**
|
|
23799
|
+
*
|
|
23800
|
+
* @summary Get all HospitalHandles.
|
|
23801
|
+
* @param {string} hospitalId
|
|
23802
|
+
* @param {string} [hospitalId2]
|
|
23803
|
+
* @param {string} [id]
|
|
23804
|
+
* @param {SnsType} [snsType]
|
|
23805
|
+
* @param {string} [handle]
|
|
23806
|
+
* @param {number} [page]
|
|
23807
|
+
* @param {number} [limit]
|
|
23808
|
+
* @param {Date} [lastRetrieved]
|
|
23809
|
+
* @param {*} [options] Override http request option.
|
|
23810
|
+
* @throws {RequiredError}
|
|
23811
|
+
* @memberof HospitalsApi
|
|
23812
|
+
*/
|
|
23813
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdHandlesGet = function (hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options) {
|
|
23814
|
+
var _this = this;
|
|
23815
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdHandlesGet(hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
23816
|
+
};
|
|
23817
|
+
/**
|
|
23818
|
+
*
|
|
23819
|
+
* @summary Delete HospitalHandle.
|
|
23820
|
+
* @param {string} hospitalId
|
|
23821
|
+
* @param {string} handleId
|
|
23822
|
+
* @param {*} [options] Override http request option.
|
|
23823
|
+
* @throws {RequiredError}
|
|
23824
|
+
* @memberof HospitalsApi
|
|
23825
|
+
*/
|
|
23826
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdHandlesHandleIdDelete = function (hospitalId, handleId, options) {
|
|
23827
|
+
var _this = this;
|
|
23828
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdHandlesHandleIdDelete(hospitalId, handleId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
23829
|
+
};
|
|
23830
|
+
/**
|
|
23831
|
+
*
|
|
23832
|
+
* @summary Get HospitalHandle.
|
|
23833
|
+
* @param {string} hospitalId
|
|
23834
|
+
* @param {string} handleId
|
|
23835
|
+
* @param {*} [options] Override http request option.
|
|
23836
|
+
* @throws {RequiredError}
|
|
23837
|
+
* @memberof HospitalsApi
|
|
23838
|
+
*/
|
|
23839
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdHandlesHandleIdGet = function (hospitalId, handleId, options) {
|
|
23840
|
+
var _this = this;
|
|
23841
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdHandlesHandleIdGet(hospitalId, handleId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
23842
|
+
};
|
|
23843
|
+
/**
|
|
23844
|
+
*
|
|
23845
|
+
* @summary Update HospitalHandle.
|
|
23846
|
+
* @param {string} hospitalId
|
|
23847
|
+
* @param {string} handleId
|
|
23848
|
+
* @param {UpdateHospitalSnsHandleCommand} [updateHospitalSnsHandleCommand]
|
|
23849
|
+
* @param {*} [options] Override http request option.
|
|
23850
|
+
* @throws {RequiredError}
|
|
23851
|
+
* @memberof HospitalsApi
|
|
23852
|
+
*/
|
|
23853
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdHandlesHandleIdPut = function (hospitalId, handleId, updateHospitalSnsHandleCommand, options) {
|
|
23854
|
+
var _this = this;
|
|
23855
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdHandlesHandleIdPut(hospitalId, handleId, updateHospitalSnsHandleCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
23856
|
+
};
|
|
23857
|
+
/**
|
|
23858
|
+
*
|
|
23859
|
+
* @summary Get HospitalHandle.
|
|
23860
|
+
* @param {string} hospitalId
|
|
23861
|
+
* @param {CreateHospitalSnsHandleCommand} [createHospitalSnsHandleCommand]
|
|
23862
|
+
* @param {*} [options] Override http request option.
|
|
23863
|
+
* @throws {RequiredError}
|
|
23864
|
+
* @memberof HospitalsApi
|
|
23865
|
+
*/
|
|
23866
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdHandlesPost = function (hospitalId, createHospitalSnsHandleCommand, options) {
|
|
23867
|
+
var _this = this;
|
|
23868
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdHandlesPost(hospitalId, createHospitalSnsHandleCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
23869
|
+
};
|
|
22893
23870
|
/**
|
|
22894
23871
|
*
|
|
22895
23872
|
* @summary Get all HospitalMedias.
|
|
@@ -23250,6 +24227,80 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
23250
24227
|
var _this = this;
|
|
23251
24228
|
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
23252
24229
|
};
|
|
24230
|
+
/**
|
|
24231
|
+
*
|
|
24232
|
+
* @summary Get all HospitalWorkingDays.
|
|
24233
|
+
* @param {string} hospitalId
|
|
24234
|
+
* @param {string} [hospitalId2]
|
|
24235
|
+
* @param {string} [id]
|
|
24236
|
+
* @param {string} [dayOfWeek]
|
|
24237
|
+
* @param {Date} [timeFrom]
|
|
24238
|
+
* @param {Date} [timeTo]
|
|
24239
|
+
* @param {boolean} [checkHoliday]
|
|
24240
|
+
* @param {number} [page]
|
|
24241
|
+
* @param {number} [limit]
|
|
24242
|
+
* @param {Date} [lastRetrieved]
|
|
24243
|
+
* @param {*} [options] Override http request option.
|
|
24244
|
+
* @throws {RequiredError}
|
|
24245
|
+
* @memberof HospitalsApi
|
|
24246
|
+
*/
|
|
24247
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdWorkingdaysGet = function (hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options) {
|
|
24248
|
+
var _this = this;
|
|
24249
|
+
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); });
|
|
24250
|
+
};
|
|
24251
|
+
/**
|
|
24252
|
+
*
|
|
24253
|
+
* @summary Create HospitalWorkingDay.
|
|
24254
|
+
* @param {string} hospitalId
|
|
24255
|
+
* @param {CreateHospitalWorkingDayCommand} [createHospitalWorkingDayCommand]
|
|
24256
|
+
* @param {*} [options] Override http request option.
|
|
24257
|
+
* @throws {RequiredError}
|
|
24258
|
+
* @memberof HospitalsApi
|
|
24259
|
+
*/
|
|
24260
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdWorkingdaysPost = function (hospitalId, createHospitalWorkingDayCommand, options) {
|
|
24261
|
+
var _this = this;
|
|
24262
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdWorkingdaysPost(hospitalId, createHospitalWorkingDayCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
24263
|
+
};
|
|
24264
|
+
/**
|
|
24265
|
+
*
|
|
24266
|
+
* @summary Delete HospitalWorkingDay.
|
|
24267
|
+
* @param {string} hospitalId
|
|
24268
|
+
* @param {string} workingDayId
|
|
24269
|
+
* @param {*} [options] Override http request option.
|
|
24270
|
+
* @throws {RequiredError}
|
|
24271
|
+
* @memberof HospitalsApi
|
|
24272
|
+
*/
|
|
24273
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete = function (hospitalId, workingDayId, options) {
|
|
24274
|
+
var _this = this;
|
|
24275
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete(hospitalId, workingDayId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
24276
|
+
};
|
|
24277
|
+
/**
|
|
24278
|
+
*
|
|
24279
|
+
* @summary Get HospitalWorkingDay.
|
|
24280
|
+
* @param {string} hospitalId
|
|
24281
|
+
* @param {string} workingDayId
|
|
24282
|
+
* @param {*} [options] Override http request option.
|
|
24283
|
+
* @throws {RequiredError}
|
|
24284
|
+
* @memberof HospitalsApi
|
|
24285
|
+
*/
|
|
24286
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet = function (hospitalId, workingDayId, options) {
|
|
24287
|
+
var _this = this;
|
|
24288
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet(hospitalId, workingDayId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
24289
|
+
};
|
|
24290
|
+
/**
|
|
24291
|
+
*
|
|
24292
|
+
* @summary Update HospitalWorkingDay.
|
|
24293
|
+
* @param {string} hospitalId
|
|
24294
|
+
* @param {string} workingDayId
|
|
24295
|
+
* @param {UpdateHospitalWorkingDayCommand} [updateHospitalWorkingDayCommand]
|
|
24296
|
+
* @param {*} [options] Override http request option.
|
|
24297
|
+
* @throws {RequiredError}
|
|
24298
|
+
* @memberof HospitalsApi
|
|
24299
|
+
*/
|
|
24300
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut = function (hospitalId, workingDayId, updateHospitalWorkingDayCommand, options) {
|
|
24301
|
+
var _this = this;
|
|
24302
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut(hospitalId, workingDayId, updateHospitalWorkingDayCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
24303
|
+
};
|
|
23253
24304
|
/**
|
|
23254
24305
|
*
|
|
23255
24306
|
* @summary Create Hospital.
|
|
@@ -23278,6 +24329,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
23278
24329
|
* @param {string} [languageCode]
|
|
23279
24330
|
* @param {Array<string>} [ids]
|
|
23280
24331
|
* @param {boolean} [returnDefaultValue]
|
|
24332
|
+
* @param {boolean} [paymentEnabled]
|
|
23281
24333
|
* @param {number} [page]
|
|
23282
24334
|
* @param {number} [limit]
|
|
23283
24335
|
* @param {Date} [lastRetrieved]
|
|
@@ -23285,9 +24337,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
23285
24337
|
* @throws {RequiredError}
|
|
23286
24338
|
* @memberof HospitalsApi
|
|
23287
24339
|
*/
|
|
23288
|
-
HospitalsApi.prototype.apiV1HospitalsSimpleGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
24340
|
+
HospitalsApi.prototype.apiV1HospitalsSimpleGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
23289
24341
|
var _this = this;
|
|
23290
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
24342
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
23291
24343
|
};
|
|
23292
24344
|
/**
|
|
23293
24345
|
*
|