ch-admin-api-client-typescript 2.9.4 → 2.9.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api.d.ts +1562 -48
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +1850 -104
- package/package.json +1 -1
- package/src/api.ts +2595 -265
package/lib/api.js
CHANGED
|
@@ -76,7 +76,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
76
76
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
77
77
|
};
|
|
78
78
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
79
|
-
exports.WeatherForecastApi = exports.WeatherForecastApiFactory = exports.WeatherForecastApiFp = exports.WeatherForecastApiAxiosParamCreator = exports.TranslationApi = exports.TranslationApiFactory = exports.TranslationApiFp = exports.TranslationApiAxiosParamCreator = exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiAxiosParamCreator = exports.SpecialtyTypesApi = exports.SpecialtyTypesApiFactory = exports.SpecialtyTypesApiFp = exports.SpecialtyTypesApiAxiosParamCreator = exports.SpecialtiesApi = exports.SpecialtiesApiFactory = exports.SpecialtiesApiFp = exports.SpecialtiesApiAxiosParamCreator = exports.ServicesCategoriesApi = exports.ServicesCategoriesApiFactory = exports.ServicesCategoriesApiFp = exports.ServicesCategoriesApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.ServiceReviewsApi = exports.ServiceReviewsApiFactory = exports.ServiceReviewsApiFp = exports.ServiceReviewsApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.ProfilesApi = exports.ProfilesApiFactory = exports.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PaymentsApi = exports.PaymentsApiFactory = exports.PaymentsApiFp = exports.PaymentsApiAxiosParamCreator = exports.PatientsApi = exports.PatientsApiFactory = exports.PatientsApiFp = exports.PatientsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.MembershipsApi = exports.MembershipsApiFactory = exports.MembershipsApiFp = exports.MembershipsApiAxiosParamCreator = exports.ManagersApi = exports.ManagersApiFactory = exports.ManagersApiFp = exports.ManagersApiAxiosParamCreator = exports.LanguagesApi = exports.LanguagesApiFactory = exports.LanguagesApiFp = exports.LanguagesApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.HospitalsApi = exports.HospitalsApiFactory = exports.HospitalsApiFp = exports.HospitalsApiAxiosParamCreator = exports.FaqsApi = exports.FaqsApiFactory = exports.FaqsApiFp = exports.FaqsApiAxiosParamCreator = exports.FaqCategoriesApi = exports.FaqCategoriesApiFactory = exports.FaqCategoriesApiFp = exports.FaqCategoriesApiAxiosParamCreator = exports.EmailMarketingsApi = exports.EmailMarketingsApiFactory = exports.EmailMarketingsApiFp = exports.EmailMarketingsApiAxiosParamCreator = exports.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = exports.DashBoardApi = exports.DashBoardApiFactory = exports.DashBoardApiFp = exports.DashBoardApiAxiosParamCreator = exports.CountriesApi = exports.CountriesApiFactory = exports.CountriesApiFp = exports.CountriesApiAxiosParamCreator = exports.ContributorsApi = exports.ContributorsApiFactory = exports.ContributorsApiFp = exports.ContributorsApiAxiosParamCreator = exports.ConsultationsApi = exports.ConsultationsApiFactory = exports.ConsultationsApiFp = exports.ConsultationsApiAxiosParamCreator = exports.CommunicationsApi = exports.CommunicationsApiFactory = exports.CommunicationsApiFp = exports.CommunicationsApiAxiosParamCreator = exports.ChatUsersApi = exports.ChatUsersApiFactory = exports.ChatUsersApiFp = exports.ChatUsersApiAxiosParamCreator = exports.CHManagersApi = exports.CHManagersApiFactory = exports.CHManagersApiFp = exports.CHManagersApiAxiosParamCreator = exports.CHAdminsApi = exports.CHAdminsApiFactory = exports.CHAdminsApiFp = exports.CHAdminsApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AccreditationsApi = exports.AccreditationsApiFactory = exports.AccreditationsApiFp = exports.AccreditationsApiAxiosParamCreator = exports.UserLocationType = exports.SortingOrder = exports.SnsType = exports.ReviewType = exports.RejectReason = exports.RefundPolicy = exports.RecurringInterval = exports.Procedure = exports.NotificationCode = exports.MediaType = exports.MarketingType = exports.Gender = exports.Duration = exports.ContributionType = exports.ConsultationType = exports.ConsultationStatus = exports.BookingStatus = exports.ArticleStatus = void 0;
|
|
79
|
+
exports.WeatherForecastApi = exports.WeatherForecastApiFactory = exports.WeatherForecastApiFp = exports.WeatherForecastApiAxiosParamCreator = exports.TranslationApi = exports.TranslationApiFactory = exports.TranslationApiFp = exports.TranslationApiAxiosParamCreator = exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiAxiosParamCreator = exports.SpecialtyTypesApi = exports.SpecialtyTypesApiFactory = exports.SpecialtyTypesApiFp = exports.SpecialtyTypesApiAxiosParamCreator = exports.SpecialtiesApi = exports.SpecialtiesApiFactory = exports.SpecialtiesApiFp = exports.SpecialtiesApiAxiosParamCreator = exports.ServicesCategoriesApi = exports.ServicesCategoriesApiFactory = exports.ServicesCategoriesApiFp = exports.ServicesCategoriesApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.ServiceReviewsApi = exports.ServiceReviewsApiFactory = exports.ServiceReviewsApiFp = exports.ServiceReviewsApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.ProfilesApi = exports.ProfilesApiFactory = exports.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PaymentsApi = exports.PaymentsApiFactory = exports.PaymentsApiFp = exports.PaymentsApiAxiosParamCreator = exports.PatientsApi = exports.PatientsApiFactory = exports.PatientsApiFp = exports.PatientsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.MembershipsApi = exports.MembershipsApiFactory = exports.MembershipsApiFp = exports.MembershipsApiAxiosParamCreator = exports.ManagersApi = exports.ManagersApiFactory = exports.ManagersApiFp = exports.ManagersApiAxiosParamCreator = exports.LanguagesApi = exports.LanguagesApiFactory = exports.LanguagesApiFp = exports.LanguagesApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.HospitalsApi = exports.HospitalsApiFactory = exports.HospitalsApiFp = exports.HospitalsApiAxiosParamCreator = exports.FaqsApi = exports.FaqsApiFactory = exports.FaqsApiFp = exports.FaqsApiAxiosParamCreator = exports.FaqCategoriesApi = exports.FaqCategoriesApiFactory = exports.FaqCategoriesApiFp = exports.FaqCategoriesApiAxiosParamCreator = exports.EmailMarketingsApi = exports.EmailMarketingsApiFactory = exports.EmailMarketingsApiFp = exports.EmailMarketingsApiAxiosParamCreator = exports.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = exports.DashBoardApi = exports.DashBoardApiFactory = exports.DashBoardApiFp = exports.DashBoardApiAxiosParamCreator = exports.CountriesApi = exports.CountriesApiFactory = exports.CountriesApiFp = exports.CountriesApiAxiosParamCreator = exports.ContributorsApi = exports.ContributorsApiFactory = exports.ContributorsApiFp = exports.ContributorsApiAxiosParamCreator = exports.ConsultationsApi = exports.ConsultationsApiFactory = exports.ConsultationsApiFp = exports.ConsultationsApiAxiosParamCreator = exports.CommunicationsApi = exports.CommunicationsApiFactory = exports.CommunicationsApiFp = exports.CommunicationsApiAxiosParamCreator = exports.ChatUsersApi = exports.ChatUsersApiFactory = exports.ChatUsersApiFp = exports.ChatUsersApiAxiosParamCreator = exports.CHManagersApi = exports.CHManagersApiFactory = exports.CHManagersApiFp = exports.CHManagersApiAxiosParamCreator = exports.CHAdminsApi = exports.CHAdminsApiFactory = exports.CHAdminsApiFp = exports.CHAdminsApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AccreditationsApi = exports.AccreditationsApiFactory = exports.AccreditationsApiFp = exports.AccreditationsApiAxiosParamCreator = exports.AboutUsApi = exports.AboutUsApiFactory = exports.AboutUsApiFp = exports.AboutUsApiAxiosParamCreator = exports.UserLocationType = exports.SortingOrder = exports.SnsType = exports.ReviewType = exports.RejectReason = exports.RefundPolicy = exports.RecurringInterval = exports.Procedure = exports.NotificationCode = exports.MediaType = exports.MarketingType = exports.Gender = exports.Duration = exports.ContributionType = exports.ConsultationType = exports.ConsultationStatus = exports.BookingStatus = exports.ArticleStatus = void 0;
|
|
80
80
|
var axios_1 = __importDefault(require("axios"));
|
|
81
81
|
// Some imports not used depending on template conditions
|
|
82
82
|
// @ts-ignore
|
|
@@ -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
|
*
|
|
@@ -312,6 +314,693 @@ var UserLocationType;
|
|
|
312
314
|
UserLocationType["LivesIn"] = "LivesIn";
|
|
313
315
|
UserLocationType["BirthPlace"] = "BirthPlace";
|
|
314
316
|
})(UserLocationType = exports.UserLocationType || (exports.UserLocationType = {}));
|
|
317
|
+
/**
|
|
318
|
+
* AboutUsApi - axios parameter creator
|
|
319
|
+
* @export
|
|
320
|
+
*/
|
|
321
|
+
exports.AboutUsApiAxiosParamCreator = function (configuration) {
|
|
322
|
+
var _this = this;
|
|
323
|
+
return {
|
|
324
|
+
/**
|
|
325
|
+
*
|
|
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]
|
|
343
|
+
* @param {*} [options] Override http request option.
|
|
344
|
+
* @throws {RequiredError}
|
|
345
|
+
*/
|
|
346
|
+
apiV1AboutusGet: function (hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options) {
|
|
347
|
+
if (options === void 0) { options = {}; }
|
|
348
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
349
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
350
|
+
return __generator(this, function (_a) {
|
|
351
|
+
switch (_a.label) {
|
|
352
|
+
case 0:
|
|
353
|
+
localVarPath = "/api/v1/aboutus";
|
|
354
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
355
|
+
if (configuration) {
|
|
356
|
+
baseOptions = configuration.baseOptions;
|
|
357
|
+
}
|
|
358
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
359
|
+
localVarHeaderParameter = {};
|
|
360
|
+
localVarQueryParameter = {};
|
|
361
|
+
// authentication oauth2 required
|
|
362
|
+
// oauth required
|
|
363
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
364
|
+
case 1:
|
|
365
|
+
// authentication oauth2 required
|
|
366
|
+
// oauth required
|
|
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
|
+
}
|
|
418
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
419
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
420
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
421
|
+
return [2 /*return*/, {
|
|
422
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
423
|
+
options: localVarRequestOptions,
|
|
424
|
+
}];
|
|
425
|
+
}
|
|
426
|
+
});
|
|
427
|
+
});
|
|
428
|
+
},
|
|
429
|
+
/**
|
|
430
|
+
*
|
|
431
|
+
* @summary Delete AboutUs.
|
|
432
|
+
* @param {string} hospitalId
|
|
433
|
+
* @param {*} [options] Override http request option.
|
|
434
|
+
* @throws {RequiredError}
|
|
435
|
+
*/
|
|
436
|
+
apiV1AboutusHospitalIdDelete: function (hospitalId, options) {
|
|
437
|
+
if (options === void 0) { options = {}; }
|
|
438
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
439
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
440
|
+
return __generator(this, function (_a) {
|
|
441
|
+
switch (_a.label) {
|
|
442
|
+
case 0:
|
|
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)));
|
|
447
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
448
|
+
if (configuration) {
|
|
449
|
+
baseOptions = configuration.baseOptions;
|
|
450
|
+
}
|
|
451
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
452
|
+
localVarHeaderParameter = {};
|
|
453
|
+
localVarQueryParameter = {};
|
|
454
|
+
// authentication oauth2 required
|
|
455
|
+
// oauth required
|
|
456
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
457
|
+
case 1:
|
|
458
|
+
// authentication oauth2 required
|
|
459
|
+
// oauth required
|
|
460
|
+
_a.sent();
|
|
461
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
462
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
463
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
464
|
+
return [2 /*return*/, {
|
|
465
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
466
|
+
options: localVarRequestOptions,
|
|
467
|
+
}];
|
|
468
|
+
}
|
|
469
|
+
});
|
|
470
|
+
});
|
|
471
|
+
},
|
|
472
|
+
/**
|
|
473
|
+
*
|
|
474
|
+
* @summary Get AboutUs.
|
|
475
|
+
* @param {string} hospitalId
|
|
476
|
+
* @param {string} [languageCode]
|
|
477
|
+
* @param {boolean} [returnDefaultValue]
|
|
478
|
+
* @param {*} [options] Override http request option.
|
|
479
|
+
* @throws {RequiredError}
|
|
480
|
+
*/
|
|
481
|
+
apiV1AboutusHospitalIdGet: function (hospitalId, languageCode, returnDefaultValue, options) {
|
|
482
|
+
if (options === void 0) { options = {}; }
|
|
483
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
484
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
485
|
+
return __generator(this, function (_a) {
|
|
486
|
+
switch (_a.label) {
|
|
487
|
+
case 0:
|
|
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)));
|
|
492
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
493
|
+
if (configuration) {
|
|
494
|
+
baseOptions = configuration.baseOptions;
|
|
495
|
+
}
|
|
496
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
497
|
+
localVarHeaderParameter = {};
|
|
498
|
+
localVarQueryParameter = {};
|
|
499
|
+
// authentication oauth2 required
|
|
500
|
+
// oauth required
|
|
501
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
502
|
+
case 1:
|
|
503
|
+
// authentication oauth2 required
|
|
504
|
+
// oauth required
|
|
505
|
+
_a.sent();
|
|
506
|
+
if (languageCode !== undefined) {
|
|
507
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
508
|
+
}
|
|
509
|
+
if (returnDefaultValue !== undefined) {
|
|
510
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
511
|
+
}
|
|
512
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
513
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
514
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
515
|
+
return [2 /*return*/, {
|
|
516
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
517
|
+
options: localVarRequestOptions,
|
|
518
|
+
}];
|
|
519
|
+
}
|
|
520
|
+
});
|
|
521
|
+
});
|
|
522
|
+
},
|
|
523
|
+
/**
|
|
524
|
+
*
|
|
525
|
+
* @summary Update AboutUs.
|
|
526
|
+
* @param {string} hospitalId
|
|
527
|
+
* @param {UpdateAboutUsPageCommand} [updateAboutUsPageCommand]
|
|
528
|
+
* @param {*} [options] Override http request option.
|
|
529
|
+
* @throws {RequiredError}
|
|
530
|
+
*/
|
|
531
|
+
apiV1AboutusHospitalIdPut: function (hospitalId, updateAboutUsPageCommand, options) {
|
|
532
|
+
if (options === void 0) { options = {}; }
|
|
533
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
534
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
535
|
+
return __generator(this, function (_a) {
|
|
536
|
+
switch (_a.label) {
|
|
537
|
+
case 0:
|
|
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)));
|
|
542
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
543
|
+
if (configuration) {
|
|
544
|
+
baseOptions = configuration.baseOptions;
|
|
545
|
+
}
|
|
546
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
547
|
+
localVarHeaderParameter = {};
|
|
548
|
+
localVarQueryParameter = {};
|
|
549
|
+
// authentication oauth2 required
|
|
550
|
+
// oauth required
|
|
551
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
552
|
+
case 1:
|
|
553
|
+
// authentication oauth2 required
|
|
554
|
+
// oauth required
|
|
555
|
+
_a.sent();
|
|
556
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
557
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
558
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
559
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
560
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateAboutUsPageCommand, localVarRequestOptions, configuration);
|
|
561
|
+
return [2 /*return*/, {
|
|
562
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
563
|
+
options: localVarRequestOptions,
|
|
564
|
+
}];
|
|
565
|
+
}
|
|
566
|
+
});
|
|
567
|
+
});
|
|
568
|
+
},
|
|
569
|
+
/**
|
|
570
|
+
*
|
|
571
|
+
* @summary Create AboutUs.
|
|
572
|
+
* @param {CreateAboutUsPageCommand} [createAboutUsPageCommand]
|
|
573
|
+
* @param {*} [options] Override http request option.
|
|
574
|
+
* @throws {RequiredError}
|
|
575
|
+
*/
|
|
576
|
+
apiV1AboutusPost: function (createAboutUsPageCommand, options) {
|
|
577
|
+
if (options === void 0) { options = {}; }
|
|
578
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
579
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
580
|
+
return __generator(this, function (_a) {
|
|
581
|
+
switch (_a.label) {
|
|
582
|
+
case 0:
|
|
583
|
+
localVarPath = "/api/v1/aboutus";
|
|
584
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
585
|
+
if (configuration) {
|
|
586
|
+
baseOptions = configuration.baseOptions;
|
|
587
|
+
}
|
|
588
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
589
|
+
localVarHeaderParameter = {};
|
|
590
|
+
localVarQueryParameter = {};
|
|
591
|
+
// authentication oauth2 required
|
|
592
|
+
// oauth required
|
|
593
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
594
|
+
case 1:
|
|
595
|
+
// authentication oauth2 required
|
|
596
|
+
// oauth required
|
|
597
|
+
_a.sent();
|
|
598
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
599
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
600
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
601
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
602
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(createAboutUsPageCommand, localVarRequestOptions, configuration);
|
|
603
|
+
return [2 /*return*/, {
|
|
604
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
605
|
+
options: localVarRequestOptions,
|
|
606
|
+
}];
|
|
607
|
+
}
|
|
608
|
+
});
|
|
609
|
+
});
|
|
610
|
+
},
|
|
611
|
+
/**
|
|
612
|
+
*
|
|
613
|
+
* @param {string} slug
|
|
614
|
+
* @param {string} [languageCode]
|
|
615
|
+
* @param {boolean} [returnDefaultValue]
|
|
616
|
+
* @param {*} [options] Override http request option.
|
|
617
|
+
* @throws {RequiredError}
|
|
618
|
+
*/
|
|
619
|
+
apiV1AboutusSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
620
|
+
if (options === void 0) { options = {}; }
|
|
621
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
622
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
623
|
+
return __generator(this, function (_a) {
|
|
624
|
+
switch (_a.label) {
|
|
625
|
+
case 0:
|
|
626
|
+
// verify required parameter 'slug' is not null or undefined
|
|
627
|
+
common_1.assertParamExists('apiV1AboutusSlugGet', 'slug', slug);
|
|
628
|
+
localVarPath = "/api/v1/aboutus/{slug}"
|
|
629
|
+
.replace("{" + "slug" + "}", encodeURIComponent(String(slug)));
|
|
630
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
631
|
+
if (configuration) {
|
|
632
|
+
baseOptions = configuration.baseOptions;
|
|
633
|
+
}
|
|
634
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
635
|
+
localVarHeaderParameter = {};
|
|
636
|
+
localVarQueryParameter = {};
|
|
637
|
+
// authentication oauth2 required
|
|
638
|
+
// oauth required
|
|
639
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
640
|
+
case 1:
|
|
641
|
+
// authentication oauth2 required
|
|
642
|
+
// oauth required
|
|
643
|
+
_a.sent();
|
|
644
|
+
if (languageCode !== undefined) {
|
|
645
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
646
|
+
}
|
|
647
|
+
if (returnDefaultValue !== undefined) {
|
|
648
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
649
|
+
}
|
|
650
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
651
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
652
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
653
|
+
return [2 /*return*/, {
|
|
654
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
655
|
+
options: localVarRequestOptions,
|
|
656
|
+
}];
|
|
657
|
+
}
|
|
658
|
+
});
|
|
659
|
+
});
|
|
660
|
+
},
|
|
661
|
+
};
|
|
662
|
+
};
|
|
663
|
+
/**
|
|
664
|
+
* AboutUsApi - functional programming interface
|
|
665
|
+
* @export
|
|
666
|
+
*/
|
|
667
|
+
exports.AboutUsApiFp = function (configuration) {
|
|
668
|
+
var localVarAxiosParamCreator = exports.AboutUsApiAxiosParamCreator(configuration);
|
|
669
|
+
return {
|
|
670
|
+
/**
|
|
671
|
+
*
|
|
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]
|
|
689
|
+
* @param {*} [options] Override http request option.
|
|
690
|
+
* @throws {RequiredError}
|
|
691
|
+
*/
|
|
692
|
+
apiV1AboutusGet: function (hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options) {
|
|
693
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
694
|
+
var localVarAxiosArgs;
|
|
695
|
+
return __generator(this, function (_a) {
|
|
696
|
+
switch (_a.label) {
|
|
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)];
|
|
698
|
+
case 1:
|
|
699
|
+
localVarAxiosArgs = _a.sent();
|
|
700
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
701
|
+
}
|
|
702
|
+
});
|
|
703
|
+
});
|
|
704
|
+
},
|
|
705
|
+
/**
|
|
706
|
+
*
|
|
707
|
+
* @summary Delete AboutUs.
|
|
708
|
+
* @param {string} hospitalId
|
|
709
|
+
* @param {*} [options] Override http request option.
|
|
710
|
+
* @throws {RequiredError}
|
|
711
|
+
*/
|
|
712
|
+
apiV1AboutusHospitalIdDelete: function (hospitalId, options) {
|
|
713
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
714
|
+
var localVarAxiosArgs;
|
|
715
|
+
return __generator(this, function (_a) {
|
|
716
|
+
switch (_a.label) {
|
|
717
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1AboutusHospitalIdDelete(hospitalId, options)];
|
|
718
|
+
case 1:
|
|
719
|
+
localVarAxiosArgs = _a.sent();
|
|
720
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
721
|
+
}
|
|
722
|
+
});
|
|
723
|
+
});
|
|
724
|
+
},
|
|
725
|
+
/**
|
|
726
|
+
*
|
|
727
|
+
* @summary Get AboutUs.
|
|
728
|
+
* @param {string} hospitalId
|
|
729
|
+
* @param {string} [languageCode]
|
|
730
|
+
* @param {boolean} [returnDefaultValue]
|
|
731
|
+
* @param {*} [options] Override http request option.
|
|
732
|
+
* @throws {RequiredError}
|
|
733
|
+
*/
|
|
734
|
+
apiV1AboutusHospitalIdGet: function (hospitalId, languageCode, returnDefaultValue, options) {
|
|
735
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
736
|
+
var localVarAxiosArgs;
|
|
737
|
+
return __generator(this, function (_a) {
|
|
738
|
+
switch (_a.label) {
|
|
739
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1AboutusHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options)];
|
|
740
|
+
case 1:
|
|
741
|
+
localVarAxiosArgs = _a.sent();
|
|
742
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
743
|
+
}
|
|
744
|
+
});
|
|
745
|
+
});
|
|
746
|
+
},
|
|
747
|
+
/**
|
|
748
|
+
*
|
|
749
|
+
* @summary Update AboutUs.
|
|
750
|
+
* @param {string} hospitalId
|
|
751
|
+
* @param {UpdateAboutUsPageCommand} [updateAboutUsPageCommand]
|
|
752
|
+
* @param {*} [options] Override http request option.
|
|
753
|
+
* @throws {RequiredError}
|
|
754
|
+
*/
|
|
755
|
+
apiV1AboutusHospitalIdPut: function (hospitalId, updateAboutUsPageCommand, options) {
|
|
756
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
757
|
+
var localVarAxiosArgs;
|
|
758
|
+
return __generator(this, function (_a) {
|
|
759
|
+
switch (_a.label) {
|
|
760
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1AboutusHospitalIdPut(hospitalId, updateAboutUsPageCommand, options)];
|
|
761
|
+
case 1:
|
|
762
|
+
localVarAxiosArgs = _a.sent();
|
|
763
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
764
|
+
}
|
|
765
|
+
});
|
|
766
|
+
});
|
|
767
|
+
},
|
|
768
|
+
/**
|
|
769
|
+
*
|
|
770
|
+
* @summary Create AboutUs.
|
|
771
|
+
* @param {CreateAboutUsPageCommand} [createAboutUsPageCommand]
|
|
772
|
+
* @param {*} [options] Override http request option.
|
|
773
|
+
* @throws {RequiredError}
|
|
774
|
+
*/
|
|
775
|
+
apiV1AboutusPost: function (createAboutUsPageCommand, options) {
|
|
776
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
777
|
+
var localVarAxiosArgs;
|
|
778
|
+
return __generator(this, function (_a) {
|
|
779
|
+
switch (_a.label) {
|
|
780
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1AboutusPost(createAboutUsPageCommand, options)];
|
|
781
|
+
case 1:
|
|
782
|
+
localVarAxiosArgs = _a.sent();
|
|
783
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
784
|
+
}
|
|
785
|
+
});
|
|
786
|
+
});
|
|
787
|
+
},
|
|
788
|
+
/**
|
|
789
|
+
*
|
|
790
|
+
* @param {string} slug
|
|
791
|
+
* @param {string} [languageCode]
|
|
792
|
+
* @param {boolean} [returnDefaultValue]
|
|
793
|
+
* @param {*} [options] Override http request option.
|
|
794
|
+
* @throws {RequiredError}
|
|
795
|
+
*/
|
|
796
|
+
apiV1AboutusSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
797
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
798
|
+
var localVarAxiosArgs;
|
|
799
|
+
return __generator(this, function (_a) {
|
|
800
|
+
switch (_a.label) {
|
|
801
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1AboutusSlugGet(slug, languageCode, returnDefaultValue, options)];
|
|
802
|
+
case 1:
|
|
803
|
+
localVarAxiosArgs = _a.sent();
|
|
804
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
805
|
+
}
|
|
806
|
+
});
|
|
807
|
+
});
|
|
808
|
+
},
|
|
809
|
+
};
|
|
810
|
+
};
|
|
811
|
+
/**
|
|
812
|
+
* AboutUsApi - factory interface
|
|
813
|
+
* @export
|
|
814
|
+
*/
|
|
815
|
+
exports.AboutUsApiFactory = function (configuration, basePath, axios) {
|
|
816
|
+
var localVarFp = exports.AboutUsApiFp(configuration);
|
|
817
|
+
return {
|
|
818
|
+
/**
|
|
819
|
+
*
|
|
820
|
+
* @summary Get all AboutUsList.
|
|
821
|
+
* @param {string} [hospitalId]
|
|
822
|
+
* @param {string} [hospitalName]
|
|
823
|
+
* @param {string} [hospitalSlug]
|
|
824
|
+
* @param {string} [overviewTitle]
|
|
825
|
+
* @param {string} [normalizedOverviewTitle]
|
|
826
|
+
* @param {string} [overview]
|
|
827
|
+
* @param {string} [content]
|
|
828
|
+
* @param {string} [customStyle]
|
|
829
|
+
* @param {string} [background]
|
|
830
|
+
* @param {string} [backgroundThumbnail]
|
|
831
|
+
* @param {string} [languageCode]
|
|
832
|
+
* @param {boolean} [returnDefaultValue]
|
|
833
|
+
* @param {boolean} [confirmed]
|
|
834
|
+
* @param {number} [page]
|
|
835
|
+
* @param {number} [limit]
|
|
836
|
+
* @param {Date} [lastRetrieved]
|
|
837
|
+
* @param {*} [options] Override http request option.
|
|
838
|
+
* @throws {RequiredError}
|
|
839
|
+
*/
|
|
840
|
+
apiV1AboutusGet: function (hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options) {
|
|
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); });
|
|
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
|
+
},
|
|
876
|
+
/**
|
|
877
|
+
*
|
|
878
|
+
* @summary Create AboutUs.
|
|
879
|
+
* @param {CreateAboutUsPageCommand} [createAboutUsPageCommand]
|
|
880
|
+
* @param {*} [options] Override http request option.
|
|
881
|
+
* @throws {RequiredError}
|
|
882
|
+
*/
|
|
883
|
+
apiV1AboutusPost: function (createAboutUsPageCommand, options) {
|
|
884
|
+
return localVarFp.apiV1AboutusPost(createAboutUsPageCommand, options).then(function (request) { return request(axios, basePath); });
|
|
885
|
+
},
|
|
886
|
+
/**
|
|
887
|
+
*
|
|
888
|
+
* @param {string} slug
|
|
889
|
+
* @param {string} [languageCode]
|
|
890
|
+
* @param {boolean} [returnDefaultValue]
|
|
891
|
+
* @param {*} [options] Override http request option.
|
|
892
|
+
* @throws {RequiredError}
|
|
893
|
+
*/
|
|
894
|
+
apiV1AboutusSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
895
|
+
return localVarFp.apiV1AboutusSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
896
|
+
},
|
|
897
|
+
};
|
|
898
|
+
};
|
|
899
|
+
/**
|
|
900
|
+
* AboutUsApi - object-oriented interface
|
|
901
|
+
* @export
|
|
902
|
+
* @class AboutUsApi
|
|
903
|
+
* @extends {BaseAPI}
|
|
904
|
+
*/
|
|
905
|
+
var AboutUsApi = /** @class */ (function (_super) {
|
|
906
|
+
__extends(AboutUsApi, _super);
|
|
907
|
+
function AboutUsApi() {
|
|
908
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
909
|
+
}
|
|
910
|
+
/**
|
|
911
|
+
*
|
|
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]
|
|
929
|
+
* @param {*} [options] Override http request option.
|
|
930
|
+
* @throws {RequiredError}
|
|
931
|
+
* @memberof AboutUsApi
|
|
932
|
+
*/
|
|
933
|
+
AboutUsApi.prototype.apiV1AboutusGet = function (hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options) {
|
|
934
|
+
var _this = this;
|
|
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); });
|
|
936
|
+
};
|
|
937
|
+
/**
|
|
938
|
+
*
|
|
939
|
+
* @summary Delete AboutUs.
|
|
940
|
+
* @param {string} hospitalId
|
|
941
|
+
* @param {*} [options] Override http request option.
|
|
942
|
+
* @throws {RequiredError}
|
|
943
|
+
* @memberof AboutUsApi
|
|
944
|
+
*/
|
|
945
|
+
AboutUsApi.prototype.apiV1AboutusHospitalIdDelete = function (hospitalId, options) {
|
|
946
|
+
var _this = this;
|
|
947
|
+
return exports.AboutUsApiFp(this.configuration).apiV1AboutusHospitalIdDelete(hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
948
|
+
};
|
|
949
|
+
/**
|
|
950
|
+
*
|
|
951
|
+
* @summary Get AboutUs.
|
|
952
|
+
* @param {string} hospitalId
|
|
953
|
+
* @param {string} [languageCode]
|
|
954
|
+
* @param {boolean} [returnDefaultValue]
|
|
955
|
+
* @param {*} [options] Override http request option.
|
|
956
|
+
* @throws {RequiredError}
|
|
957
|
+
* @memberof AboutUsApi
|
|
958
|
+
*/
|
|
959
|
+
AboutUsApi.prototype.apiV1AboutusHospitalIdGet = function (hospitalId, languageCode, returnDefaultValue, options) {
|
|
960
|
+
var _this = this;
|
|
961
|
+
return exports.AboutUsApiFp(this.configuration).apiV1AboutusHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
962
|
+
};
|
|
963
|
+
/**
|
|
964
|
+
*
|
|
965
|
+
* @summary Update AboutUs.
|
|
966
|
+
* @param {string} hospitalId
|
|
967
|
+
* @param {UpdateAboutUsPageCommand} [updateAboutUsPageCommand]
|
|
968
|
+
* @param {*} [options] Override http request option.
|
|
969
|
+
* @throws {RequiredError}
|
|
970
|
+
* @memberof AboutUsApi
|
|
971
|
+
*/
|
|
972
|
+
AboutUsApi.prototype.apiV1AboutusHospitalIdPut = function (hospitalId, updateAboutUsPageCommand, options) {
|
|
973
|
+
var _this = this;
|
|
974
|
+
return exports.AboutUsApiFp(this.configuration).apiV1AboutusHospitalIdPut(hospitalId, updateAboutUsPageCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
975
|
+
};
|
|
976
|
+
/**
|
|
977
|
+
*
|
|
978
|
+
* @summary Create AboutUs.
|
|
979
|
+
* @param {CreateAboutUsPageCommand} [createAboutUsPageCommand]
|
|
980
|
+
* @param {*} [options] Override http request option.
|
|
981
|
+
* @throws {RequiredError}
|
|
982
|
+
* @memberof AboutUsApi
|
|
983
|
+
*/
|
|
984
|
+
AboutUsApi.prototype.apiV1AboutusPost = function (createAboutUsPageCommand, options) {
|
|
985
|
+
var _this = this;
|
|
986
|
+
return exports.AboutUsApiFp(this.configuration).apiV1AboutusPost(createAboutUsPageCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
987
|
+
};
|
|
988
|
+
/**
|
|
989
|
+
*
|
|
990
|
+
* @param {string} slug
|
|
991
|
+
* @param {string} [languageCode]
|
|
992
|
+
* @param {boolean} [returnDefaultValue]
|
|
993
|
+
* @param {*} [options] Override http request option.
|
|
994
|
+
* @throws {RequiredError}
|
|
995
|
+
* @memberof AboutUsApi
|
|
996
|
+
*/
|
|
997
|
+
AboutUsApi.prototype.apiV1AboutusSlugGet = function (slug, languageCode, returnDefaultValue, options) {
|
|
998
|
+
var _this = this;
|
|
999
|
+
return exports.AboutUsApiFp(this.configuration).apiV1AboutusSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1000
|
+
};
|
|
1001
|
+
return AboutUsApi;
|
|
1002
|
+
}(base_1.BaseAPI));
|
|
1003
|
+
exports.AboutUsApi = AboutUsApi;
|
|
315
1004
|
/**
|
|
316
1005
|
* AccreditationsApi - axios parameter creator
|
|
317
1006
|
* @export
|
|
@@ -1962,6 +2651,7 @@ exports.ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
1962
2651
|
* @param {string} [hospitalName]
|
|
1963
2652
|
* @param {string} [countryId]
|
|
1964
2653
|
* @param {string} [tag]
|
|
2654
|
+
* @param {string} [exceptArticleId]
|
|
1965
2655
|
* @param {string} [exceptHospitalId]
|
|
1966
2656
|
* @param {string} [contributorId]
|
|
1967
2657
|
* @param {string} [languageCode]
|
|
@@ -1973,7 +2663,7 @@ exports.ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
1973
2663
|
* @param {*} [options] Override http request option.
|
|
1974
2664
|
* @throws {RequiredError}
|
|
1975
2665
|
*/
|
|
1976
|
-
apiV1ArticlesGet: function (id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
2666
|
+
apiV1ArticlesGet: function (id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
1977
2667
|
if (options === void 0) { options = {}; }
|
|
1978
2668
|
return __awaiter(_this, void 0, void 0, function () {
|
|
1979
2669
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -2028,6 +2718,9 @@ exports.ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
2028
2718
|
if (tag !== undefined) {
|
|
2029
2719
|
localVarQueryParameter['Tag'] = tag;
|
|
2030
2720
|
}
|
|
2721
|
+
if (exceptArticleId !== undefined) {
|
|
2722
|
+
localVarQueryParameter['ExceptArticleId'] = exceptArticleId;
|
|
2723
|
+
}
|
|
2031
2724
|
if (exceptHospitalId !== undefined) {
|
|
2032
2725
|
localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
|
|
2033
2726
|
}
|
|
@@ -2665,6 +3358,7 @@ exports.ArticlesApiFp = function (configuration) {
|
|
|
2665
3358
|
* @param {string} [hospitalName]
|
|
2666
3359
|
* @param {string} [countryId]
|
|
2667
3360
|
* @param {string} [tag]
|
|
3361
|
+
* @param {string} [exceptArticleId]
|
|
2668
3362
|
* @param {string} [exceptHospitalId]
|
|
2669
3363
|
* @param {string} [contributorId]
|
|
2670
3364
|
* @param {string} [languageCode]
|
|
@@ -2676,12 +3370,12 @@ exports.ArticlesApiFp = function (configuration) {
|
|
|
2676
3370
|
* @param {*} [options] Override http request option.
|
|
2677
3371
|
* @throws {RequiredError}
|
|
2678
3372
|
*/
|
|
2679
|
-
apiV1ArticlesGet: function (id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
3373
|
+
apiV1ArticlesGet: function (id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
2680
3374
|
return __awaiter(this, void 0, void 0, function () {
|
|
2681
3375
|
var localVarAxiosArgs;
|
|
2682
3376
|
return __generator(this, function (_a) {
|
|
2683
3377
|
switch (_a.label) {
|
|
2684
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
3378
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
2685
3379
|
case 1:
|
|
2686
3380
|
localVarAxiosArgs = _a.sent();
|
|
2687
3381
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -3018,6 +3712,7 @@ exports.ArticlesApiFactory = function (configuration, basePath, axios) {
|
|
|
3018
3712
|
* @param {string} [hospitalName]
|
|
3019
3713
|
* @param {string} [countryId]
|
|
3020
3714
|
* @param {string} [tag]
|
|
3715
|
+
* @param {string} [exceptArticleId]
|
|
3021
3716
|
* @param {string} [exceptHospitalId]
|
|
3022
3717
|
* @param {string} [contributorId]
|
|
3023
3718
|
* @param {string} [languageCode]
|
|
@@ -3029,8 +3724,8 @@ exports.ArticlesApiFactory = function (configuration, basePath, axios) {
|
|
|
3029
3724
|
* @param {*} [options] Override http request option.
|
|
3030
3725
|
* @throws {RequiredError}
|
|
3031
3726
|
*/
|
|
3032
|
-
apiV1ArticlesGet: function (id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
3033
|
-
return localVarFp.apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
3727
|
+
apiV1ArticlesGet: function (id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
3728
|
+
return localVarFp.apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
3034
3729
|
},
|
|
3035
3730
|
/**
|
|
3036
3731
|
*
|
|
@@ -3389,6 +4084,7 @@ var ArticlesApi = /** @class */ (function (_super) {
|
|
|
3389
4084
|
* @param {string} [hospitalName]
|
|
3390
4085
|
* @param {string} [countryId]
|
|
3391
4086
|
* @param {string} [tag]
|
|
4087
|
+
* @param {string} [exceptArticleId]
|
|
3392
4088
|
* @param {string} [exceptHospitalId]
|
|
3393
4089
|
* @param {string} [contributorId]
|
|
3394
4090
|
* @param {string} [languageCode]
|
|
@@ -3401,9 +4097,9 @@ var ArticlesApi = /** @class */ (function (_super) {
|
|
|
3401
4097
|
* @throws {RequiredError}
|
|
3402
4098
|
* @memberof ArticlesApi
|
|
3403
4099
|
*/
|
|
3404
|
-
ArticlesApi.prototype.apiV1ArticlesGet = function (id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
4100
|
+
ArticlesApi.prototype.apiV1ArticlesGet = function (id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
3405
4101
|
var _this = this;
|
|
3406
|
-
return exports.ArticlesApiFp(this.configuration).apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4102
|
+
return exports.ArticlesApiFp(this.configuration).apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3407
4103
|
};
|
|
3408
4104
|
/**
|
|
3409
4105
|
*
|
|
@@ -17329,13 +18025,14 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
17329
18025
|
* @param {string} [languageCode]
|
|
17330
18026
|
* @param {Array<string>} [ids]
|
|
17331
18027
|
* @param {boolean} [returnDefaultValue]
|
|
18028
|
+
* @param {boolean} [paymentEnabled]
|
|
17332
18029
|
* @param {number} [page]
|
|
17333
18030
|
* @param {number} [limit]
|
|
17334
18031
|
* @param {Date} [lastRetrieved]
|
|
17335
18032
|
* @param {*} [options] Override http request option.
|
|
17336
18033
|
* @throws {RequiredError}
|
|
17337
18034
|
*/
|
|
17338
|
-
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) {
|
|
17339
18036
|
if (options === void 0) { options = {}; }
|
|
17340
18037
|
return __awaiter(_this, void 0, void 0, function () {
|
|
17341
18038
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -17398,6 +18095,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
17398
18095
|
if (returnDefaultValue !== undefined) {
|
|
17399
18096
|
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
17400
18097
|
}
|
|
18098
|
+
if (paymentEnabled !== undefined) {
|
|
18099
|
+
localVarQueryParameter['PaymentEnabled'] = paymentEnabled;
|
|
18100
|
+
}
|
|
17401
18101
|
if (page !== undefined) {
|
|
17402
18102
|
localVarQueryParameter['page'] = page;
|
|
17403
18103
|
}
|
|
@@ -18531,6 +19231,269 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
18531
19231
|
});
|
|
18532
19232
|
});
|
|
18533
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
|
+
},
|
|
18534
19497
|
/**
|
|
18535
19498
|
*
|
|
18536
19499
|
* @summary Get all HospitalMedias.
|
|
@@ -19732,14 +20695,302 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
19732
20695
|
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut', 'mediaId', mediaId);
|
|
19733
20696
|
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/medias/{mediaId}"
|
|
19734
20697
|
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
19735
|
-
.replace("{" + "specialtyId" + "}", encodeURIComponent(String(specialtyId)))
|
|
19736
|
-
.replace("{" + "serviceId" + "}", encodeURIComponent(String(serviceId)))
|
|
19737
|
-
.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)));
|
|
19738
20989
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19739
20990
|
if (configuration) {
|
|
19740
20991
|
baseOptions = configuration.baseOptions;
|
|
19741
20992
|
}
|
|
19742
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
20993
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
19743
20994
|
localVarHeaderParameter = {};
|
|
19744
20995
|
localVarQueryParameter = {};
|
|
19745
20996
|
// authentication oauth2 required
|
|
@@ -19749,11 +21000,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
19749
21000
|
// authentication oauth2 required
|
|
19750
21001
|
// oauth required
|
|
19751
21002
|
_a.sent();
|
|
19752
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
19753
21003
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19754
21004
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19755
21005
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
19756
|
-
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateMediaCommand, localVarRequestOptions, configuration);
|
|
19757
21006
|
return [2 /*return*/, {
|
|
19758
21007
|
url: common_1.toPathString(localVarUrlObj),
|
|
19759
21008
|
options: localVarRequestOptions,
|
|
@@ -19764,15 +21013,13 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
19764
21013
|
},
|
|
19765
21014
|
/**
|
|
19766
21015
|
*
|
|
19767
|
-
* @summary
|
|
21016
|
+
* @summary Get HospitalWorkingDay.
|
|
19768
21017
|
* @param {string} hospitalId
|
|
19769
|
-
* @param {string}
|
|
19770
|
-
* @param {string} serviceId
|
|
19771
|
-
* @param {CreateMediaCommand} [createMediaCommand]
|
|
21018
|
+
* @param {string} workingDayId
|
|
19772
21019
|
* @param {*} [options] Override http request option.
|
|
19773
21020
|
* @throws {RequiredError}
|
|
19774
21021
|
*/
|
|
19775
|
-
|
|
21022
|
+
apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet: function (hospitalId, workingDayId, options) {
|
|
19776
21023
|
if (options === void 0) { options = {}; }
|
|
19777
21024
|
return __awaiter(_this, void 0, void 0, function () {
|
|
19778
21025
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -19780,20 +21027,17 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
19780
21027
|
switch (_a.label) {
|
|
19781
21028
|
case 0:
|
|
19782
21029
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
19783
|
-
common_1.assertParamExists('
|
|
19784
|
-
// verify required parameter '
|
|
19785
|
-
common_1.assertParamExists('
|
|
19786
|
-
|
|
19787
|
-
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost', 'serviceId', serviceId);
|
|
19788
|
-
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}"
|
|
19789
21034
|
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
19790
|
-
.replace("{" + "
|
|
19791
|
-
.replace("{" + "serviceId" + "}", encodeURIComponent(String(serviceId)));
|
|
21035
|
+
.replace("{" + "workingDayId" + "}", encodeURIComponent(String(workingDayId)));
|
|
19792
21036
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19793
21037
|
if (configuration) {
|
|
19794
21038
|
baseOptions = configuration.baseOptions;
|
|
19795
21039
|
}
|
|
19796
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
21040
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
19797
21041
|
localVarHeaderParameter = {};
|
|
19798
21042
|
localVarQueryParameter = {};
|
|
19799
21043
|
// authentication oauth2 required
|
|
@@ -19803,11 +21047,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
19803
21047
|
// authentication oauth2 required
|
|
19804
21048
|
// oauth required
|
|
19805
21049
|
_a.sent();
|
|
19806
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
19807
21050
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19808
21051
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19809
21052
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
19810
|
-
localVarRequestOptions.data = common_1.serializeDataIfNeeded(createMediaCommand, localVarRequestOptions, configuration);
|
|
19811
21053
|
return [2 /*return*/, {
|
|
19812
21054
|
url: common_1.toPathString(localVarUrlObj),
|
|
19813
21055
|
options: localVarRequestOptions,
|
|
@@ -19818,15 +21060,14 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
19818
21060
|
},
|
|
19819
21061
|
/**
|
|
19820
21062
|
*
|
|
19821
|
-
* @summary Update
|
|
21063
|
+
* @summary Update HospitalWorkingDay.
|
|
19822
21064
|
* @param {string} hospitalId
|
|
19823
|
-
* @param {string}
|
|
19824
|
-
* @param {
|
|
19825
|
-
* @param {UpdateHospitalServiceCommand} [updateHospitalServiceCommand]
|
|
21065
|
+
* @param {string} workingDayId
|
|
21066
|
+
* @param {UpdateHospitalWorkingDayCommand} [updateHospitalWorkingDayCommand]
|
|
19826
21067
|
* @param {*} [options] Override http request option.
|
|
19827
21068
|
* @throws {RequiredError}
|
|
19828
21069
|
*/
|
|
19829
|
-
|
|
21070
|
+
apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut: function (hospitalId, workingDayId, updateHospitalWorkingDayCommand, options) {
|
|
19830
21071
|
if (options === void 0) { options = {}; }
|
|
19831
21072
|
return __awaiter(_this, void 0, void 0, function () {
|
|
19832
21073
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -19834,15 +21075,12 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
19834
21075
|
switch (_a.label) {
|
|
19835
21076
|
case 0:
|
|
19836
21077
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
19837
|
-
common_1.assertParamExists('
|
|
19838
|
-
// verify required parameter '
|
|
19839
|
-
common_1.assertParamExists('
|
|
19840
|
-
|
|
19841
|
-
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut', 'serviceId', serviceId);
|
|
19842
|
-
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}"
|
|
19843
21082
|
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
19844
|
-
.replace("{" + "
|
|
19845
|
-
.replace("{" + "serviceId" + "}", encodeURIComponent(String(serviceId)));
|
|
21083
|
+
.replace("{" + "workingDayId" + "}", encodeURIComponent(String(workingDayId)));
|
|
19846
21084
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19847
21085
|
if (configuration) {
|
|
19848
21086
|
baseOptions = configuration.baseOptions;
|
|
@@ -19861,7 +21099,7 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
19861
21099
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19862
21100
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19863
21101
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
19864
|
-
localVarRequestOptions.data = common_1.serializeDataIfNeeded(
|
|
21102
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateHospitalWorkingDayCommand, localVarRequestOptions, configuration);
|
|
19865
21103
|
return [2 /*return*/, {
|
|
19866
21104
|
url: common_1.toPathString(localVarUrlObj),
|
|
19867
21105
|
options: localVarRequestOptions,
|
|
@@ -19928,13 +21166,14 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
19928
21166
|
* @param {string} [languageCode]
|
|
19929
21167
|
* @param {Array<string>} [ids]
|
|
19930
21168
|
* @param {boolean} [returnDefaultValue]
|
|
21169
|
+
* @param {boolean} [paymentEnabled]
|
|
19931
21170
|
* @param {number} [page]
|
|
19932
21171
|
* @param {number} [limit]
|
|
19933
21172
|
* @param {Date} [lastRetrieved]
|
|
19934
21173
|
* @param {*} [options] Override http request option.
|
|
19935
21174
|
* @throws {RequiredError}
|
|
19936
21175
|
*/
|
|
19937
|
-
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) {
|
|
19938
21177
|
if (options === void 0) { options = {}; }
|
|
19939
21178
|
return __awaiter(_this, void 0, void 0, function () {
|
|
19940
21179
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -19997,6 +21236,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
19997
21236
|
if (returnDefaultValue !== undefined) {
|
|
19998
21237
|
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
19999
21238
|
}
|
|
21239
|
+
if (paymentEnabled !== undefined) {
|
|
21240
|
+
localVarQueryParameter['PaymentEnabled'] = paymentEnabled;
|
|
21241
|
+
}
|
|
20000
21242
|
if (page !== undefined) {
|
|
20001
21243
|
localVarQueryParameter['page'] = page;
|
|
20002
21244
|
}
|
|
@@ -20094,18 +21336,19 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
20094
21336
|
* @param {string} [languageCode]
|
|
20095
21337
|
* @param {Array<string>} [ids]
|
|
20096
21338
|
* @param {boolean} [returnDefaultValue]
|
|
21339
|
+
* @param {boolean} [paymentEnabled]
|
|
20097
21340
|
* @param {number} [page]
|
|
20098
21341
|
* @param {number} [limit]
|
|
20099
21342
|
* @param {Date} [lastRetrieved]
|
|
20100
21343
|
* @param {*} [options] Override http request option.
|
|
20101
21344
|
* @throws {RequiredError}
|
|
20102
21345
|
*/
|
|
20103
|
-
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) {
|
|
20104
21347
|
return __awaiter(this, void 0, void 0, function () {
|
|
20105
21348
|
var localVarAxiosArgs;
|
|
20106
21349
|
return __generator(this, function (_a) {
|
|
20107
21350
|
switch (_a.label) {
|
|
20108
|
-
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)];
|
|
20109
21352
|
case 1:
|
|
20110
21353
|
localVarAxiosArgs = _a.sent();
|
|
20111
21354
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -20584,6 +21827,118 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
20584
21827
|
});
|
|
20585
21828
|
});
|
|
20586
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
|
+
},
|
|
20587
21942
|
/**
|
|
20588
21943
|
*
|
|
20589
21944
|
* @summary Get all HospitalMedias.
|
|
@@ -20925,7 +22280,124 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
20925
22280
|
var localVarAxiosArgs;
|
|
20926
22281
|
return __generator(this, function (_a) {
|
|
20927
22282
|
switch (_a.label) {
|
|
20928
|
-
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)];
|
|
20929
22401
|
case 1:
|
|
20930
22402
|
localVarAxiosArgs = _a.sent();
|
|
20931
22403
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -20935,18 +22407,21 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
20935
22407
|
},
|
|
20936
22408
|
/**
|
|
20937
22409
|
*
|
|
22410
|
+
* @summary Update HospitalServiceMedia.
|
|
20938
22411
|
* @param {string} hospitalId
|
|
20939
22412
|
* @param {string} specialtyId
|
|
20940
22413
|
* @param {string} serviceId
|
|
22414
|
+
* @param {string} mediaId
|
|
22415
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
20941
22416
|
* @param {*} [options] Override http request option.
|
|
20942
22417
|
* @throws {RequiredError}
|
|
20943
22418
|
*/
|
|
20944
|
-
|
|
22419
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut: function (hospitalId, specialtyId, serviceId, mediaId, updateMediaCommand, options) {
|
|
20945
22420
|
return __awaiter(this, void 0, void 0, function () {
|
|
20946
22421
|
var localVarAxiosArgs;
|
|
20947
22422
|
return __generator(this, function (_a) {
|
|
20948
22423
|
switch (_a.label) {
|
|
20949
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
22424
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut(hospitalId, specialtyId, serviceId, mediaId, updateMediaCommand, options)];
|
|
20950
22425
|
case 1:
|
|
20951
22426
|
localVarAxiosArgs = _a.sent();
|
|
20952
22427
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -20956,20 +22431,20 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
20956
22431
|
},
|
|
20957
22432
|
/**
|
|
20958
22433
|
*
|
|
22434
|
+
* @summary Create HospitalServiceMedia.
|
|
20959
22435
|
* @param {string} hospitalId
|
|
20960
22436
|
* @param {string} specialtyId
|
|
20961
22437
|
* @param {string} serviceId
|
|
20962
|
-
* @param {
|
|
20963
|
-
* @param {boolean} [returnDefaultValue]
|
|
22438
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
20964
22439
|
* @param {*} [options] Override http request option.
|
|
20965
22440
|
* @throws {RequiredError}
|
|
20966
22441
|
*/
|
|
20967
|
-
|
|
22442
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost: function (hospitalId, specialtyId, serviceId, createMediaCommand, options) {
|
|
20968
22443
|
return __awaiter(this, void 0, void 0, function () {
|
|
20969
22444
|
var localVarAxiosArgs;
|
|
20970
22445
|
return __generator(this, function (_a) {
|
|
20971
22446
|
switch (_a.label) {
|
|
20972
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
22447
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost(hospitalId, specialtyId, serviceId, createMediaCommand, options)];
|
|
20973
22448
|
case 1:
|
|
20974
22449
|
localVarAxiosArgs = _a.sent();
|
|
20975
22450
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -20979,24 +22454,20 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
20979
22454
|
},
|
|
20980
22455
|
/**
|
|
20981
22456
|
*
|
|
20982
|
-
* @summary
|
|
22457
|
+
* @summary Update HospitalService.
|
|
20983
22458
|
* @param {string} hospitalId
|
|
20984
22459
|
* @param {string} specialtyId
|
|
20985
22460
|
* @param {string} serviceId
|
|
20986
|
-
* @param {
|
|
20987
|
-
* @param {MediaType} [mediaType]
|
|
20988
|
-
* @param {number} [page]
|
|
20989
|
-
* @param {number} [limit]
|
|
20990
|
-
* @param {Date} [lastRetrieved]
|
|
22461
|
+
* @param {UpdateHospitalServiceCommand} [updateHospitalServiceCommand]
|
|
20991
22462
|
* @param {*} [options] Override http request option.
|
|
20992
22463
|
* @throws {RequiredError}
|
|
20993
22464
|
*/
|
|
20994
|
-
|
|
22465
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut: function (hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options) {
|
|
20995
22466
|
return __awaiter(this, void 0, void 0, function () {
|
|
20996
22467
|
var localVarAxiosArgs;
|
|
20997
22468
|
return __generator(this, function (_a) {
|
|
20998
22469
|
switch (_a.label) {
|
|
20999
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
22470
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options)];
|
|
21000
22471
|
case 1:
|
|
21001
22472
|
localVarAxiosArgs = _a.sent();
|
|
21002
22473
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -21006,20 +22477,26 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
21006
22477
|
},
|
|
21007
22478
|
/**
|
|
21008
22479
|
*
|
|
21009
|
-
* @summary
|
|
22480
|
+
* @summary Get all HospitalWorkingDays.
|
|
21010
22481
|
* @param {string} hospitalId
|
|
21011
|
-
* @param {string}
|
|
21012
|
-
* @param {string}
|
|
21013
|
-
* @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]
|
|
21014
22491
|
* @param {*} [options] Override http request option.
|
|
21015
22492
|
* @throws {RequiredError}
|
|
21016
22493
|
*/
|
|
21017
|
-
|
|
22494
|
+
apiV1HospitalsHospitalIdWorkingdaysGet: function (hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options) {
|
|
21018
22495
|
return __awaiter(this, void 0, void 0, function () {
|
|
21019
22496
|
var localVarAxiosArgs;
|
|
21020
22497
|
return __generator(this, function (_a) {
|
|
21021
22498
|
switch (_a.label) {
|
|
21022
|
-
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)];
|
|
21023
22500
|
case 1:
|
|
21024
22501
|
localVarAxiosArgs = _a.sent();
|
|
21025
22502
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -21029,20 +22506,18 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
21029
22506
|
},
|
|
21030
22507
|
/**
|
|
21031
22508
|
*
|
|
21032
|
-
* @summary
|
|
22509
|
+
* @summary Create HospitalWorkingDay.
|
|
21033
22510
|
* @param {string} hospitalId
|
|
21034
|
-
* @param {
|
|
21035
|
-
* @param {string} serviceId
|
|
21036
|
-
* @param {string} mediaId
|
|
22511
|
+
* @param {CreateHospitalWorkingDayCommand} [createHospitalWorkingDayCommand]
|
|
21037
22512
|
* @param {*} [options] Override http request option.
|
|
21038
22513
|
* @throws {RequiredError}
|
|
21039
22514
|
*/
|
|
21040
|
-
|
|
22515
|
+
apiV1HospitalsHospitalIdWorkingdaysPost: function (hospitalId, createHospitalWorkingDayCommand, options) {
|
|
21041
22516
|
return __awaiter(this, void 0, void 0, function () {
|
|
21042
22517
|
var localVarAxiosArgs;
|
|
21043
22518
|
return __generator(this, function (_a) {
|
|
21044
22519
|
switch (_a.label) {
|
|
21045
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
22520
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysPost(hospitalId, createHospitalWorkingDayCommand, options)];
|
|
21046
22521
|
case 1:
|
|
21047
22522
|
localVarAxiosArgs = _a.sent();
|
|
21048
22523
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -21052,21 +22527,18 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
21052
22527
|
},
|
|
21053
22528
|
/**
|
|
21054
22529
|
*
|
|
21055
|
-
* @summary
|
|
22530
|
+
* @summary Delete HospitalWorkingDay.
|
|
21056
22531
|
* @param {string} hospitalId
|
|
21057
|
-
* @param {string}
|
|
21058
|
-
* @param {string} serviceId
|
|
21059
|
-
* @param {string} mediaId
|
|
21060
|
-
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
22532
|
+
* @param {string} workingDayId
|
|
21061
22533
|
* @param {*} [options] Override http request option.
|
|
21062
22534
|
* @throws {RequiredError}
|
|
21063
22535
|
*/
|
|
21064
|
-
|
|
22536
|
+
apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete: function (hospitalId, workingDayId, options) {
|
|
21065
22537
|
return __awaiter(this, void 0, void 0, function () {
|
|
21066
22538
|
var localVarAxiosArgs;
|
|
21067
22539
|
return __generator(this, function (_a) {
|
|
21068
22540
|
switch (_a.label) {
|
|
21069
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
22541
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete(hospitalId, workingDayId, options)];
|
|
21070
22542
|
case 1:
|
|
21071
22543
|
localVarAxiosArgs = _a.sent();
|
|
21072
22544
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -21076,20 +22548,18 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
21076
22548
|
},
|
|
21077
22549
|
/**
|
|
21078
22550
|
*
|
|
21079
|
-
* @summary
|
|
22551
|
+
* @summary Get HospitalWorkingDay.
|
|
21080
22552
|
* @param {string} hospitalId
|
|
21081
|
-
* @param {string}
|
|
21082
|
-
* @param {string} serviceId
|
|
21083
|
-
* @param {CreateMediaCommand} [createMediaCommand]
|
|
22553
|
+
* @param {string} workingDayId
|
|
21084
22554
|
* @param {*} [options] Override http request option.
|
|
21085
22555
|
* @throws {RequiredError}
|
|
21086
22556
|
*/
|
|
21087
|
-
|
|
22557
|
+
apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet: function (hospitalId, workingDayId, options) {
|
|
21088
22558
|
return __awaiter(this, void 0, void 0, function () {
|
|
21089
22559
|
var localVarAxiosArgs;
|
|
21090
22560
|
return __generator(this, function (_a) {
|
|
21091
22561
|
switch (_a.label) {
|
|
21092
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
22562
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet(hospitalId, workingDayId, options)];
|
|
21093
22563
|
case 1:
|
|
21094
22564
|
localVarAxiosArgs = _a.sent();
|
|
21095
22565
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -21099,20 +22569,19 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
21099
22569
|
},
|
|
21100
22570
|
/**
|
|
21101
22571
|
*
|
|
21102
|
-
* @summary Update
|
|
22572
|
+
* @summary Update HospitalWorkingDay.
|
|
21103
22573
|
* @param {string} hospitalId
|
|
21104
|
-
* @param {string}
|
|
21105
|
-
* @param {
|
|
21106
|
-
* @param {UpdateHospitalServiceCommand} [updateHospitalServiceCommand]
|
|
22574
|
+
* @param {string} workingDayId
|
|
22575
|
+
* @param {UpdateHospitalWorkingDayCommand} [updateHospitalWorkingDayCommand]
|
|
21107
22576
|
* @param {*} [options] Override http request option.
|
|
21108
22577
|
* @throws {RequiredError}
|
|
21109
22578
|
*/
|
|
21110
|
-
|
|
22579
|
+
apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut: function (hospitalId, workingDayId, updateHospitalWorkingDayCommand, options) {
|
|
21111
22580
|
return __awaiter(this, void 0, void 0, function () {
|
|
21112
22581
|
var localVarAxiosArgs;
|
|
21113
22582
|
return __generator(this, function (_a) {
|
|
21114
22583
|
switch (_a.label) {
|
|
21115
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
22584
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut(hospitalId, workingDayId, updateHospitalWorkingDayCommand, options)];
|
|
21116
22585
|
case 1:
|
|
21117
22586
|
localVarAxiosArgs = _a.sent();
|
|
21118
22587
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -21156,18 +22625,19 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
21156
22625
|
* @param {string} [languageCode]
|
|
21157
22626
|
* @param {Array<string>} [ids]
|
|
21158
22627
|
* @param {boolean} [returnDefaultValue]
|
|
22628
|
+
* @param {boolean} [paymentEnabled]
|
|
21159
22629
|
* @param {number} [page]
|
|
21160
22630
|
* @param {number} [limit]
|
|
21161
22631
|
* @param {Date} [lastRetrieved]
|
|
21162
22632
|
* @param {*} [options] Override http request option.
|
|
21163
22633
|
* @throws {RequiredError}
|
|
21164
22634
|
*/
|
|
21165
|
-
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) {
|
|
21166
22636
|
return __awaiter(this, void 0, void 0, function () {
|
|
21167
22637
|
var localVarAxiosArgs;
|
|
21168
22638
|
return __generator(this, function (_a) {
|
|
21169
22639
|
switch (_a.label) {
|
|
21170
|
-
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)];
|
|
21171
22641
|
case 1:
|
|
21172
22642
|
localVarAxiosArgs = _a.sent();
|
|
21173
22643
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -21221,14 +22691,15 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
21221
22691
|
* @param {string} [languageCode]
|
|
21222
22692
|
* @param {Array<string>} [ids]
|
|
21223
22693
|
* @param {boolean} [returnDefaultValue]
|
|
22694
|
+
* @param {boolean} [paymentEnabled]
|
|
21224
22695
|
* @param {number} [page]
|
|
21225
22696
|
* @param {number} [limit]
|
|
21226
22697
|
* @param {Date} [lastRetrieved]
|
|
21227
22698
|
* @param {*} [options] Override http request option.
|
|
21228
22699
|
* @throws {RequiredError}
|
|
21229
22700
|
*/
|
|
21230
|
-
apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
21231
|
-
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); });
|
|
21232
22703
|
},
|
|
21233
22704
|
/**
|
|
21234
22705
|
*
|
|
@@ -21491,6 +22962,68 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
21491
22962
|
apiV1HospitalsHospitalIdGet: function (hospitalId, languageCode, returnDefaultValue, options) {
|
|
21492
22963
|
return localVarFp.apiV1HospitalsHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
21493
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
|
+
},
|
|
21494
23027
|
/**
|
|
21495
23028
|
*
|
|
21496
23029
|
* @summary Get all HospitalMedias.
|
|
@@ -21807,6 +23340,70 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
21807
23340
|
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut: function (hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options) {
|
|
21808
23341
|
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options).then(function (request) { return request(axios, basePath); });
|
|
21809
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
|
+
},
|
|
21810
23407
|
/**
|
|
21811
23408
|
*
|
|
21812
23409
|
* @summary Create Hospital.
|
|
@@ -21833,14 +23430,15 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
21833
23430
|
* @param {string} [languageCode]
|
|
21834
23431
|
* @param {Array<string>} [ids]
|
|
21835
23432
|
* @param {boolean} [returnDefaultValue]
|
|
23433
|
+
* @param {boolean} [paymentEnabled]
|
|
21836
23434
|
* @param {number} [page]
|
|
21837
23435
|
* @param {number} [limit]
|
|
21838
23436
|
* @param {Date} [lastRetrieved]
|
|
21839
23437
|
* @param {*} [options] Override http request option.
|
|
21840
23438
|
* @throws {RequiredError}
|
|
21841
23439
|
*/
|
|
21842
|
-
apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
21843
|
-
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); });
|
|
21844
23442
|
},
|
|
21845
23443
|
/**
|
|
21846
23444
|
*
|
|
@@ -21882,6 +23480,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21882
23480
|
* @param {string} [languageCode]
|
|
21883
23481
|
* @param {Array<string>} [ids]
|
|
21884
23482
|
* @param {boolean} [returnDefaultValue]
|
|
23483
|
+
* @param {boolean} [paymentEnabled]
|
|
21885
23484
|
* @param {number} [page]
|
|
21886
23485
|
* @param {number} [limit]
|
|
21887
23486
|
* @param {Date} [lastRetrieved]
|
|
@@ -21889,9 +23488,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21889
23488
|
* @throws {RequiredError}
|
|
21890
23489
|
* @memberof HospitalsApi
|
|
21891
23490
|
*/
|
|
21892
|
-
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) {
|
|
21893
23492
|
var _this = this;
|
|
21894
|
-
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); });
|
|
21895
23494
|
};
|
|
21896
23495
|
/**
|
|
21897
23496
|
*
|
|
@@ -22196,6 +23795,78 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
22196
23795
|
var _this = this;
|
|
22197
23796
|
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
22198
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
|
+
};
|
|
22199
23870
|
/**
|
|
22200
23871
|
*
|
|
22201
23872
|
* @summary Get all HospitalMedias.
|
|
@@ -22556,6 +24227,80 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
22556
24227
|
var _this = this;
|
|
22557
24228
|
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
22558
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
|
+
};
|
|
22559
24304
|
/**
|
|
22560
24305
|
*
|
|
22561
24306
|
* @summary Create Hospital.
|
|
@@ -22584,6 +24329,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
22584
24329
|
* @param {string} [languageCode]
|
|
22585
24330
|
* @param {Array<string>} [ids]
|
|
22586
24331
|
* @param {boolean} [returnDefaultValue]
|
|
24332
|
+
* @param {boolean} [paymentEnabled]
|
|
22587
24333
|
* @param {number} [page]
|
|
22588
24334
|
* @param {number} [limit]
|
|
22589
24335
|
* @param {Date} [lastRetrieved]
|
|
@@ -22591,9 +24337,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
22591
24337
|
* @throws {RequiredError}
|
|
22592
24338
|
* @memberof HospitalsApi
|
|
22593
24339
|
*/
|
|
22594
|
-
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) {
|
|
22595
24341
|
var _this = this;
|
|
22596
|
-
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); });
|
|
22597
24343
|
};
|
|
22598
24344
|
/**
|
|
22599
24345
|
*
|