ch-admin-api-client-typescript 2.1.6 → 2.1.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 +837 -555
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +1321 -333
- package/package.json +1 -1
- package/src/api.ts +1805 -1080
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.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = 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.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = 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.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AccreditationsApi = exports.AccreditationsApiFactory = exports.AccreditationsApiFp = exports.AccreditationsApiAxiosParamCreator = exports.VendorType = exports.UserLocationType = exports.SnsType = exports.ReviewCategory = exports.RejectReason = exports.RefundStatus = exports.RefundPolicy = exports.RecurringInterval = exports.QuestionType = exports.QuestionStatus = exports.Procedure = exports.Platform = exports.PaymentStatus = exports.PaymentMethod = exports.NotificationCode = exports.MediaType = exports.MarketingType = exports.Gender = exports.ContributionType = exports.ConsultationType = exports.ConsultationStatus = exports.ChargeStatus = 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.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = 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.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = 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.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AccreditationsApi = exports.AccreditationsApiFactory = exports.AccreditationsApiFp = exports.AccreditationsApiAxiosParamCreator = exports.VendorType = exports.UserLocationType = exports.SnsType = exports.ReviewCategory = exports.RejectReason = exports.RefundStatus = exports.RefundPolicy = exports.RecurringInterval = exports.QuestionType = exports.QuestionStatus = exports.Procedure = exports.Platform = exports.PaymentStatus = exports.PaymentMethod = exports.NotificationCode = exports.MediaType = exports.MarketingType = exports.Gender = exports.ContributionType = exports.ConsultationType = exports.ConsultationStatus = exports.ChargeStatus = 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
|
|
@@ -4139,6 +4139,281 @@ var BookingsApi = /** @class */ (function (_super) {
|
|
|
4139
4139
|
return BookingsApi;
|
|
4140
4140
|
}(base_1.BaseAPI));
|
|
4141
4141
|
exports.BookingsApi = BookingsApi;
|
|
4142
|
+
/**
|
|
4143
|
+
* CommunicationsApi - axios parameter creator
|
|
4144
|
+
* @export
|
|
4145
|
+
*/
|
|
4146
|
+
exports.CommunicationsApiAxiosParamCreator = function (configuration) {
|
|
4147
|
+
var _this = this;
|
|
4148
|
+
return {
|
|
4149
|
+
/**
|
|
4150
|
+
*
|
|
4151
|
+
* @summary Delete CommunicationUser.
|
|
4152
|
+
* @param {*} [options] Override http request option.
|
|
4153
|
+
* @throws {RequiredError}
|
|
4154
|
+
*/
|
|
4155
|
+
apiV1CommunicationsDelete: function (options) {
|
|
4156
|
+
if (options === void 0) { options = {}; }
|
|
4157
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
4158
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
4159
|
+
return __generator(this, function (_a) {
|
|
4160
|
+
switch (_a.label) {
|
|
4161
|
+
case 0:
|
|
4162
|
+
localVarPath = "/api/v1/communications";
|
|
4163
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4164
|
+
if (configuration) {
|
|
4165
|
+
baseOptions = configuration.baseOptions;
|
|
4166
|
+
}
|
|
4167
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
4168
|
+
localVarHeaderParameter = {};
|
|
4169
|
+
localVarQueryParameter = {};
|
|
4170
|
+
// authentication oauth2 required
|
|
4171
|
+
// oauth required
|
|
4172
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
4173
|
+
case 1:
|
|
4174
|
+
// authentication oauth2 required
|
|
4175
|
+
// oauth required
|
|
4176
|
+
_a.sent();
|
|
4177
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4178
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4179
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4180
|
+
return [2 /*return*/, {
|
|
4181
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
4182
|
+
options: localVarRequestOptions,
|
|
4183
|
+
}];
|
|
4184
|
+
}
|
|
4185
|
+
});
|
|
4186
|
+
});
|
|
4187
|
+
},
|
|
4188
|
+
/**
|
|
4189
|
+
*
|
|
4190
|
+
* @summary Get CommunicationUser.
|
|
4191
|
+
* @param {*} [options] Override http request option.
|
|
4192
|
+
* @throws {RequiredError}
|
|
4193
|
+
*/
|
|
4194
|
+
apiV1CommunicationsGet: function (options) {
|
|
4195
|
+
if (options === void 0) { options = {}; }
|
|
4196
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
4197
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
4198
|
+
return __generator(this, function (_a) {
|
|
4199
|
+
switch (_a.label) {
|
|
4200
|
+
case 0:
|
|
4201
|
+
localVarPath = "/api/v1/communications";
|
|
4202
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4203
|
+
if (configuration) {
|
|
4204
|
+
baseOptions = configuration.baseOptions;
|
|
4205
|
+
}
|
|
4206
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
4207
|
+
localVarHeaderParameter = {};
|
|
4208
|
+
localVarQueryParameter = {};
|
|
4209
|
+
// authentication oauth2 required
|
|
4210
|
+
// oauth required
|
|
4211
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
4212
|
+
case 1:
|
|
4213
|
+
// authentication oauth2 required
|
|
4214
|
+
// oauth required
|
|
4215
|
+
_a.sent();
|
|
4216
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4217
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4218
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4219
|
+
return [2 /*return*/, {
|
|
4220
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
4221
|
+
options: localVarRequestOptions,
|
|
4222
|
+
}];
|
|
4223
|
+
}
|
|
4224
|
+
});
|
|
4225
|
+
});
|
|
4226
|
+
},
|
|
4227
|
+
/**
|
|
4228
|
+
*
|
|
4229
|
+
* @summary Revoke CommunicationUser.
|
|
4230
|
+
* @param {*} [options] Override http request option.
|
|
4231
|
+
* @throws {RequiredError}
|
|
4232
|
+
*/
|
|
4233
|
+
apiV1CommunicationsPut: function (options) {
|
|
4234
|
+
if (options === void 0) { options = {}; }
|
|
4235
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
4236
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
4237
|
+
return __generator(this, function (_a) {
|
|
4238
|
+
switch (_a.label) {
|
|
4239
|
+
case 0:
|
|
4240
|
+
localVarPath = "/api/v1/communications";
|
|
4241
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4242
|
+
if (configuration) {
|
|
4243
|
+
baseOptions = configuration.baseOptions;
|
|
4244
|
+
}
|
|
4245
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
4246
|
+
localVarHeaderParameter = {};
|
|
4247
|
+
localVarQueryParameter = {};
|
|
4248
|
+
// authentication oauth2 required
|
|
4249
|
+
// oauth required
|
|
4250
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
4251
|
+
case 1:
|
|
4252
|
+
// authentication oauth2 required
|
|
4253
|
+
// oauth required
|
|
4254
|
+
_a.sent();
|
|
4255
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4256
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4257
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4258
|
+
return [2 /*return*/, {
|
|
4259
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
4260
|
+
options: localVarRequestOptions,
|
|
4261
|
+
}];
|
|
4262
|
+
}
|
|
4263
|
+
});
|
|
4264
|
+
});
|
|
4265
|
+
},
|
|
4266
|
+
};
|
|
4267
|
+
};
|
|
4268
|
+
/**
|
|
4269
|
+
* CommunicationsApi - functional programming interface
|
|
4270
|
+
* @export
|
|
4271
|
+
*/
|
|
4272
|
+
exports.CommunicationsApiFp = function (configuration) {
|
|
4273
|
+
var localVarAxiosParamCreator = exports.CommunicationsApiAxiosParamCreator(configuration);
|
|
4274
|
+
return {
|
|
4275
|
+
/**
|
|
4276
|
+
*
|
|
4277
|
+
* @summary Delete CommunicationUser.
|
|
4278
|
+
* @param {*} [options] Override http request option.
|
|
4279
|
+
* @throws {RequiredError}
|
|
4280
|
+
*/
|
|
4281
|
+
apiV1CommunicationsDelete: function (options) {
|
|
4282
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4283
|
+
var localVarAxiosArgs;
|
|
4284
|
+
return __generator(this, function (_a) {
|
|
4285
|
+
switch (_a.label) {
|
|
4286
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1CommunicationsDelete(options)];
|
|
4287
|
+
case 1:
|
|
4288
|
+
localVarAxiosArgs = _a.sent();
|
|
4289
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
4290
|
+
}
|
|
4291
|
+
});
|
|
4292
|
+
});
|
|
4293
|
+
},
|
|
4294
|
+
/**
|
|
4295
|
+
*
|
|
4296
|
+
* @summary Get CommunicationUser.
|
|
4297
|
+
* @param {*} [options] Override http request option.
|
|
4298
|
+
* @throws {RequiredError}
|
|
4299
|
+
*/
|
|
4300
|
+
apiV1CommunicationsGet: function (options) {
|
|
4301
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4302
|
+
var localVarAxiosArgs;
|
|
4303
|
+
return __generator(this, function (_a) {
|
|
4304
|
+
switch (_a.label) {
|
|
4305
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1CommunicationsGet(options)];
|
|
4306
|
+
case 1:
|
|
4307
|
+
localVarAxiosArgs = _a.sent();
|
|
4308
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
4309
|
+
}
|
|
4310
|
+
});
|
|
4311
|
+
});
|
|
4312
|
+
},
|
|
4313
|
+
/**
|
|
4314
|
+
*
|
|
4315
|
+
* @summary Revoke CommunicationUser.
|
|
4316
|
+
* @param {*} [options] Override http request option.
|
|
4317
|
+
* @throws {RequiredError}
|
|
4318
|
+
*/
|
|
4319
|
+
apiV1CommunicationsPut: function (options) {
|
|
4320
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4321
|
+
var localVarAxiosArgs;
|
|
4322
|
+
return __generator(this, function (_a) {
|
|
4323
|
+
switch (_a.label) {
|
|
4324
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1CommunicationsPut(options)];
|
|
4325
|
+
case 1:
|
|
4326
|
+
localVarAxiosArgs = _a.sent();
|
|
4327
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
4328
|
+
}
|
|
4329
|
+
});
|
|
4330
|
+
});
|
|
4331
|
+
},
|
|
4332
|
+
};
|
|
4333
|
+
};
|
|
4334
|
+
/**
|
|
4335
|
+
* CommunicationsApi - factory interface
|
|
4336
|
+
* @export
|
|
4337
|
+
*/
|
|
4338
|
+
exports.CommunicationsApiFactory = function (configuration, basePath, axios) {
|
|
4339
|
+
var localVarFp = exports.CommunicationsApiFp(configuration);
|
|
4340
|
+
return {
|
|
4341
|
+
/**
|
|
4342
|
+
*
|
|
4343
|
+
* @summary Delete CommunicationUser.
|
|
4344
|
+
* @param {*} [options] Override http request option.
|
|
4345
|
+
* @throws {RequiredError}
|
|
4346
|
+
*/
|
|
4347
|
+
apiV1CommunicationsDelete: function (options) {
|
|
4348
|
+
return localVarFp.apiV1CommunicationsDelete(options).then(function (request) { return request(axios, basePath); });
|
|
4349
|
+
},
|
|
4350
|
+
/**
|
|
4351
|
+
*
|
|
4352
|
+
* @summary Get CommunicationUser.
|
|
4353
|
+
* @param {*} [options] Override http request option.
|
|
4354
|
+
* @throws {RequiredError}
|
|
4355
|
+
*/
|
|
4356
|
+
apiV1CommunicationsGet: function (options) {
|
|
4357
|
+
return localVarFp.apiV1CommunicationsGet(options).then(function (request) { return request(axios, basePath); });
|
|
4358
|
+
},
|
|
4359
|
+
/**
|
|
4360
|
+
*
|
|
4361
|
+
* @summary Revoke CommunicationUser.
|
|
4362
|
+
* @param {*} [options] Override http request option.
|
|
4363
|
+
* @throws {RequiredError}
|
|
4364
|
+
*/
|
|
4365
|
+
apiV1CommunicationsPut: function (options) {
|
|
4366
|
+
return localVarFp.apiV1CommunicationsPut(options).then(function (request) { return request(axios, basePath); });
|
|
4367
|
+
},
|
|
4368
|
+
};
|
|
4369
|
+
};
|
|
4370
|
+
/**
|
|
4371
|
+
* CommunicationsApi - object-oriented interface
|
|
4372
|
+
* @export
|
|
4373
|
+
* @class CommunicationsApi
|
|
4374
|
+
* @extends {BaseAPI}
|
|
4375
|
+
*/
|
|
4376
|
+
var CommunicationsApi = /** @class */ (function (_super) {
|
|
4377
|
+
__extends(CommunicationsApi, _super);
|
|
4378
|
+
function CommunicationsApi() {
|
|
4379
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
4380
|
+
}
|
|
4381
|
+
/**
|
|
4382
|
+
*
|
|
4383
|
+
* @summary Delete CommunicationUser.
|
|
4384
|
+
* @param {*} [options] Override http request option.
|
|
4385
|
+
* @throws {RequiredError}
|
|
4386
|
+
* @memberof CommunicationsApi
|
|
4387
|
+
*/
|
|
4388
|
+
CommunicationsApi.prototype.apiV1CommunicationsDelete = function (options) {
|
|
4389
|
+
var _this = this;
|
|
4390
|
+
return exports.CommunicationsApiFp(this.configuration).apiV1CommunicationsDelete(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4391
|
+
};
|
|
4392
|
+
/**
|
|
4393
|
+
*
|
|
4394
|
+
* @summary Get CommunicationUser.
|
|
4395
|
+
* @param {*} [options] Override http request option.
|
|
4396
|
+
* @throws {RequiredError}
|
|
4397
|
+
* @memberof CommunicationsApi
|
|
4398
|
+
*/
|
|
4399
|
+
CommunicationsApi.prototype.apiV1CommunicationsGet = function (options) {
|
|
4400
|
+
var _this = this;
|
|
4401
|
+
return exports.CommunicationsApiFp(this.configuration).apiV1CommunicationsGet(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4402
|
+
};
|
|
4403
|
+
/**
|
|
4404
|
+
*
|
|
4405
|
+
* @summary Revoke CommunicationUser.
|
|
4406
|
+
* @param {*} [options] Override http request option.
|
|
4407
|
+
* @throws {RequiredError}
|
|
4408
|
+
* @memberof CommunicationsApi
|
|
4409
|
+
*/
|
|
4410
|
+
CommunicationsApi.prototype.apiV1CommunicationsPut = function (options) {
|
|
4411
|
+
var _this = this;
|
|
4412
|
+
return exports.CommunicationsApiFp(this.configuration).apiV1CommunicationsPut(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4413
|
+
};
|
|
4414
|
+
return CommunicationsApi;
|
|
4415
|
+
}(base_1.BaseAPI));
|
|
4416
|
+
exports.CommunicationsApi = CommunicationsApi;
|
|
4142
4417
|
/**
|
|
4143
4418
|
* ConsultationsApi - axios parameter creator
|
|
4144
4419
|
* @export
|
|
@@ -13583,27 +13858,22 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
13583
13858
|
},
|
|
13584
13859
|
/**
|
|
13585
13860
|
*
|
|
13586
|
-
* @summary Get all
|
|
13861
|
+
* @summary Get all HospitalSpecialties.
|
|
13587
13862
|
* @param {string} hospitalId
|
|
13588
13863
|
* @param {string} [hospitalName]
|
|
13589
13864
|
* @param {string} [hospitalSlug]
|
|
13590
|
-
* @param {string} [id]
|
|
13591
|
-
* @param {string} [name]
|
|
13592
|
-
* @param {string} [description]
|
|
13593
13865
|
* @param {string} [specialtyId]
|
|
13866
|
+
* @param {string} [specialtyName]
|
|
13594
13867
|
* @param {string} [specialtyTypeId]
|
|
13595
|
-
* @param {string} [specialtyTypeName]
|
|
13596
13868
|
* @param {MarketingType} [marketingType]
|
|
13597
|
-
* @param {Procedure} [procedure]
|
|
13598
13869
|
* @param {Date} [created]
|
|
13599
|
-
* @param {string} [languageCode]
|
|
13600
13870
|
* @param {number} [page]
|
|
13601
13871
|
* @param {number} [limit]
|
|
13602
13872
|
* @param {Date} [lastRetrieved]
|
|
13603
13873
|
* @param {*} [options] Override http request option.
|
|
13604
13874
|
* @throws {RequiredError}
|
|
13605
13875
|
*/
|
|
13606
|
-
|
|
13876
|
+
apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType, created, page, limit, lastRetrieved, options) {
|
|
13607
13877
|
if (options === void 0) { options = {}; }
|
|
13608
13878
|
return __awaiter(_this, void 0, void 0, function () {
|
|
13609
13879
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -13611,8 +13881,8 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
13611
13881
|
switch (_a.label) {
|
|
13612
13882
|
case 0:
|
|
13613
13883
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
13614
|
-
common_1.assertParamExists('
|
|
13615
|
-
localVarPath = "/api/v1/hospitals/{hospitalId}/
|
|
13884
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesGet', 'hospitalId', hospitalId);
|
|
13885
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties"
|
|
13616
13886
|
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)));
|
|
13617
13887
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13618
13888
|
if (configuration) {
|
|
@@ -13634,38 +13904,23 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
13634
13904
|
if (hospitalSlug !== undefined) {
|
|
13635
13905
|
localVarQueryParameter['HospitalSlug'] = hospitalSlug;
|
|
13636
13906
|
}
|
|
13637
|
-
if (id !== undefined) {
|
|
13638
|
-
localVarQueryParameter['Id'] = id;
|
|
13639
|
-
}
|
|
13640
|
-
if (name !== undefined) {
|
|
13641
|
-
localVarQueryParameter['Name'] = name;
|
|
13642
|
-
}
|
|
13643
|
-
if (description !== undefined) {
|
|
13644
|
-
localVarQueryParameter['Description'] = description;
|
|
13645
|
-
}
|
|
13646
13907
|
if (specialtyId !== undefined) {
|
|
13647
13908
|
localVarQueryParameter['SpecialtyId'] = specialtyId;
|
|
13648
13909
|
}
|
|
13910
|
+
if (specialtyName !== undefined) {
|
|
13911
|
+
localVarQueryParameter['SpecialtyName'] = specialtyName;
|
|
13912
|
+
}
|
|
13649
13913
|
if (specialtyTypeId !== undefined) {
|
|
13650
13914
|
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
13651
13915
|
}
|
|
13652
|
-
if (specialtyTypeName !== undefined) {
|
|
13653
|
-
localVarQueryParameter['SpecialtyTypeName'] = specialtyTypeName;
|
|
13654
|
-
}
|
|
13655
13916
|
if (marketingType !== undefined) {
|
|
13656
13917
|
localVarQueryParameter['MarketingType'] = marketingType;
|
|
13657
13918
|
}
|
|
13658
|
-
if (procedure !== undefined) {
|
|
13659
|
-
localVarQueryParameter['Procedure'] = procedure;
|
|
13660
|
-
}
|
|
13661
13919
|
if (created !== undefined) {
|
|
13662
13920
|
localVarQueryParameter['Created'] = (created instanceof Date) ?
|
|
13663
13921
|
created.toISOString() :
|
|
13664
13922
|
created;
|
|
13665
13923
|
}
|
|
13666
|
-
if (languageCode !== undefined) {
|
|
13667
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
13668
|
-
}
|
|
13669
13924
|
if (page !== undefined) {
|
|
13670
13925
|
localVarQueryParameter['page'] = page;
|
|
13671
13926
|
}
|
|
@@ -13690,13 +13945,13 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
13690
13945
|
},
|
|
13691
13946
|
/**
|
|
13692
13947
|
*
|
|
13693
|
-
* @summary Create
|
|
13948
|
+
* @summary Create HospitalSpecialty.
|
|
13694
13949
|
* @param {string} hospitalId
|
|
13695
|
-
* @param {
|
|
13950
|
+
* @param {CreateHospitalSpecialtyCommand} [createHospitalSpecialtyCommand]
|
|
13696
13951
|
* @param {*} [options] Override http request option.
|
|
13697
13952
|
* @throws {RequiredError}
|
|
13698
13953
|
*/
|
|
13699
|
-
|
|
13954
|
+
apiV1HospitalsHospitalIdSpecialtiesPost: function (hospitalId, createHospitalSpecialtyCommand, options) {
|
|
13700
13955
|
if (options === void 0) { options = {}; }
|
|
13701
13956
|
return __awaiter(_this, void 0, void 0, function () {
|
|
13702
13957
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -13704,8 +13959,8 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
13704
13959
|
switch (_a.label) {
|
|
13705
13960
|
case 0:
|
|
13706
13961
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
13707
|
-
common_1.assertParamExists('
|
|
13708
|
-
localVarPath = "/api/v1/hospitals/{hospitalId}/
|
|
13962
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesPost', 'hospitalId', hospitalId);
|
|
13963
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties"
|
|
13709
13964
|
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)));
|
|
13710
13965
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13711
13966
|
if (configuration) {
|
|
@@ -13717,6 +13972,315 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
13717
13972
|
// authentication oauth2 required
|
|
13718
13973
|
// oauth required
|
|
13719
13974
|
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
13975
|
+
case 1:
|
|
13976
|
+
// authentication oauth2 required
|
|
13977
|
+
// oauth required
|
|
13978
|
+
_a.sent();
|
|
13979
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13980
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13981
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13982
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13983
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(createHospitalSpecialtyCommand, localVarRequestOptions, configuration);
|
|
13984
|
+
return [2 /*return*/, {
|
|
13985
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
13986
|
+
options: localVarRequestOptions,
|
|
13987
|
+
}];
|
|
13988
|
+
}
|
|
13989
|
+
});
|
|
13990
|
+
});
|
|
13991
|
+
},
|
|
13992
|
+
/**
|
|
13993
|
+
*
|
|
13994
|
+
* @summary Delete HospitalSpecialty.
|
|
13995
|
+
* @param {string} hospitalId
|
|
13996
|
+
* @param {string} specialtyId
|
|
13997
|
+
* @param {*} [options] Override http request option.
|
|
13998
|
+
* @throws {RequiredError}
|
|
13999
|
+
*/
|
|
14000
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete: function (hospitalId, specialtyId, options) {
|
|
14001
|
+
if (options === void 0) { options = {}; }
|
|
14002
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
14003
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
14004
|
+
return __generator(this, function (_a) {
|
|
14005
|
+
switch (_a.label) {
|
|
14006
|
+
case 0:
|
|
14007
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
14008
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete', 'hospitalId', hospitalId);
|
|
14009
|
+
// verify required parameter 'specialtyId' is not null or undefined
|
|
14010
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete', 'specialtyId', specialtyId);
|
|
14011
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}"
|
|
14012
|
+
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
14013
|
+
.replace("{" + "specialtyId" + "}", encodeURIComponent(String(specialtyId)));
|
|
14014
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14015
|
+
if (configuration) {
|
|
14016
|
+
baseOptions = configuration.baseOptions;
|
|
14017
|
+
}
|
|
14018
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
14019
|
+
localVarHeaderParameter = {};
|
|
14020
|
+
localVarQueryParameter = {};
|
|
14021
|
+
// authentication oauth2 required
|
|
14022
|
+
// oauth required
|
|
14023
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
14024
|
+
case 1:
|
|
14025
|
+
// authentication oauth2 required
|
|
14026
|
+
// oauth required
|
|
14027
|
+
_a.sent();
|
|
14028
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14029
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14030
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14031
|
+
return [2 /*return*/, {
|
|
14032
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
14033
|
+
options: localVarRequestOptions,
|
|
14034
|
+
}];
|
|
14035
|
+
}
|
|
14036
|
+
});
|
|
14037
|
+
});
|
|
14038
|
+
},
|
|
14039
|
+
/**
|
|
14040
|
+
*
|
|
14041
|
+
* @summary Get HospitalSpecialty.
|
|
14042
|
+
* @param {string} hospitalId
|
|
14043
|
+
* @param {string} specialtyId
|
|
14044
|
+
* @param {*} [options] Override http request option.
|
|
14045
|
+
* @throws {RequiredError}
|
|
14046
|
+
*/
|
|
14047
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, options) {
|
|
14048
|
+
if (options === void 0) { options = {}; }
|
|
14049
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
14050
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
14051
|
+
return __generator(this, function (_a) {
|
|
14052
|
+
switch (_a.label) {
|
|
14053
|
+
case 0:
|
|
14054
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
14055
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet', 'hospitalId', hospitalId);
|
|
14056
|
+
// verify required parameter 'specialtyId' is not null or undefined
|
|
14057
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet', 'specialtyId', specialtyId);
|
|
14058
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}"
|
|
14059
|
+
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
14060
|
+
.replace("{" + "specialtyId" + "}", encodeURIComponent(String(specialtyId)));
|
|
14061
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14062
|
+
if (configuration) {
|
|
14063
|
+
baseOptions = configuration.baseOptions;
|
|
14064
|
+
}
|
|
14065
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
14066
|
+
localVarHeaderParameter = {};
|
|
14067
|
+
localVarQueryParameter = {};
|
|
14068
|
+
// authentication oauth2 required
|
|
14069
|
+
// oauth required
|
|
14070
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
14071
|
+
case 1:
|
|
14072
|
+
// authentication oauth2 required
|
|
14073
|
+
// oauth required
|
|
14074
|
+
_a.sent();
|
|
14075
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14076
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14077
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14078
|
+
return [2 /*return*/, {
|
|
14079
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
14080
|
+
options: localVarRequestOptions,
|
|
14081
|
+
}];
|
|
14082
|
+
}
|
|
14083
|
+
});
|
|
14084
|
+
});
|
|
14085
|
+
},
|
|
14086
|
+
/**
|
|
14087
|
+
*
|
|
14088
|
+
* @summary Update HospitalSpecialty.
|
|
14089
|
+
* @param {string} hospitalId
|
|
14090
|
+
* @param {string} specialtyId
|
|
14091
|
+
* @param {UpdateHospitalSpecialtyCommand} [updateHospitalSpecialtyCommand]
|
|
14092
|
+
* @param {*} [options] Override http request option.
|
|
14093
|
+
* @throws {RequiredError}
|
|
14094
|
+
*/
|
|
14095
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut: function (hospitalId, specialtyId, updateHospitalSpecialtyCommand, options) {
|
|
14096
|
+
if (options === void 0) { options = {}; }
|
|
14097
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
14098
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
14099
|
+
return __generator(this, function (_a) {
|
|
14100
|
+
switch (_a.label) {
|
|
14101
|
+
case 0:
|
|
14102
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
14103
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut', 'hospitalId', hospitalId);
|
|
14104
|
+
// verify required parameter 'specialtyId' is not null or undefined
|
|
14105
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut', 'specialtyId', specialtyId);
|
|
14106
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}"
|
|
14107
|
+
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
14108
|
+
.replace("{" + "specialtyId" + "}", encodeURIComponent(String(specialtyId)));
|
|
14109
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14110
|
+
if (configuration) {
|
|
14111
|
+
baseOptions = configuration.baseOptions;
|
|
14112
|
+
}
|
|
14113
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
14114
|
+
localVarHeaderParameter = {};
|
|
14115
|
+
localVarQueryParameter = {};
|
|
14116
|
+
// authentication oauth2 required
|
|
14117
|
+
// oauth required
|
|
14118
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
14119
|
+
case 1:
|
|
14120
|
+
// authentication oauth2 required
|
|
14121
|
+
// oauth required
|
|
14122
|
+
_a.sent();
|
|
14123
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14124
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14125
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14126
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14127
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateHospitalSpecialtyCommand, localVarRequestOptions, configuration);
|
|
14128
|
+
return [2 /*return*/, {
|
|
14129
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
14130
|
+
options: localVarRequestOptions,
|
|
14131
|
+
}];
|
|
14132
|
+
}
|
|
14133
|
+
});
|
|
14134
|
+
});
|
|
14135
|
+
},
|
|
14136
|
+
/**
|
|
14137
|
+
*
|
|
14138
|
+
* @summary Get all HospitalServices.
|
|
14139
|
+
* @param {string} hospitalId
|
|
14140
|
+
* @param {string} specialtyId
|
|
14141
|
+
* @param {string} [hospitalName]
|
|
14142
|
+
* @param {string} [hospitalSlug]
|
|
14143
|
+
* @param {string} [id]
|
|
14144
|
+
* @param {string} [name]
|
|
14145
|
+
* @param {string} [description]
|
|
14146
|
+
* @param {string} [specialtyName]
|
|
14147
|
+
* @param {string} [specialtyTypeId]
|
|
14148
|
+
* @param {string} [specialtyTypeName]
|
|
14149
|
+
* @param {string} [serviceCategoryId]
|
|
14150
|
+
* @param {MarketingType} [marketingType]
|
|
14151
|
+
* @param {Procedure} [procedure]
|
|
14152
|
+
* @param {Date} [created]
|
|
14153
|
+
* @param {string} [languageCode]
|
|
14154
|
+
* @param {number} [page]
|
|
14155
|
+
* @param {number} [limit]
|
|
14156
|
+
* @param {Date} [lastRetrieved]
|
|
14157
|
+
* @param {*} [options] Override http request option.
|
|
14158
|
+
* @throws {RequiredError}
|
|
14159
|
+
*/
|
|
14160
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options) {
|
|
14161
|
+
if (options === void 0) { options = {}; }
|
|
14162
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
14163
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
14164
|
+
return __generator(this, function (_a) {
|
|
14165
|
+
switch (_a.label) {
|
|
14166
|
+
case 0:
|
|
14167
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
14168
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet', 'hospitalId', hospitalId);
|
|
14169
|
+
// verify required parameter 'specialtyId' is not null or undefined
|
|
14170
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet', 'specialtyId', specialtyId);
|
|
14171
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services"
|
|
14172
|
+
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
14173
|
+
.replace("{" + "specialtyId" + "}", encodeURIComponent(String(specialtyId)));
|
|
14174
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14175
|
+
if (configuration) {
|
|
14176
|
+
baseOptions = configuration.baseOptions;
|
|
14177
|
+
}
|
|
14178
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
14179
|
+
localVarHeaderParameter = {};
|
|
14180
|
+
localVarQueryParameter = {};
|
|
14181
|
+
// authentication oauth2 required
|
|
14182
|
+
// oauth required
|
|
14183
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
14184
|
+
case 1:
|
|
14185
|
+
// authentication oauth2 required
|
|
14186
|
+
// oauth required
|
|
14187
|
+
_a.sent();
|
|
14188
|
+
if (hospitalName !== undefined) {
|
|
14189
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
14190
|
+
}
|
|
14191
|
+
if (hospitalSlug !== undefined) {
|
|
14192
|
+
localVarQueryParameter['HospitalSlug'] = hospitalSlug;
|
|
14193
|
+
}
|
|
14194
|
+
if (id !== undefined) {
|
|
14195
|
+
localVarQueryParameter['Id'] = id;
|
|
14196
|
+
}
|
|
14197
|
+
if (name !== undefined) {
|
|
14198
|
+
localVarQueryParameter['Name'] = name;
|
|
14199
|
+
}
|
|
14200
|
+
if (description !== undefined) {
|
|
14201
|
+
localVarQueryParameter['Description'] = description;
|
|
14202
|
+
}
|
|
14203
|
+
if (specialtyName !== undefined) {
|
|
14204
|
+
localVarQueryParameter['SpecialtyName'] = specialtyName;
|
|
14205
|
+
}
|
|
14206
|
+
if (specialtyTypeId !== undefined) {
|
|
14207
|
+
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
14208
|
+
}
|
|
14209
|
+
if (specialtyTypeName !== undefined) {
|
|
14210
|
+
localVarQueryParameter['SpecialtyTypeName'] = specialtyTypeName;
|
|
14211
|
+
}
|
|
14212
|
+
if (serviceCategoryId !== undefined) {
|
|
14213
|
+
localVarQueryParameter['ServiceCategoryId'] = serviceCategoryId;
|
|
14214
|
+
}
|
|
14215
|
+
if (marketingType !== undefined) {
|
|
14216
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
14217
|
+
}
|
|
14218
|
+
if (procedure !== undefined) {
|
|
14219
|
+
localVarQueryParameter['Procedure'] = procedure;
|
|
14220
|
+
}
|
|
14221
|
+
if (created !== undefined) {
|
|
14222
|
+
localVarQueryParameter['Created'] = (created instanceof Date) ?
|
|
14223
|
+
created.toISOString() :
|
|
14224
|
+
created;
|
|
14225
|
+
}
|
|
14226
|
+
if (languageCode !== undefined) {
|
|
14227
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
14228
|
+
}
|
|
14229
|
+
if (page !== undefined) {
|
|
14230
|
+
localVarQueryParameter['page'] = page;
|
|
14231
|
+
}
|
|
14232
|
+
if (limit !== undefined) {
|
|
14233
|
+
localVarQueryParameter['limit'] = limit;
|
|
14234
|
+
}
|
|
14235
|
+
if (lastRetrieved !== undefined) {
|
|
14236
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
14237
|
+
lastRetrieved.toISOString() :
|
|
14238
|
+
lastRetrieved;
|
|
14239
|
+
}
|
|
14240
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14241
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14242
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14243
|
+
return [2 /*return*/, {
|
|
14244
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
14245
|
+
options: localVarRequestOptions,
|
|
14246
|
+
}];
|
|
14247
|
+
}
|
|
14248
|
+
});
|
|
14249
|
+
});
|
|
14250
|
+
},
|
|
14251
|
+
/**
|
|
14252
|
+
*
|
|
14253
|
+
* @summary Create HospitalService.
|
|
14254
|
+
* @param {string} hospitalId
|
|
14255
|
+
* @param {string} specialtyId
|
|
14256
|
+
* @param {CreateHospitalServiceCommand} [createHospitalServiceCommand]
|
|
14257
|
+
* @param {*} [options] Override http request option.
|
|
14258
|
+
* @throws {RequiredError}
|
|
14259
|
+
*/
|
|
14260
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost: function (hospitalId, specialtyId, createHospitalServiceCommand, options) {
|
|
14261
|
+
if (options === void 0) { options = {}; }
|
|
14262
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
14263
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
14264
|
+
return __generator(this, function (_a) {
|
|
14265
|
+
switch (_a.label) {
|
|
14266
|
+
case 0:
|
|
14267
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
14268
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost', 'hospitalId', hospitalId);
|
|
14269
|
+
// verify required parameter 'specialtyId' is not null or undefined
|
|
14270
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost', 'specialtyId', specialtyId);
|
|
14271
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services"
|
|
14272
|
+
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
14273
|
+
.replace("{" + "specialtyId" + "}", encodeURIComponent(String(specialtyId)));
|
|
14274
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14275
|
+
if (configuration) {
|
|
14276
|
+
baseOptions = configuration.baseOptions;
|
|
14277
|
+
}
|
|
14278
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
14279
|
+
localVarHeaderParameter = {};
|
|
14280
|
+
localVarQueryParameter = {};
|
|
14281
|
+
// authentication oauth2 required
|
|
14282
|
+
// oauth required
|
|
14283
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
13720
14284
|
case 1:
|
|
13721
14285
|
// authentication oauth2 required
|
|
13722
14286
|
// oauth required
|
|
@@ -13738,11 +14302,12 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
13738
14302
|
*
|
|
13739
14303
|
* @summary Delete HospitalService
|
|
13740
14304
|
* @param {string} hospitalId
|
|
14305
|
+
* @param {string} specialtyId
|
|
13741
14306
|
* @param {string} serviceId
|
|
13742
14307
|
* @param {*} [options] Override http request option.
|
|
13743
14308
|
* @throws {RequiredError}
|
|
13744
14309
|
*/
|
|
13745
|
-
|
|
14310
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete: function (hospitalId, specialtyId, serviceId, options) {
|
|
13746
14311
|
if (options === void 0) { options = {}; }
|
|
13747
14312
|
return __awaiter(_this, void 0, void 0, function () {
|
|
13748
14313
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -13750,11 +14315,14 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
13750
14315
|
switch (_a.label) {
|
|
13751
14316
|
case 0:
|
|
13752
14317
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
13753
|
-
common_1.assertParamExists('
|
|
14318
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete', 'hospitalId', hospitalId);
|
|
14319
|
+
// verify required parameter 'specialtyId' is not null or undefined
|
|
14320
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete', 'specialtyId', specialtyId);
|
|
13754
14321
|
// verify required parameter 'serviceId' is not null or undefined
|
|
13755
|
-
common_1.assertParamExists('
|
|
13756
|
-
localVarPath = "/api/v1/hospitals/{hospitalId}/services/{serviceId}"
|
|
14322
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete', 'serviceId', serviceId);
|
|
14323
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}"
|
|
13757
14324
|
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
14325
|
+
.replace("{" + "specialtyId" + "}", encodeURIComponent(String(specialtyId)))
|
|
13758
14326
|
.replace("{" + "serviceId" + "}", encodeURIComponent(String(serviceId)));
|
|
13759
14327
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13760
14328
|
if (configuration) {
|
|
@@ -13785,12 +14353,13 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
13785
14353
|
*
|
|
13786
14354
|
* @summary Get HospitalService.
|
|
13787
14355
|
* @param {string} hospitalId
|
|
14356
|
+
* @param {string} specialtyId
|
|
13788
14357
|
* @param {string} serviceId
|
|
13789
14358
|
* @param {string} [languageCode]
|
|
13790
14359
|
* @param {*} [options] Override http request option.
|
|
13791
14360
|
* @throws {RequiredError}
|
|
13792
14361
|
*/
|
|
13793
|
-
|
|
14362
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet: function (hospitalId, specialtyId, serviceId, languageCode, options) {
|
|
13794
14363
|
if (options === void 0) { options = {}; }
|
|
13795
14364
|
return __awaiter(_this, void 0, void 0, function () {
|
|
13796
14365
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -13798,11 +14367,14 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
13798
14367
|
switch (_a.label) {
|
|
13799
14368
|
case 0:
|
|
13800
14369
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
13801
|
-
common_1.assertParamExists('
|
|
14370
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet', 'hospitalId', hospitalId);
|
|
14371
|
+
// verify required parameter 'specialtyId' is not null or undefined
|
|
14372
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet', 'specialtyId', specialtyId);
|
|
13802
14373
|
// verify required parameter 'serviceId' is not null or undefined
|
|
13803
|
-
common_1.assertParamExists('
|
|
13804
|
-
localVarPath = "/api/v1/hospitals/{hospitalId}/services/{serviceId}"
|
|
14374
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet', 'serviceId', serviceId);
|
|
14375
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}"
|
|
13805
14376
|
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
14377
|
+
.replace("{" + "specialtyId" + "}", encodeURIComponent(String(specialtyId)))
|
|
13806
14378
|
.replace("{" + "serviceId" + "}", encodeURIComponent(String(serviceId)));
|
|
13807
14379
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13808
14380
|
if (configuration) {
|
|
@@ -13834,14 +14406,19 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
13834
14406
|
},
|
|
13835
14407
|
/**
|
|
13836
14408
|
*
|
|
13837
|
-
* @summary
|
|
14409
|
+
* @summary Get all HospitalServiceMedias.
|
|
13838
14410
|
* @param {string} hospitalId
|
|
14411
|
+
* @param {string} specialtyId
|
|
13839
14412
|
* @param {string} serviceId
|
|
13840
|
-
* @param {
|
|
14413
|
+
* @param {string} [id]
|
|
14414
|
+
* @param {MediaType} [mediaType]
|
|
14415
|
+
* @param {number} [page]
|
|
14416
|
+
* @param {number} [limit]
|
|
14417
|
+
* @param {Date} [lastRetrieved]
|
|
13841
14418
|
* @param {*} [options] Override http request option.
|
|
13842
14419
|
* @throws {RequiredError}
|
|
13843
14420
|
*/
|
|
13844
|
-
|
|
14421
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet: function (hospitalId, specialtyId, serviceId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
13845
14422
|
if (options === void 0) { options = {}; }
|
|
13846
14423
|
return __awaiter(_this, void 0, void 0, function () {
|
|
13847
14424
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -13849,31 +14426,49 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
13849
14426
|
switch (_a.label) {
|
|
13850
14427
|
case 0:
|
|
13851
14428
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
13852
|
-
common_1.assertParamExists('
|
|
14429
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet', 'hospitalId', hospitalId);
|
|
14430
|
+
// verify required parameter 'specialtyId' is not null or undefined
|
|
14431
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet', 'specialtyId', specialtyId);
|
|
13853
14432
|
// verify required parameter 'serviceId' is not null or undefined
|
|
13854
|
-
common_1.assertParamExists('
|
|
13855
|
-
localVarPath = "/api/v1/hospitals/{hospitalId}/services/{serviceId}"
|
|
14433
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet', 'serviceId', serviceId);
|
|
14434
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/medias"
|
|
13856
14435
|
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
14436
|
+
.replace("{" + "specialtyId" + "}", encodeURIComponent(String(specialtyId)))
|
|
13857
14437
|
.replace("{" + "serviceId" + "}", encodeURIComponent(String(serviceId)));
|
|
13858
14438
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13859
14439
|
if (configuration) {
|
|
13860
14440
|
baseOptions = configuration.baseOptions;
|
|
13861
14441
|
}
|
|
13862
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
13863
|
-
localVarHeaderParameter = {};
|
|
13864
|
-
localVarQueryParameter = {};
|
|
13865
|
-
// authentication oauth2 required
|
|
13866
|
-
// oauth required
|
|
13867
|
-
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
13868
|
-
case 1:
|
|
13869
|
-
// authentication oauth2 required
|
|
13870
|
-
// oauth required
|
|
13871
|
-
_a.sent();
|
|
13872
|
-
|
|
14442
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
14443
|
+
localVarHeaderParameter = {};
|
|
14444
|
+
localVarQueryParameter = {};
|
|
14445
|
+
// authentication oauth2 required
|
|
14446
|
+
// oauth required
|
|
14447
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
14448
|
+
case 1:
|
|
14449
|
+
// authentication oauth2 required
|
|
14450
|
+
// oauth required
|
|
14451
|
+
_a.sent();
|
|
14452
|
+
if (id !== undefined) {
|
|
14453
|
+
localVarQueryParameter['Id'] = id;
|
|
14454
|
+
}
|
|
14455
|
+
if (mediaType !== undefined) {
|
|
14456
|
+
localVarQueryParameter['MediaType'] = mediaType;
|
|
14457
|
+
}
|
|
14458
|
+
if (page !== undefined) {
|
|
14459
|
+
localVarQueryParameter['page'] = page;
|
|
14460
|
+
}
|
|
14461
|
+
if (limit !== undefined) {
|
|
14462
|
+
localVarQueryParameter['limit'] = limit;
|
|
14463
|
+
}
|
|
14464
|
+
if (lastRetrieved !== undefined) {
|
|
14465
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
14466
|
+
lastRetrieved.toISOString() :
|
|
14467
|
+
lastRetrieved;
|
|
14468
|
+
}
|
|
13873
14469
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13874
14470
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13875
14471
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13876
|
-
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateHospitalServiceCommand, localVarRequestOptions, configuration);
|
|
13877
14472
|
return [2 /*return*/, {
|
|
13878
14473
|
url: common_1.toPathString(localVarUrlObj),
|
|
13879
14474
|
options: localVarRequestOptions,
|
|
@@ -13884,22 +14479,15 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
13884
14479
|
},
|
|
13885
14480
|
/**
|
|
13886
14481
|
*
|
|
13887
|
-
* @summary
|
|
14482
|
+
* @summary Delete HospitalServiceMedia
|
|
13888
14483
|
* @param {string} hospitalId
|
|
13889
|
-
* @param {string}
|
|
13890
|
-
* @param {string}
|
|
13891
|
-
* @param {string}
|
|
13892
|
-
* @param {string} [specialtyName]
|
|
13893
|
-
* @param {string} [specialtyTypeId]
|
|
13894
|
-
* @param {MarketingType} [marketingType]
|
|
13895
|
-
* @param {Date} [created]
|
|
13896
|
-
* @param {number} [page]
|
|
13897
|
-
* @param {number} [limit]
|
|
13898
|
-
* @param {Date} [lastRetrieved]
|
|
14484
|
+
* @param {string} specialtyId
|
|
14485
|
+
* @param {string} serviceId
|
|
14486
|
+
* @param {string} mediaId
|
|
13899
14487
|
* @param {*} [options] Override http request option.
|
|
13900
14488
|
* @throws {RequiredError}
|
|
13901
14489
|
*/
|
|
13902
|
-
|
|
14490
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete: function (hospitalId, specialtyId, serviceId, mediaId, options) {
|
|
13903
14491
|
if (options === void 0) { options = {}; }
|
|
13904
14492
|
return __awaiter(_this, void 0, void 0, function () {
|
|
13905
14493
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -13907,14 +14495,23 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
13907
14495
|
switch (_a.label) {
|
|
13908
14496
|
case 0:
|
|
13909
14497
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
13910
|
-
common_1.assertParamExists('
|
|
13911
|
-
|
|
13912
|
-
|
|
14498
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete', 'hospitalId', hospitalId);
|
|
14499
|
+
// verify required parameter 'specialtyId' is not null or undefined
|
|
14500
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete', 'specialtyId', specialtyId);
|
|
14501
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
14502
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete', 'serviceId', serviceId);
|
|
14503
|
+
// verify required parameter 'mediaId' is not null or undefined
|
|
14504
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete', 'mediaId', mediaId);
|
|
14505
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/medias/{mediaId}"
|
|
14506
|
+
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
14507
|
+
.replace("{" + "specialtyId" + "}", encodeURIComponent(String(specialtyId)))
|
|
14508
|
+
.replace("{" + "serviceId" + "}", encodeURIComponent(String(serviceId)))
|
|
14509
|
+
.replace("{" + "mediaId" + "}", encodeURIComponent(String(mediaId)));
|
|
13913
14510
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13914
14511
|
if (configuration) {
|
|
13915
14512
|
baseOptions = configuration.baseOptions;
|
|
13916
14513
|
}
|
|
13917
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
14514
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
13918
14515
|
localVarHeaderParameter = {};
|
|
13919
14516
|
localVarQueryParameter = {};
|
|
13920
14517
|
// authentication oauth2 required
|
|
@@ -13924,40 +14521,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
13924
14521
|
// authentication oauth2 required
|
|
13925
14522
|
// oauth required
|
|
13926
14523
|
_a.sent();
|
|
13927
|
-
if (hospitalName !== undefined) {
|
|
13928
|
-
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
13929
|
-
}
|
|
13930
|
-
if (hospitalSlug !== undefined) {
|
|
13931
|
-
localVarQueryParameter['HospitalSlug'] = hospitalSlug;
|
|
13932
|
-
}
|
|
13933
|
-
if (specialtyId !== undefined) {
|
|
13934
|
-
localVarQueryParameter['SpecialtyId'] = specialtyId;
|
|
13935
|
-
}
|
|
13936
|
-
if (specialtyName !== undefined) {
|
|
13937
|
-
localVarQueryParameter['SpecialtyName'] = specialtyName;
|
|
13938
|
-
}
|
|
13939
|
-
if (specialtyTypeId !== undefined) {
|
|
13940
|
-
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
13941
|
-
}
|
|
13942
|
-
if (marketingType !== undefined) {
|
|
13943
|
-
localVarQueryParameter['MarketingType'] = marketingType;
|
|
13944
|
-
}
|
|
13945
|
-
if (created !== undefined) {
|
|
13946
|
-
localVarQueryParameter['Created'] = (created instanceof Date) ?
|
|
13947
|
-
created.toISOString() :
|
|
13948
|
-
created;
|
|
13949
|
-
}
|
|
13950
|
-
if (page !== undefined) {
|
|
13951
|
-
localVarQueryParameter['page'] = page;
|
|
13952
|
-
}
|
|
13953
|
-
if (limit !== undefined) {
|
|
13954
|
-
localVarQueryParameter['limit'] = limit;
|
|
13955
|
-
}
|
|
13956
|
-
if (lastRetrieved !== undefined) {
|
|
13957
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
13958
|
-
lastRetrieved.toISOString() :
|
|
13959
|
-
lastRetrieved;
|
|
13960
|
-
}
|
|
13961
14524
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13962
14525
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13963
14526
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -13971,13 +14534,15 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
13971
14534
|
},
|
|
13972
14535
|
/**
|
|
13973
14536
|
*
|
|
13974
|
-
* @summary
|
|
14537
|
+
* @summary Get HospitalServiceMedia.
|
|
13975
14538
|
* @param {string} hospitalId
|
|
13976
|
-
* @param {
|
|
14539
|
+
* @param {string} specialtyId
|
|
14540
|
+
* @param {string} serviceId
|
|
14541
|
+
* @param {string} mediaId
|
|
13977
14542
|
* @param {*} [options] Override http request option.
|
|
13978
14543
|
* @throws {RequiredError}
|
|
13979
14544
|
*/
|
|
13980
|
-
|
|
14545
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet: function (hospitalId, specialtyId, serviceId, mediaId, options) {
|
|
13981
14546
|
if (options === void 0) { options = {}; }
|
|
13982
14547
|
return __awaiter(_this, void 0, void 0, function () {
|
|
13983
14548
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -13985,14 +14550,23 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
13985
14550
|
switch (_a.label) {
|
|
13986
14551
|
case 0:
|
|
13987
14552
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
13988
|
-
common_1.assertParamExists('
|
|
13989
|
-
|
|
13990
|
-
|
|
14553
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet', 'hospitalId', hospitalId);
|
|
14554
|
+
// verify required parameter 'specialtyId' is not null or undefined
|
|
14555
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet', 'specialtyId', specialtyId);
|
|
14556
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
14557
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet', 'serviceId', serviceId);
|
|
14558
|
+
// verify required parameter 'mediaId' is not null or undefined
|
|
14559
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet', 'mediaId', mediaId);
|
|
14560
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/medias/{mediaId}"
|
|
14561
|
+
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
14562
|
+
.replace("{" + "specialtyId" + "}", encodeURIComponent(String(specialtyId)))
|
|
14563
|
+
.replace("{" + "serviceId" + "}", encodeURIComponent(String(serviceId)))
|
|
14564
|
+
.replace("{" + "mediaId" + "}", encodeURIComponent(String(mediaId)));
|
|
13991
14565
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13992
14566
|
if (configuration) {
|
|
13993
14567
|
baseOptions = configuration.baseOptions;
|
|
13994
14568
|
}
|
|
13995
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
14569
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
13996
14570
|
localVarHeaderParameter = {};
|
|
13997
14571
|
localVarQueryParameter = {};
|
|
13998
14572
|
// authentication oauth2 required
|
|
@@ -14002,11 +14576,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
14002
14576
|
// authentication oauth2 required
|
|
14003
14577
|
// oauth required
|
|
14004
14578
|
_a.sent();
|
|
14005
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14006
14579
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14007
14580
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14008
14581
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14009
|
-
localVarRequestOptions.data = common_1.serializeDataIfNeeded(createHospitalSpecialtyCommand, localVarRequestOptions, configuration);
|
|
14010
14582
|
return [2 /*return*/, {
|
|
14011
14583
|
url: common_1.toPathString(localVarUrlObj),
|
|
14012
14584
|
options: localVarRequestOptions,
|
|
@@ -14017,13 +14589,16 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
14017
14589
|
},
|
|
14018
14590
|
/**
|
|
14019
14591
|
*
|
|
14020
|
-
* @summary
|
|
14592
|
+
* @summary Update HospitalServiceMedia.
|
|
14021
14593
|
* @param {string} hospitalId
|
|
14022
14594
|
* @param {string} specialtyId
|
|
14595
|
+
* @param {string} serviceId
|
|
14596
|
+
* @param {string} mediaId
|
|
14597
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
14023
14598
|
* @param {*} [options] Override http request option.
|
|
14024
14599
|
* @throws {RequiredError}
|
|
14025
14600
|
*/
|
|
14026
|
-
|
|
14601
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut: function (hospitalId, specialtyId, serviceId, mediaId, updateMediaCommand, options) {
|
|
14027
14602
|
if (options === void 0) { options = {}; }
|
|
14028
14603
|
return __awaiter(_this, void 0, void 0, function () {
|
|
14029
14604
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -14031,17 +14606,23 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
14031
14606
|
switch (_a.label) {
|
|
14032
14607
|
case 0:
|
|
14033
14608
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
14034
|
-
common_1.assertParamExists('
|
|
14609
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut', 'hospitalId', hospitalId);
|
|
14035
14610
|
// verify required parameter 'specialtyId' is not null or undefined
|
|
14036
|
-
common_1.assertParamExists('
|
|
14037
|
-
|
|
14611
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut', 'specialtyId', specialtyId);
|
|
14612
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
14613
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut', 'serviceId', serviceId);
|
|
14614
|
+
// verify required parameter 'mediaId' is not null or undefined
|
|
14615
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut', 'mediaId', mediaId);
|
|
14616
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/medias/{mediaId}"
|
|
14038
14617
|
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
14039
|
-
.replace("{" + "specialtyId" + "}", encodeURIComponent(String(specialtyId)))
|
|
14618
|
+
.replace("{" + "specialtyId" + "}", encodeURIComponent(String(specialtyId)))
|
|
14619
|
+
.replace("{" + "serviceId" + "}", encodeURIComponent(String(serviceId)))
|
|
14620
|
+
.replace("{" + "mediaId" + "}", encodeURIComponent(String(mediaId)));
|
|
14040
14621
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14041
14622
|
if (configuration) {
|
|
14042
14623
|
baseOptions = configuration.baseOptions;
|
|
14043
14624
|
}
|
|
14044
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
14625
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
14045
14626
|
localVarHeaderParameter = {};
|
|
14046
14627
|
localVarQueryParameter = {};
|
|
14047
14628
|
// authentication oauth2 required
|
|
@@ -14051,9 +14632,11 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
14051
14632
|
// authentication oauth2 required
|
|
14052
14633
|
// oauth required
|
|
14053
14634
|
_a.sent();
|
|
14635
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14054
14636
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14055
14637
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14056
14638
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14639
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateMediaCommand, localVarRequestOptions, configuration);
|
|
14057
14640
|
return [2 /*return*/, {
|
|
14058
14641
|
url: common_1.toPathString(localVarUrlObj),
|
|
14059
14642
|
options: localVarRequestOptions,
|
|
@@ -14064,13 +14647,15 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
14064
14647
|
},
|
|
14065
14648
|
/**
|
|
14066
14649
|
*
|
|
14067
|
-
* @summary
|
|
14650
|
+
* @summary Create HospitalServiceMedia.
|
|
14068
14651
|
* @param {string} hospitalId
|
|
14069
14652
|
* @param {string} specialtyId
|
|
14653
|
+
* @param {string} serviceId
|
|
14654
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
14070
14655
|
* @param {*} [options] Override http request option.
|
|
14071
14656
|
* @throws {RequiredError}
|
|
14072
14657
|
*/
|
|
14073
|
-
|
|
14658
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost: function (hospitalId, specialtyId, serviceId, createMediaCommand, options) {
|
|
14074
14659
|
if (options === void 0) { options = {}; }
|
|
14075
14660
|
return __awaiter(_this, void 0, void 0, function () {
|
|
14076
14661
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -14078,17 +14663,20 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
14078
14663
|
switch (_a.label) {
|
|
14079
14664
|
case 0:
|
|
14080
14665
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
14081
|
-
common_1.assertParamExists('
|
|
14666
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost', 'hospitalId', hospitalId);
|
|
14082
14667
|
// verify required parameter 'specialtyId' is not null or undefined
|
|
14083
|
-
common_1.assertParamExists('
|
|
14084
|
-
|
|
14668
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost', 'specialtyId', specialtyId);
|
|
14669
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
14670
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost', 'serviceId', serviceId);
|
|
14671
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/medias"
|
|
14085
14672
|
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
14086
|
-
.replace("{" + "specialtyId" + "}", encodeURIComponent(String(specialtyId)))
|
|
14673
|
+
.replace("{" + "specialtyId" + "}", encodeURIComponent(String(specialtyId)))
|
|
14674
|
+
.replace("{" + "serviceId" + "}", encodeURIComponent(String(serviceId)));
|
|
14087
14675
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14088
14676
|
if (configuration) {
|
|
14089
14677
|
baseOptions = configuration.baseOptions;
|
|
14090
14678
|
}
|
|
14091
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
14679
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
14092
14680
|
localVarHeaderParameter = {};
|
|
14093
14681
|
localVarQueryParameter = {};
|
|
14094
14682
|
// authentication oauth2 required
|
|
@@ -14098,9 +14686,11 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
14098
14686
|
// authentication oauth2 required
|
|
14099
14687
|
// oauth required
|
|
14100
14688
|
_a.sent();
|
|
14689
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14101
14690
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14102
14691
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14103
14692
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14693
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(createMediaCommand, localVarRequestOptions, configuration);
|
|
14104
14694
|
return [2 /*return*/, {
|
|
14105
14695
|
url: common_1.toPathString(localVarUrlObj),
|
|
14106
14696
|
options: localVarRequestOptions,
|
|
@@ -14111,14 +14701,15 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
14111
14701
|
},
|
|
14112
14702
|
/**
|
|
14113
14703
|
*
|
|
14114
|
-
* @summary Update
|
|
14704
|
+
* @summary Update HospitalService.
|
|
14115
14705
|
* @param {string} hospitalId
|
|
14116
14706
|
* @param {string} specialtyId
|
|
14117
|
-
* @param {
|
|
14707
|
+
* @param {string} serviceId
|
|
14708
|
+
* @param {UpdateHospitalServiceCommand} [updateHospitalServiceCommand]
|
|
14118
14709
|
* @param {*} [options] Override http request option.
|
|
14119
14710
|
* @throws {RequiredError}
|
|
14120
14711
|
*/
|
|
14121
|
-
|
|
14712
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut: function (hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options) {
|
|
14122
14713
|
if (options === void 0) { options = {}; }
|
|
14123
14714
|
return __awaiter(_this, void 0, void 0, function () {
|
|
14124
14715
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -14126,12 +14717,15 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
14126
14717
|
switch (_a.label) {
|
|
14127
14718
|
case 0:
|
|
14128
14719
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
14129
|
-
common_1.assertParamExists('
|
|
14720
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut', 'hospitalId', hospitalId);
|
|
14130
14721
|
// verify required parameter 'specialtyId' is not null or undefined
|
|
14131
|
-
common_1.assertParamExists('
|
|
14132
|
-
|
|
14722
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut', 'specialtyId', specialtyId);
|
|
14723
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
14724
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut', 'serviceId', serviceId);
|
|
14725
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}"
|
|
14133
14726
|
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
14134
|
-
.replace("{" + "specialtyId" + "}", encodeURIComponent(String(specialtyId)))
|
|
14727
|
+
.replace("{" + "specialtyId" + "}", encodeURIComponent(String(specialtyId)))
|
|
14728
|
+
.replace("{" + "serviceId" + "}", encodeURIComponent(String(serviceId)));
|
|
14135
14729
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14136
14730
|
if (configuration) {
|
|
14137
14731
|
baseOptions = configuration.baseOptions;
|
|
@@ -14150,7 +14744,7 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
14150
14744
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14151
14745
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14152
14746
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14153
|
-
localVarRequestOptions.data = common_1.serializeDataIfNeeded(
|
|
14747
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateHospitalServiceCommand, localVarRequestOptions, configuration);
|
|
14154
14748
|
return [2 /*return*/, {
|
|
14155
14749
|
url: common_1.toPathString(localVarUrlObj),
|
|
14156
14750
|
options: localVarRequestOptions,
|
|
@@ -14821,7 +15415,121 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
14821
15415
|
var localVarAxiosArgs;
|
|
14822
15416
|
return __generator(this, function (_a) {
|
|
14823
15417
|
switch (_a.label) {
|
|
14824
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdMediasMediaIdPut(hospitalId, mediaId, updateMediaCommand, options)];
|
|
15418
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdMediasMediaIdPut(hospitalId, mediaId, updateMediaCommand, options)];
|
|
15419
|
+
case 1:
|
|
15420
|
+
localVarAxiosArgs = _a.sent();
|
|
15421
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
15422
|
+
}
|
|
15423
|
+
});
|
|
15424
|
+
});
|
|
15425
|
+
},
|
|
15426
|
+
/**
|
|
15427
|
+
*
|
|
15428
|
+
* @summary Create HospitalMedia.
|
|
15429
|
+
* @param {string} hospitalId
|
|
15430
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
15431
|
+
* @param {*} [options] Override http request option.
|
|
15432
|
+
* @throws {RequiredError}
|
|
15433
|
+
*/
|
|
15434
|
+
apiV1HospitalsHospitalIdMediasPost: function (hospitalId, createMediaCommand, options) {
|
|
15435
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
15436
|
+
var localVarAxiosArgs;
|
|
15437
|
+
return __generator(this, function (_a) {
|
|
15438
|
+
switch (_a.label) {
|
|
15439
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdMediasPost(hospitalId, createMediaCommand, options)];
|
|
15440
|
+
case 1:
|
|
15441
|
+
localVarAxiosArgs = _a.sent();
|
|
15442
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
15443
|
+
}
|
|
15444
|
+
});
|
|
15445
|
+
});
|
|
15446
|
+
},
|
|
15447
|
+
/**
|
|
15448
|
+
*
|
|
15449
|
+
* @summary Update Hospital.
|
|
15450
|
+
* @param {string} hospitalId
|
|
15451
|
+
* @param {UpdateHospitalCommand} [updateHospitalCommand]
|
|
15452
|
+
* @param {*} [options] Override http request option.
|
|
15453
|
+
* @throws {RequiredError}
|
|
15454
|
+
*/
|
|
15455
|
+
apiV1HospitalsHospitalIdPut: function (hospitalId, updateHospitalCommand, options) {
|
|
15456
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
15457
|
+
var localVarAxiosArgs;
|
|
15458
|
+
return __generator(this, function (_a) {
|
|
15459
|
+
switch (_a.label) {
|
|
15460
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdPut(hospitalId, updateHospitalCommand, options)];
|
|
15461
|
+
case 1:
|
|
15462
|
+
localVarAxiosArgs = _a.sent();
|
|
15463
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
15464
|
+
}
|
|
15465
|
+
});
|
|
15466
|
+
});
|
|
15467
|
+
},
|
|
15468
|
+
/**
|
|
15469
|
+
*
|
|
15470
|
+
* @summary Get all HospitalSpecialties.
|
|
15471
|
+
* @param {string} hospitalId
|
|
15472
|
+
* @param {string} [hospitalName]
|
|
15473
|
+
* @param {string} [hospitalSlug]
|
|
15474
|
+
* @param {string} [specialtyId]
|
|
15475
|
+
* @param {string} [specialtyName]
|
|
15476
|
+
* @param {string} [specialtyTypeId]
|
|
15477
|
+
* @param {MarketingType} [marketingType]
|
|
15478
|
+
* @param {Date} [created]
|
|
15479
|
+
* @param {number} [page]
|
|
15480
|
+
* @param {number} [limit]
|
|
15481
|
+
* @param {Date} [lastRetrieved]
|
|
15482
|
+
* @param {*} [options] Override http request option.
|
|
15483
|
+
* @throws {RequiredError}
|
|
15484
|
+
*/
|
|
15485
|
+
apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType, created, page, limit, lastRetrieved, options) {
|
|
15486
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
15487
|
+
var localVarAxiosArgs;
|
|
15488
|
+
return __generator(this, function (_a) {
|
|
15489
|
+
switch (_a.label) {
|
|
15490
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType, created, page, limit, lastRetrieved, options)];
|
|
15491
|
+
case 1:
|
|
15492
|
+
localVarAxiosArgs = _a.sent();
|
|
15493
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
15494
|
+
}
|
|
15495
|
+
});
|
|
15496
|
+
});
|
|
15497
|
+
},
|
|
15498
|
+
/**
|
|
15499
|
+
*
|
|
15500
|
+
* @summary Create HospitalSpecialty.
|
|
15501
|
+
* @param {string} hospitalId
|
|
15502
|
+
* @param {CreateHospitalSpecialtyCommand} [createHospitalSpecialtyCommand]
|
|
15503
|
+
* @param {*} [options] Override http request option.
|
|
15504
|
+
* @throws {RequiredError}
|
|
15505
|
+
*/
|
|
15506
|
+
apiV1HospitalsHospitalIdSpecialtiesPost: function (hospitalId, createHospitalSpecialtyCommand, options) {
|
|
15507
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
15508
|
+
var localVarAxiosArgs;
|
|
15509
|
+
return __generator(this, function (_a) {
|
|
15510
|
+
switch (_a.label) {
|
|
15511
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesPost(hospitalId, createHospitalSpecialtyCommand, options)];
|
|
15512
|
+
case 1:
|
|
15513
|
+
localVarAxiosArgs = _a.sent();
|
|
15514
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
15515
|
+
}
|
|
15516
|
+
});
|
|
15517
|
+
});
|
|
15518
|
+
},
|
|
15519
|
+
/**
|
|
15520
|
+
*
|
|
15521
|
+
* @summary Delete HospitalSpecialty.
|
|
15522
|
+
* @param {string} hospitalId
|
|
15523
|
+
* @param {string} specialtyId
|
|
15524
|
+
* @param {*} [options] Override http request option.
|
|
15525
|
+
* @throws {RequiredError}
|
|
15526
|
+
*/
|
|
15527
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete: function (hospitalId, specialtyId, options) {
|
|
15528
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
15529
|
+
var localVarAxiosArgs;
|
|
15530
|
+
return __generator(this, function (_a) {
|
|
15531
|
+
switch (_a.label) {
|
|
15532
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete(hospitalId, specialtyId, options)];
|
|
14825
15533
|
case 1:
|
|
14826
15534
|
localVarAxiosArgs = _a.sent();
|
|
14827
15535
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -14831,18 +15539,18 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
14831
15539
|
},
|
|
14832
15540
|
/**
|
|
14833
15541
|
*
|
|
14834
|
-
* @summary
|
|
15542
|
+
* @summary Get HospitalSpecialty.
|
|
14835
15543
|
* @param {string} hospitalId
|
|
14836
|
-
* @param {
|
|
15544
|
+
* @param {string} specialtyId
|
|
14837
15545
|
* @param {*} [options] Override http request option.
|
|
14838
15546
|
* @throws {RequiredError}
|
|
14839
15547
|
*/
|
|
14840
|
-
|
|
15548
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, options) {
|
|
14841
15549
|
return __awaiter(this, void 0, void 0, function () {
|
|
14842
15550
|
var localVarAxiosArgs;
|
|
14843
15551
|
return __generator(this, function (_a) {
|
|
14844
15552
|
switch (_a.label) {
|
|
14845
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
15553
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options)];
|
|
14846
15554
|
case 1:
|
|
14847
15555
|
localVarAxiosArgs = _a.sent();
|
|
14848
15556
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -14852,18 +15560,19 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
14852
15560
|
},
|
|
14853
15561
|
/**
|
|
14854
15562
|
*
|
|
14855
|
-
* @summary Update
|
|
15563
|
+
* @summary Update HospitalSpecialty.
|
|
14856
15564
|
* @param {string} hospitalId
|
|
14857
|
-
* @param {
|
|
15565
|
+
* @param {string} specialtyId
|
|
15566
|
+
* @param {UpdateHospitalSpecialtyCommand} [updateHospitalSpecialtyCommand]
|
|
14858
15567
|
* @param {*} [options] Override http request option.
|
|
14859
15568
|
* @throws {RequiredError}
|
|
14860
15569
|
*/
|
|
14861
|
-
|
|
15570
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut: function (hospitalId, specialtyId, updateHospitalSpecialtyCommand, options) {
|
|
14862
15571
|
return __awaiter(this, void 0, void 0, function () {
|
|
14863
15572
|
var localVarAxiosArgs;
|
|
14864
15573
|
return __generator(this, function (_a) {
|
|
14865
15574
|
switch (_a.label) {
|
|
14866
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
15575
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut(hospitalId, specialtyId, updateHospitalSpecialtyCommand, options)];
|
|
14867
15576
|
case 1:
|
|
14868
15577
|
localVarAxiosArgs = _a.sent();
|
|
14869
15578
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -14875,14 +15584,16 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
14875
15584
|
*
|
|
14876
15585
|
* @summary Get all HospitalServices.
|
|
14877
15586
|
* @param {string} hospitalId
|
|
15587
|
+
* @param {string} specialtyId
|
|
14878
15588
|
* @param {string} [hospitalName]
|
|
14879
15589
|
* @param {string} [hospitalSlug]
|
|
14880
15590
|
* @param {string} [id]
|
|
14881
15591
|
* @param {string} [name]
|
|
14882
15592
|
* @param {string} [description]
|
|
14883
|
-
* @param {string} [
|
|
15593
|
+
* @param {string} [specialtyName]
|
|
14884
15594
|
* @param {string} [specialtyTypeId]
|
|
14885
15595
|
* @param {string} [specialtyTypeName]
|
|
15596
|
+
* @param {string} [serviceCategoryId]
|
|
14886
15597
|
* @param {MarketingType} [marketingType]
|
|
14887
15598
|
* @param {Procedure} [procedure]
|
|
14888
15599
|
* @param {Date} [created]
|
|
@@ -14893,12 +15604,12 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
14893
15604
|
* @param {*} [options] Override http request option.
|
|
14894
15605
|
* @throws {RequiredError}
|
|
14895
15606
|
*/
|
|
14896
|
-
|
|
15607
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options) {
|
|
14897
15608
|
return __awaiter(this, void 0, void 0, function () {
|
|
14898
15609
|
var localVarAxiosArgs;
|
|
14899
15610
|
return __generator(this, function (_a) {
|
|
14900
15611
|
switch (_a.label) {
|
|
14901
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
15612
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options)];
|
|
14902
15613
|
case 1:
|
|
14903
15614
|
localVarAxiosArgs = _a.sent();
|
|
14904
15615
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -14910,16 +15621,17 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
14910
15621
|
*
|
|
14911
15622
|
* @summary Create HospitalService.
|
|
14912
15623
|
* @param {string} hospitalId
|
|
15624
|
+
* @param {string} specialtyId
|
|
14913
15625
|
* @param {CreateHospitalServiceCommand} [createHospitalServiceCommand]
|
|
14914
15626
|
* @param {*} [options] Override http request option.
|
|
14915
15627
|
* @throws {RequiredError}
|
|
14916
15628
|
*/
|
|
14917
|
-
|
|
15629
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost: function (hospitalId, specialtyId, createHospitalServiceCommand, options) {
|
|
14918
15630
|
return __awaiter(this, void 0, void 0, function () {
|
|
14919
15631
|
var localVarAxiosArgs;
|
|
14920
15632
|
return __generator(this, function (_a) {
|
|
14921
15633
|
switch (_a.label) {
|
|
14922
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
15634
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost(hospitalId, specialtyId, createHospitalServiceCommand, options)];
|
|
14923
15635
|
case 1:
|
|
14924
15636
|
localVarAxiosArgs = _a.sent();
|
|
14925
15637
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -14931,16 +15643,17 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
14931
15643
|
*
|
|
14932
15644
|
* @summary Delete HospitalService
|
|
14933
15645
|
* @param {string} hospitalId
|
|
15646
|
+
* @param {string} specialtyId
|
|
14934
15647
|
* @param {string} serviceId
|
|
14935
15648
|
* @param {*} [options] Override http request option.
|
|
14936
15649
|
* @throws {RequiredError}
|
|
14937
15650
|
*/
|
|
14938
|
-
|
|
15651
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete: function (hospitalId, specialtyId, serviceId, options) {
|
|
14939
15652
|
return __awaiter(this, void 0, void 0, function () {
|
|
14940
15653
|
var localVarAxiosArgs;
|
|
14941
15654
|
return __generator(this, function (_a) {
|
|
14942
15655
|
switch (_a.label) {
|
|
14943
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
15656
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete(hospitalId, specialtyId, serviceId, options)];
|
|
14944
15657
|
case 1:
|
|
14945
15658
|
localVarAxiosArgs = _a.sent();
|
|
14946
15659
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -14952,17 +15665,18 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
14952
15665
|
*
|
|
14953
15666
|
* @summary Get HospitalService.
|
|
14954
15667
|
* @param {string} hospitalId
|
|
15668
|
+
* @param {string} specialtyId
|
|
14955
15669
|
* @param {string} serviceId
|
|
14956
15670
|
* @param {string} [languageCode]
|
|
14957
15671
|
* @param {*} [options] Override http request option.
|
|
14958
15672
|
* @throws {RequiredError}
|
|
14959
15673
|
*/
|
|
14960
|
-
|
|
15674
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet: function (hospitalId, specialtyId, serviceId, languageCode, options) {
|
|
14961
15675
|
return __awaiter(this, void 0, void 0, function () {
|
|
14962
15676
|
var localVarAxiosArgs;
|
|
14963
15677
|
return __generator(this, function (_a) {
|
|
14964
15678
|
switch (_a.label) {
|
|
14965
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
15679
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, options)];
|
|
14966
15680
|
case 1:
|
|
14967
15681
|
localVarAxiosArgs = _a.sent();
|
|
14968
15682
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -14972,19 +15686,24 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
14972
15686
|
},
|
|
14973
15687
|
/**
|
|
14974
15688
|
*
|
|
14975
|
-
* @summary
|
|
15689
|
+
* @summary Get all HospitalServiceMedias.
|
|
14976
15690
|
* @param {string} hospitalId
|
|
15691
|
+
* @param {string} specialtyId
|
|
14977
15692
|
* @param {string} serviceId
|
|
14978
|
-
* @param {
|
|
15693
|
+
* @param {string} [id]
|
|
15694
|
+
* @param {MediaType} [mediaType]
|
|
15695
|
+
* @param {number} [page]
|
|
15696
|
+
* @param {number} [limit]
|
|
15697
|
+
* @param {Date} [lastRetrieved]
|
|
14979
15698
|
* @param {*} [options] Override http request option.
|
|
14980
15699
|
* @throws {RequiredError}
|
|
14981
15700
|
*/
|
|
14982
|
-
|
|
15701
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet: function (hospitalId, specialtyId, serviceId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
14983
15702
|
return __awaiter(this, void 0, void 0, function () {
|
|
14984
15703
|
var localVarAxiosArgs;
|
|
14985
15704
|
return __generator(this, function (_a) {
|
|
14986
15705
|
switch (_a.label) {
|
|
14987
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
15706
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet(hospitalId, specialtyId, serviceId, id, mediaType, page, limit, lastRetrieved, options)];
|
|
14988
15707
|
case 1:
|
|
14989
15708
|
localVarAxiosArgs = _a.sent();
|
|
14990
15709
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -14994,27 +15713,20 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
14994
15713
|
},
|
|
14995
15714
|
/**
|
|
14996
15715
|
*
|
|
14997
|
-
* @summary
|
|
15716
|
+
* @summary Delete HospitalServiceMedia
|
|
14998
15717
|
* @param {string} hospitalId
|
|
14999
|
-
* @param {string}
|
|
15000
|
-
* @param {string}
|
|
15001
|
-
* @param {string}
|
|
15002
|
-
* @param {string} [specialtyName]
|
|
15003
|
-
* @param {string} [specialtyTypeId]
|
|
15004
|
-
* @param {MarketingType} [marketingType]
|
|
15005
|
-
* @param {Date} [created]
|
|
15006
|
-
* @param {number} [page]
|
|
15007
|
-
* @param {number} [limit]
|
|
15008
|
-
* @param {Date} [lastRetrieved]
|
|
15718
|
+
* @param {string} specialtyId
|
|
15719
|
+
* @param {string} serviceId
|
|
15720
|
+
* @param {string} mediaId
|
|
15009
15721
|
* @param {*} [options] Override http request option.
|
|
15010
15722
|
* @throws {RequiredError}
|
|
15011
15723
|
*/
|
|
15012
|
-
|
|
15724
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete: function (hospitalId, specialtyId, serviceId, mediaId, options) {
|
|
15013
15725
|
return __awaiter(this, void 0, void 0, function () {
|
|
15014
15726
|
var localVarAxiosArgs;
|
|
15015
15727
|
return __generator(this, function (_a) {
|
|
15016
15728
|
switch (_a.label) {
|
|
15017
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
15729
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete(hospitalId, specialtyId, serviceId, mediaId, options)];
|
|
15018
15730
|
case 1:
|
|
15019
15731
|
localVarAxiosArgs = _a.sent();
|
|
15020
15732
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -15024,18 +15736,20 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
15024
15736
|
},
|
|
15025
15737
|
/**
|
|
15026
15738
|
*
|
|
15027
|
-
* @summary
|
|
15739
|
+
* @summary Get HospitalServiceMedia.
|
|
15028
15740
|
* @param {string} hospitalId
|
|
15029
|
-
* @param {
|
|
15741
|
+
* @param {string} specialtyId
|
|
15742
|
+
* @param {string} serviceId
|
|
15743
|
+
* @param {string} mediaId
|
|
15030
15744
|
* @param {*} [options] Override http request option.
|
|
15031
15745
|
* @throws {RequiredError}
|
|
15032
15746
|
*/
|
|
15033
|
-
|
|
15747
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet: function (hospitalId, specialtyId, serviceId, mediaId, options) {
|
|
15034
15748
|
return __awaiter(this, void 0, void 0, function () {
|
|
15035
15749
|
var localVarAxiosArgs;
|
|
15036
15750
|
return __generator(this, function (_a) {
|
|
15037
15751
|
switch (_a.label) {
|
|
15038
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
15752
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet(hospitalId, specialtyId, serviceId, mediaId, options)];
|
|
15039
15753
|
case 1:
|
|
15040
15754
|
localVarAxiosArgs = _a.sent();
|
|
15041
15755
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -15045,18 +15759,21 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
15045
15759
|
},
|
|
15046
15760
|
/**
|
|
15047
15761
|
*
|
|
15048
|
-
* @summary
|
|
15762
|
+
* @summary Update HospitalServiceMedia.
|
|
15049
15763
|
* @param {string} hospitalId
|
|
15050
15764
|
* @param {string} specialtyId
|
|
15765
|
+
* @param {string} serviceId
|
|
15766
|
+
* @param {string} mediaId
|
|
15767
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
15051
15768
|
* @param {*} [options] Override http request option.
|
|
15052
15769
|
* @throws {RequiredError}
|
|
15053
15770
|
*/
|
|
15054
|
-
|
|
15771
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut: function (hospitalId, specialtyId, serviceId, mediaId, updateMediaCommand, options) {
|
|
15055
15772
|
return __awaiter(this, void 0, void 0, function () {
|
|
15056
15773
|
var localVarAxiosArgs;
|
|
15057
15774
|
return __generator(this, function (_a) {
|
|
15058
15775
|
switch (_a.label) {
|
|
15059
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
15776
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut(hospitalId, specialtyId, serviceId, mediaId, updateMediaCommand, options)];
|
|
15060
15777
|
case 1:
|
|
15061
15778
|
localVarAxiosArgs = _a.sent();
|
|
15062
15779
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -15066,18 +15783,20 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
15066
15783
|
},
|
|
15067
15784
|
/**
|
|
15068
15785
|
*
|
|
15069
|
-
* @summary
|
|
15786
|
+
* @summary Create HospitalServiceMedia.
|
|
15070
15787
|
* @param {string} hospitalId
|
|
15071
15788
|
* @param {string} specialtyId
|
|
15789
|
+
* @param {string} serviceId
|
|
15790
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
15072
15791
|
* @param {*} [options] Override http request option.
|
|
15073
15792
|
* @throws {RequiredError}
|
|
15074
15793
|
*/
|
|
15075
|
-
|
|
15794
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost: function (hospitalId, specialtyId, serviceId, createMediaCommand, options) {
|
|
15076
15795
|
return __awaiter(this, void 0, void 0, function () {
|
|
15077
15796
|
var localVarAxiosArgs;
|
|
15078
15797
|
return __generator(this, function (_a) {
|
|
15079
15798
|
switch (_a.label) {
|
|
15080
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
15799
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost(hospitalId, specialtyId, serviceId, createMediaCommand, options)];
|
|
15081
15800
|
case 1:
|
|
15082
15801
|
localVarAxiosArgs = _a.sent();
|
|
15083
15802
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -15087,19 +15806,20 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
15087
15806
|
},
|
|
15088
15807
|
/**
|
|
15089
15808
|
*
|
|
15090
|
-
* @summary Update
|
|
15809
|
+
* @summary Update HospitalService.
|
|
15091
15810
|
* @param {string} hospitalId
|
|
15092
15811
|
* @param {string} specialtyId
|
|
15093
|
-
* @param {
|
|
15812
|
+
* @param {string} serviceId
|
|
15813
|
+
* @param {UpdateHospitalServiceCommand} [updateHospitalServiceCommand]
|
|
15094
15814
|
* @param {*} [options] Override http request option.
|
|
15095
15815
|
* @throws {RequiredError}
|
|
15096
15816
|
*/
|
|
15097
|
-
|
|
15817
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut: function (hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options) {
|
|
15098
15818
|
return __awaiter(this, void 0, void 0, function () {
|
|
15099
15819
|
var localVarAxiosArgs;
|
|
15100
15820
|
return __generator(this, function (_a) {
|
|
15101
15821
|
switch (_a.label) {
|
|
15102
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
15822
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options)];
|
|
15103
15823
|
case 1:
|
|
15104
15824
|
localVarAxiosArgs = _a.sent();
|
|
15105
15825
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -15501,18 +16221,85 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
15501
16221
|
apiV1HospitalsHospitalIdPut: function (hospitalId, updateHospitalCommand, options) {
|
|
15502
16222
|
return localVarFp.apiV1HospitalsHospitalIdPut(hospitalId, updateHospitalCommand, options).then(function (request) { return request(axios, basePath); });
|
|
15503
16223
|
},
|
|
16224
|
+
/**
|
|
16225
|
+
*
|
|
16226
|
+
* @summary Get all HospitalSpecialties.
|
|
16227
|
+
* @param {string} hospitalId
|
|
16228
|
+
* @param {string} [hospitalName]
|
|
16229
|
+
* @param {string} [hospitalSlug]
|
|
16230
|
+
* @param {string} [specialtyId]
|
|
16231
|
+
* @param {string} [specialtyName]
|
|
16232
|
+
* @param {string} [specialtyTypeId]
|
|
16233
|
+
* @param {MarketingType} [marketingType]
|
|
16234
|
+
* @param {Date} [created]
|
|
16235
|
+
* @param {number} [page]
|
|
16236
|
+
* @param {number} [limit]
|
|
16237
|
+
* @param {Date} [lastRetrieved]
|
|
16238
|
+
* @param {*} [options] Override http request option.
|
|
16239
|
+
* @throws {RequiredError}
|
|
16240
|
+
*/
|
|
16241
|
+
apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType, created, page, limit, lastRetrieved, options) {
|
|
16242
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType, created, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
16243
|
+
},
|
|
16244
|
+
/**
|
|
16245
|
+
*
|
|
16246
|
+
* @summary Create HospitalSpecialty.
|
|
16247
|
+
* @param {string} hospitalId
|
|
16248
|
+
* @param {CreateHospitalSpecialtyCommand} [createHospitalSpecialtyCommand]
|
|
16249
|
+
* @param {*} [options] Override http request option.
|
|
16250
|
+
* @throws {RequiredError}
|
|
16251
|
+
*/
|
|
16252
|
+
apiV1HospitalsHospitalIdSpecialtiesPost: function (hospitalId, createHospitalSpecialtyCommand, options) {
|
|
16253
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesPost(hospitalId, createHospitalSpecialtyCommand, options).then(function (request) { return request(axios, basePath); });
|
|
16254
|
+
},
|
|
16255
|
+
/**
|
|
16256
|
+
*
|
|
16257
|
+
* @summary Delete HospitalSpecialty.
|
|
16258
|
+
* @param {string} hospitalId
|
|
16259
|
+
* @param {string} specialtyId
|
|
16260
|
+
* @param {*} [options] Override http request option.
|
|
16261
|
+
* @throws {RequiredError}
|
|
16262
|
+
*/
|
|
16263
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete: function (hospitalId, specialtyId, options) {
|
|
16264
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete(hospitalId, specialtyId, options).then(function (request) { return request(axios, basePath); });
|
|
16265
|
+
},
|
|
16266
|
+
/**
|
|
16267
|
+
*
|
|
16268
|
+
* @summary Get HospitalSpecialty.
|
|
16269
|
+
* @param {string} hospitalId
|
|
16270
|
+
* @param {string} specialtyId
|
|
16271
|
+
* @param {*} [options] Override http request option.
|
|
16272
|
+
* @throws {RequiredError}
|
|
16273
|
+
*/
|
|
16274
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, options) {
|
|
16275
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options).then(function (request) { return request(axios, basePath); });
|
|
16276
|
+
},
|
|
16277
|
+
/**
|
|
16278
|
+
*
|
|
16279
|
+
* @summary Update HospitalSpecialty.
|
|
16280
|
+
* @param {string} hospitalId
|
|
16281
|
+
* @param {string} specialtyId
|
|
16282
|
+
* @param {UpdateHospitalSpecialtyCommand} [updateHospitalSpecialtyCommand]
|
|
16283
|
+
* @param {*} [options] Override http request option.
|
|
16284
|
+
* @throws {RequiredError}
|
|
16285
|
+
*/
|
|
16286
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut: function (hospitalId, specialtyId, updateHospitalSpecialtyCommand, options) {
|
|
16287
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut(hospitalId, specialtyId, updateHospitalSpecialtyCommand, options).then(function (request) { return request(axios, basePath); });
|
|
16288
|
+
},
|
|
15504
16289
|
/**
|
|
15505
16290
|
*
|
|
15506
16291
|
* @summary Get all HospitalServices.
|
|
15507
16292
|
* @param {string} hospitalId
|
|
16293
|
+
* @param {string} specialtyId
|
|
15508
16294
|
* @param {string} [hospitalName]
|
|
15509
16295
|
* @param {string} [hospitalSlug]
|
|
15510
16296
|
* @param {string} [id]
|
|
15511
16297
|
* @param {string} [name]
|
|
15512
16298
|
* @param {string} [description]
|
|
15513
|
-
* @param {string} [
|
|
16299
|
+
* @param {string} [specialtyName]
|
|
15514
16300
|
* @param {string} [specialtyTypeId]
|
|
15515
16301
|
* @param {string} [specialtyTypeName]
|
|
16302
|
+
* @param {string} [serviceCategoryId]
|
|
15516
16303
|
* @param {MarketingType} [marketingType]
|
|
15517
16304
|
* @param {Procedure} [procedure]
|
|
15518
16305
|
* @param {Date} [created]
|
|
@@ -15523,119 +16310,128 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
15523
16310
|
* @param {*} [options] Override http request option.
|
|
15524
16311
|
* @throws {RequiredError}
|
|
15525
16312
|
*/
|
|
15526
|
-
|
|
15527
|
-
return localVarFp.
|
|
16313
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options) {
|
|
16314
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
15528
16315
|
},
|
|
15529
16316
|
/**
|
|
15530
16317
|
*
|
|
15531
16318
|
* @summary Create HospitalService.
|
|
15532
16319
|
* @param {string} hospitalId
|
|
16320
|
+
* @param {string} specialtyId
|
|
15533
16321
|
* @param {CreateHospitalServiceCommand} [createHospitalServiceCommand]
|
|
15534
16322
|
* @param {*} [options] Override http request option.
|
|
15535
16323
|
* @throws {RequiredError}
|
|
15536
16324
|
*/
|
|
15537
|
-
|
|
15538
|
-
return localVarFp.
|
|
16325
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost: function (hospitalId, specialtyId, createHospitalServiceCommand, options) {
|
|
16326
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost(hospitalId, specialtyId, createHospitalServiceCommand, options).then(function (request) { return request(axios, basePath); });
|
|
15539
16327
|
},
|
|
15540
16328
|
/**
|
|
15541
16329
|
*
|
|
15542
16330
|
* @summary Delete HospitalService
|
|
15543
16331
|
* @param {string} hospitalId
|
|
16332
|
+
* @param {string} specialtyId
|
|
15544
16333
|
* @param {string} serviceId
|
|
15545
16334
|
* @param {*} [options] Override http request option.
|
|
15546
16335
|
* @throws {RequiredError}
|
|
15547
16336
|
*/
|
|
15548
|
-
|
|
15549
|
-
return localVarFp.
|
|
16337
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete: function (hospitalId, specialtyId, serviceId, options) {
|
|
16338
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete(hospitalId, specialtyId, serviceId, options).then(function (request) { return request(axios, basePath); });
|
|
15550
16339
|
},
|
|
15551
16340
|
/**
|
|
15552
16341
|
*
|
|
15553
16342
|
* @summary Get HospitalService.
|
|
15554
16343
|
* @param {string} hospitalId
|
|
16344
|
+
* @param {string} specialtyId
|
|
15555
16345
|
* @param {string} serviceId
|
|
15556
16346
|
* @param {string} [languageCode]
|
|
15557
16347
|
* @param {*} [options] Override http request option.
|
|
15558
16348
|
* @throws {RequiredError}
|
|
15559
16349
|
*/
|
|
15560
|
-
|
|
15561
|
-
return localVarFp.
|
|
16350
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet: function (hospitalId, specialtyId, serviceId, languageCode, options) {
|
|
16351
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
15562
16352
|
},
|
|
15563
16353
|
/**
|
|
15564
16354
|
*
|
|
15565
|
-
* @summary
|
|
16355
|
+
* @summary Get all HospitalServiceMedias.
|
|
15566
16356
|
* @param {string} hospitalId
|
|
16357
|
+
* @param {string} specialtyId
|
|
15567
16358
|
* @param {string} serviceId
|
|
15568
|
-
* @param {
|
|
16359
|
+
* @param {string} [id]
|
|
16360
|
+
* @param {MediaType} [mediaType]
|
|
16361
|
+
* @param {number} [page]
|
|
16362
|
+
* @param {number} [limit]
|
|
16363
|
+
* @param {Date} [lastRetrieved]
|
|
15569
16364
|
* @param {*} [options] Override http request option.
|
|
15570
16365
|
* @throws {RequiredError}
|
|
15571
16366
|
*/
|
|
15572
|
-
|
|
15573
|
-
return localVarFp.
|
|
16367
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet: function (hospitalId, specialtyId, serviceId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
16368
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet(hospitalId, specialtyId, serviceId, id, mediaType, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
15574
16369
|
},
|
|
15575
16370
|
/**
|
|
15576
16371
|
*
|
|
15577
|
-
* @summary
|
|
16372
|
+
* @summary Delete HospitalServiceMedia
|
|
15578
16373
|
* @param {string} hospitalId
|
|
15579
|
-
* @param {string}
|
|
15580
|
-
* @param {string}
|
|
15581
|
-
* @param {string}
|
|
15582
|
-
* @param {string} [specialtyName]
|
|
15583
|
-
* @param {string} [specialtyTypeId]
|
|
15584
|
-
* @param {MarketingType} [marketingType]
|
|
15585
|
-
* @param {Date} [created]
|
|
15586
|
-
* @param {number} [page]
|
|
15587
|
-
* @param {number} [limit]
|
|
15588
|
-
* @param {Date} [lastRetrieved]
|
|
16374
|
+
* @param {string} specialtyId
|
|
16375
|
+
* @param {string} serviceId
|
|
16376
|
+
* @param {string} mediaId
|
|
15589
16377
|
* @param {*} [options] Override http request option.
|
|
15590
16378
|
* @throws {RequiredError}
|
|
15591
16379
|
*/
|
|
15592
|
-
|
|
15593
|
-
return localVarFp.
|
|
16380
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete: function (hospitalId, specialtyId, serviceId, mediaId, options) {
|
|
16381
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete(hospitalId, specialtyId, serviceId, mediaId, options).then(function (request) { return request(axios, basePath); });
|
|
15594
16382
|
},
|
|
15595
16383
|
/**
|
|
15596
16384
|
*
|
|
15597
|
-
* @summary
|
|
16385
|
+
* @summary Get HospitalServiceMedia.
|
|
15598
16386
|
* @param {string} hospitalId
|
|
15599
|
-
* @param {
|
|
16387
|
+
* @param {string} specialtyId
|
|
16388
|
+
* @param {string} serviceId
|
|
16389
|
+
* @param {string} mediaId
|
|
15600
16390
|
* @param {*} [options] Override http request option.
|
|
15601
16391
|
* @throws {RequiredError}
|
|
15602
16392
|
*/
|
|
15603
|
-
|
|
15604
|
-
return localVarFp.
|
|
16393
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet: function (hospitalId, specialtyId, serviceId, mediaId, options) {
|
|
16394
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet(hospitalId, specialtyId, serviceId, mediaId, options).then(function (request) { return request(axios, basePath); });
|
|
15605
16395
|
},
|
|
15606
16396
|
/**
|
|
15607
16397
|
*
|
|
15608
|
-
* @summary
|
|
16398
|
+
* @summary Update HospitalServiceMedia.
|
|
15609
16399
|
* @param {string} hospitalId
|
|
15610
16400
|
* @param {string} specialtyId
|
|
16401
|
+
* @param {string} serviceId
|
|
16402
|
+
* @param {string} mediaId
|
|
16403
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
15611
16404
|
* @param {*} [options] Override http request option.
|
|
15612
16405
|
* @throws {RequiredError}
|
|
15613
16406
|
*/
|
|
15614
|
-
|
|
15615
|
-
return localVarFp.
|
|
16407
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut: function (hospitalId, specialtyId, serviceId, mediaId, updateMediaCommand, options) {
|
|
16408
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut(hospitalId, specialtyId, serviceId, mediaId, updateMediaCommand, options).then(function (request) { return request(axios, basePath); });
|
|
15616
16409
|
},
|
|
15617
16410
|
/**
|
|
15618
16411
|
*
|
|
15619
|
-
* @summary
|
|
16412
|
+
* @summary Create HospitalServiceMedia.
|
|
15620
16413
|
* @param {string} hospitalId
|
|
15621
16414
|
* @param {string} specialtyId
|
|
16415
|
+
* @param {string} serviceId
|
|
16416
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
15622
16417
|
* @param {*} [options] Override http request option.
|
|
15623
16418
|
* @throws {RequiredError}
|
|
15624
16419
|
*/
|
|
15625
|
-
|
|
15626
|
-
return localVarFp.
|
|
16420
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost: function (hospitalId, specialtyId, serviceId, createMediaCommand, options) {
|
|
16421
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost(hospitalId, specialtyId, serviceId, createMediaCommand, options).then(function (request) { return request(axios, basePath); });
|
|
15627
16422
|
},
|
|
15628
16423
|
/**
|
|
15629
16424
|
*
|
|
15630
|
-
* @summary Update
|
|
16425
|
+
* @summary Update HospitalService.
|
|
15631
16426
|
* @param {string} hospitalId
|
|
15632
16427
|
* @param {string} specialtyId
|
|
15633
|
-
* @param {
|
|
16428
|
+
* @param {string} serviceId
|
|
16429
|
+
* @param {UpdateHospitalServiceCommand} [updateHospitalServiceCommand]
|
|
15634
16430
|
* @param {*} [options] Override http request option.
|
|
15635
16431
|
* @throws {RequiredError}
|
|
15636
16432
|
*/
|
|
15637
|
-
|
|
15638
|
-
return localVarFp.
|
|
16433
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut: function (hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options) {
|
|
16434
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options).then(function (request) { return request(axios, basePath); });
|
|
15639
16435
|
},
|
|
15640
16436
|
/**
|
|
15641
16437
|
*
|
|
@@ -15999,88 +16795,165 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
15999
16795
|
* @throws {RequiredError}
|
|
16000
16796
|
* @memberof HospitalsApi
|
|
16001
16797
|
*/
|
|
16002
|
-
HospitalsApi.prototype.apiV1HospitalsHospitalIdMediasGet = function (hospitalId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
16798
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdMediasGet = function (hospitalId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
16799
|
+
var _this = this;
|
|
16800
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdMediasGet(hospitalId, id, mediaType, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16801
|
+
};
|
|
16802
|
+
/**
|
|
16803
|
+
*
|
|
16804
|
+
* @summary Delete HospitalMedia
|
|
16805
|
+
* @param {string} hospitalId
|
|
16806
|
+
* @param {string} mediaId
|
|
16807
|
+
* @param {*} [options] Override http request option.
|
|
16808
|
+
* @throws {RequiredError}
|
|
16809
|
+
* @memberof HospitalsApi
|
|
16810
|
+
*/
|
|
16811
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdMediasMediaIdDelete = function (hospitalId, mediaId, options) {
|
|
16812
|
+
var _this = this;
|
|
16813
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdMediasMediaIdDelete(hospitalId, mediaId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16814
|
+
};
|
|
16815
|
+
/**
|
|
16816
|
+
*
|
|
16817
|
+
* @summary Get HospitalMedia.
|
|
16818
|
+
* @param {string} hospitalId
|
|
16819
|
+
* @param {string} mediaId
|
|
16820
|
+
* @param {*} [options] Override http request option.
|
|
16821
|
+
* @throws {RequiredError}
|
|
16822
|
+
* @memberof HospitalsApi
|
|
16823
|
+
*/
|
|
16824
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdMediasMediaIdGet = function (hospitalId, mediaId, options) {
|
|
16825
|
+
var _this = this;
|
|
16826
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdMediasMediaIdGet(hospitalId, mediaId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16827
|
+
};
|
|
16828
|
+
/**
|
|
16829
|
+
*
|
|
16830
|
+
* @summary Update HospitalMedia.
|
|
16831
|
+
* @param {string} hospitalId
|
|
16832
|
+
* @param {string} mediaId
|
|
16833
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
16834
|
+
* @param {*} [options] Override http request option.
|
|
16835
|
+
* @throws {RequiredError}
|
|
16836
|
+
* @memberof HospitalsApi
|
|
16837
|
+
*/
|
|
16838
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdMediasMediaIdPut = function (hospitalId, mediaId, updateMediaCommand, options) {
|
|
16839
|
+
var _this = this;
|
|
16840
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdMediasMediaIdPut(hospitalId, mediaId, updateMediaCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16841
|
+
};
|
|
16842
|
+
/**
|
|
16843
|
+
*
|
|
16844
|
+
* @summary Create HospitalMedia.
|
|
16845
|
+
* @param {string} hospitalId
|
|
16846
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
16847
|
+
* @param {*} [options] Override http request option.
|
|
16848
|
+
* @throws {RequiredError}
|
|
16849
|
+
* @memberof HospitalsApi
|
|
16850
|
+
*/
|
|
16851
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdMediasPost = function (hospitalId, createMediaCommand, options) {
|
|
16852
|
+
var _this = this;
|
|
16853
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdMediasPost(hospitalId, createMediaCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16854
|
+
};
|
|
16855
|
+
/**
|
|
16856
|
+
*
|
|
16857
|
+
* @summary Update Hospital.
|
|
16858
|
+
* @param {string} hospitalId
|
|
16859
|
+
* @param {UpdateHospitalCommand} [updateHospitalCommand]
|
|
16860
|
+
* @param {*} [options] Override http request option.
|
|
16861
|
+
* @throws {RequiredError}
|
|
16862
|
+
* @memberof HospitalsApi
|
|
16863
|
+
*/
|
|
16864
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdPut = function (hospitalId, updateHospitalCommand, options) {
|
|
16003
16865
|
var _this = this;
|
|
16004
|
-
return exports.HospitalsApiFp(this.configuration).
|
|
16866
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdPut(hospitalId, updateHospitalCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16005
16867
|
};
|
|
16006
16868
|
/**
|
|
16007
16869
|
*
|
|
16008
|
-
* @summary
|
|
16870
|
+
* @summary Get all HospitalSpecialties.
|
|
16009
16871
|
* @param {string} hospitalId
|
|
16010
|
-
* @param {string}
|
|
16872
|
+
* @param {string} [hospitalName]
|
|
16873
|
+
* @param {string} [hospitalSlug]
|
|
16874
|
+
* @param {string} [specialtyId]
|
|
16875
|
+
* @param {string} [specialtyName]
|
|
16876
|
+
* @param {string} [specialtyTypeId]
|
|
16877
|
+
* @param {MarketingType} [marketingType]
|
|
16878
|
+
* @param {Date} [created]
|
|
16879
|
+
* @param {number} [page]
|
|
16880
|
+
* @param {number} [limit]
|
|
16881
|
+
* @param {Date} [lastRetrieved]
|
|
16011
16882
|
* @param {*} [options] Override http request option.
|
|
16012
16883
|
* @throws {RequiredError}
|
|
16013
16884
|
* @memberof HospitalsApi
|
|
16014
16885
|
*/
|
|
16015
|
-
HospitalsApi.prototype.
|
|
16886
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesGet = function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType, created, page, limit, lastRetrieved, options) {
|
|
16016
16887
|
var _this = this;
|
|
16017
|
-
return exports.HospitalsApiFp(this.configuration).
|
|
16888
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType, created, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16018
16889
|
};
|
|
16019
16890
|
/**
|
|
16020
16891
|
*
|
|
16021
|
-
* @summary
|
|
16892
|
+
* @summary Create HospitalSpecialty.
|
|
16022
16893
|
* @param {string} hospitalId
|
|
16023
|
-
* @param {
|
|
16894
|
+
* @param {CreateHospitalSpecialtyCommand} [createHospitalSpecialtyCommand]
|
|
16024
16895
|
* @param {*} [options] Override http request option.
|
|
16025
16896
|
* @throws {RequiredError}
|
|
16026
16897
|
* @memberof HospitalsApi
|
|
16027
16898
|
*/
|
|
16028
|
-
HospitalsApi.prototype.
|
|
16899
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesPost = function (hospitalId, createHospitalSpecialtyCommand, options) {
|
|
16029
16900
|
var _this = this;
|
|
16030
|
-
return exports.HospitalsApiFp(this.configuration).
|
|
16901
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesPost(hospitalId, createHospitalSpecialtyCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16031
16902
|
};
|
|
16032
16903
|
/**
|
|
16033
16904
|
*
|
|
16034
|
-
* @summary
|
|
16905
|
+
* @summary Delete HospitalSpecialty.
|
|
16035
16906
|
* @param {string} hospitalId
|
|
16036
|
-
* @param {string}
|
|
16037
|
-
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
16907
|
+
* @param {string} specialtyId
|
|
16038
16908
|
* @param {*} [options] Override http request option.
|
|
16039
16909
|
* @throws {RequiredError}
|
|
16040
16910
|
* @memberof HospitalsApi
|
|
16041
16911
|
*/
|
|
16042
|
-
HospitalsApi.prototype.
|
|
16912
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete = function (hospitalId, specialtyId, options) {
|
|
16043
16913
|
var _this = this;
|
|
16044
|
-
return exports.HospitalsApiFp(this.configuration).
|
|
16914
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete(hospitalId, specialtyId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16045
16915
|
};
|
|
16046
16916
|
/**
|
|
16047
16917
|
*
|
|
16048
|
-
* @summary
|
|
16918
|
+
* @summary Get HospitalSpecialty.
|
|
16049
16919
|
* @param {string} hospitalId
|
|
16050
|
-
* @param {
|
|
16920
|
+
* @param {string} specialtyId
|
|
16051
16921
|
* @param {*} [options] Override http request option.
|
|
16052
16922
|
* @throws {RequiredError}
|
|
16053
16923
|
* @memberof HospitalsApi
|
|
16054
16924
|
*/
|
|
16055
|
-
HospitalsApi.prototype.
|
|
16925
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet = function (hospitalId, specialtyId, options) {
|
|
16056
16926
|
var _this = this;
|
|
16057
|
-
return exports.HospitalsApiFp(this.configuration).
|
|
16927
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16058
16928
|
};
|
|
16059
16929
|
/**
|
|
16060
16930
|
*
|
|
16061
|
-
* @summary Update
|
|
16931
|
+
* @summary Update HospitalSpecialty.
|
|
16062
16932
|
* @param {string} hospitalId
|
|
16063
|
-
* @param {
|
|
16933
|
+
* @param {string} specialtyId
|
|
16934
|
+
* @param {UpdateHospitalSpecialtyCommand} [updateHospitalSpecialtyCommand]
|
|
16064
16935
|
* @param {*} [options] Override http request option.
|
|
16065
16936
|
* @throws {RequiredError}
|
|
16066
16937
|
* @memberof HospitalsApi
|
|
16067
16938
|
*/
|
|
16068
|
-
HospitalsApi.prototype.
|
|
16939
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut = function (hospitalId, specialtyId, updateHospitalSpecialtyCommand, options) {
|
|
16069
16940
|
var _this = this;
|
|
16070
|
-
return exports.HospitalsApiFp(this.configuration).
|
|
16941
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut(hospitalId, specialtyId, updateHospitalSpecialtyCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16071
16942
|
};
|
|
16072
16943
|
/**
|
|
16073
16944
|
*
|
|
16074
16945
|
* @summary Get all HospitalServices.
|
|
16075
16946
|
* @param {string} hospitalId
|
|
16947
|
+
* @param {string} specialtyId
|
|
16076
16948
|
* @param {string} [hospitalName]
|
|
16077
16949
|
* @param {string} [hospitalSlug]
|
|
16078
16950
|
* @param {string} [id]
|
|
16079
16951
|
* @param {string} [name]
|
|
16080
16952
|
* @param {string} [description]
|
|
16081
|
-
* @param {string} [
|
|
16953
|
+
* @param {string} [specialtyName]
|
|
16082
16954
|
* @param {string} [specialtyTypeId]
|
|
16083
16955
|
* @param {string} [specialtyTypeName]
|
|
16956
|
+
* @param {string} [serviceCategoryId]
|
|
16084
16957
|
* @param {MarketingType} [marketingType]
|
|
16085
16958
|
* @param {Procedure} [procedure]
|
|
16086
16959
|
* @param {Date} [created]
|
|
@@ -16092,138 +16965,147 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
16092
16965
|
* @throws {RequiredError}
|
|
16093
16966
|
* @memberof HospitalsApi
|
|
16094
16967
|
*/
|
|
16095
|
-
HospitalsApi.prototype.
|
|
16968
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet = function (hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options) {
|
|
16096
16969
|
var _this = this;
|
|
16097
|
-
return exports.HospitalsApiFp(this.configuration).
|
|
16970
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16098
16971
|
};
|
|
16099
16972
|
/**
|
|
16100
16973
|
*
|
|
16101
16974
|
* @summary Create HospitalService.
|
|
16102
16975
|
* @param {string} hospitalId
|
|
16976
|
+
* @param {string} specialtyId
|
|
16103
16977
|
* @param {CreateHospitalServiceCommand} [createHospitalServiceCommand]
|
|
16104
16978
|
* @param {*} [options] Override http request option.
|
|
16105
16979
|
* @throws {RequiredError}
|
|
16106
16980
|
* @memberof HospitalsApi
|
|
16107
16981
|
*/
|
|
16108
|
-
HospitalsApi.prototype.
|
|
16982
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost = function (hospitalId, specialtyId, createHospitalServiceCommand, options) {
|
|
16109
16983
|
var _this = this;
|
|
16110
|
-
return exports.HospitalsApiFp(this.configuration).
|
|
16984
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost(hospitalId, specialtyId, createHospitalServiceCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16111
16985
|
};
|
|
16112
16986
|
/**
|
|
16113
16987
|
*
|
|
16114
16988
|
* @summary Delete HospitalService
|
|
16115
16989
|
* @param {string} hospitalId
|
|
16990
|
+
* @param {string} specialtyId
|
|
16116
16991
|
* @param {string} serviceId
|
|
16117
16992
|
* @param {*} [options] Override http request option.
|
|
16118
16993
|
* @throws {RequiredError}
|
|
16119
16994
|
* @memberof HospitalsApi
|
|
16120
16995
|
*/
|
|
16121
|
-
HospitalsApi.prototype.
|
|
16996
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete = function (hospitalId, specialtyId, serviceId, options) {
|
|
16122
16997
|
var _this = this;
|
|
16123
|
-
return exports.HospitalsApiFp(this.configuration).
|
|
16998
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete(hospitalId, specialtyId, serviceId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16124
16999
|
};
|
|
16125
17000
|
/**
|
|
16126
17001
|
*
|
|
16127
17002
|
* @summary Get HospitalService.
|
|
16128
17003
|
* @param {string} hospitalId
|
|
17004
|
+
* @param {string} specialtyId
|
|
16129
17005
|
* @param {string} serviceId
|
|
16130
17006
|
* @param {string} [languageCode]
|
|
16131
17007
|
* @param {*} [options] Override http request option.
|
|
16132
17008
|
* @throws {RequiredError}
|
|
16133
17009
|
* @memberof HospitalsApi
|
|
16134
17010
|
*/
|
|
16135
|
-
HospitalsApi.prototype.
|
|
17011
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet = function (hospitalId, specialtyId, serviceId, languageCode, options) {
|
|
16136
17012
|
var _this = this;
|
|
16137
|
-
return exports.HospitalsApiFp(this.configuration).
|
|
17013
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16138
17014
|
};
|
|
16139
17015
|
/**
|
|
16140
17016
|
*
|
|
16141
|
-
* @summary
|
|
17017
|
+
* @summary Get all HospitalServiceMedias.
|
|
16142
17018
|
* @param {string} hospitalId
|
|
17019
|
+
* @param {string} specialtyId
|
|
16143
17020
|
* @param {string} serviceId
|
|
16144
|
-
* @param {
|
|
17021
|
+
* @param {string} [id]
|
|
17022
|
+
* @param {MediaType} [mediaType]
|
|
17023
|
+
* @param {number} [page]
|
|
17024
|
+
* @param {number} [limit]
|
|
17025
|
+
* @param {Date} [lastRetrieved]
|
|
16145
17026
|
* @param {*} [options] Override http request option.
|
|
16146
17027
|
* @throws {RequiredError}
|
|
16147
17028
|
* @memberof HospitalsApi
|
|
16148
17029
|
*/
|
|
16149
|
-
HospitalsApi.prototype.
|
|
17030
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet = function (hospitalId, specialtyId, serviceId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
16150
17031
|
var _this = this;
|
|
16151
|
-
return exports.HospitalsApiFp(this.configuration).
|
|
17032
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet(hospitalId, specialtyId, serviceId, id, mediaType, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16152
17033
|
};
|
|
16153
17034
|
/**
|
|
16154
17035
|
*
|
|
16155
|
-
* @summary
|
|
17036
|
+
* @summary Delete HospitalServiceMedia
|
|
16156
17037
|
* @param {string} hospitalId
|
|
16157
|
-
* @param {string}
|
|
16158
|
-
* @param {string}
|
|
16159
|
-
* @param {string}
|
|
16160
|
-
* @param {string} [specialtyName]
|
|
16161
|
-
* @param {string} [specialtyTypeId]
|
|
16162
|
-
* @param {MarketingType} [marketingType]
|
|
16163
|
-
* @param {Date} [created]
|
|
16164
|
-
* @param {number} [page]
|
|
16165
|
-
* @param {number} [limit]
|
|
16166
|
-
* @param {Date} [lastRetrieved]
|
|
17038
|
+
* @param {string} specialtyId
|
|
17039
|
+
* @param {string} serviceId
|
|
17040
|
+
* @param {string} mediaId
|
|
16167
17041
|
* @param {*} [options] Override http request option.
|
|
16168
17042
|
* @throws {RequiredError}
|
|
16169
17043
|
* @memberof HospitalsApi
|
|
16170
17044
|
*/
|
|
16171
|
-
HospitalsApi.prototype.
|
|
17045
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete = function (hospitalId, specialtyId, serviceId, mediaId, options) {
|
|
16172
17046
|
var _this = this;
|
|
16173
|
-
return exports.HospitalsApiFp(this.configuration).
|
|
17047
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete(hospitalId, specialtyId, serviceId, mediaId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16174
17048
|
};
|
|
16175
17049
|
/**
|
|
16176
17050
|
*
|
|
16177
|
-
* @summary
|
|
17051
|
+
* @summary Get HospitalServiceMedia.
|
|
16178
17052
|
* @param {string} hospitalId
|
|
16179
|
-
* @param {
|
|
17053
|
+
* @param {string} specialtyId
|
|
17054
|
+
* @param {string} serviceId
|
|
17055
|
+
* @param {string} mediaId
|
|
16180
17056
|
* @param {*} [options] Override http request option.
|
|
16181
17057
|
* @throws {RequiredError}
|
|
16182
17058
|
* @memberof HospitalsApi
|
|
16183
17059
|
*/
|
|
16184
|
-
HospitalsApi.prototype.
|
|
17060
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet = function (hospitalId, specialtyId, serviceId, mediaId, options) {
|
|
16185
17061
|
var _this = this;
|
|
16186
|
-
return exports.HospitalsApiFp(this.configuration).
|
|
17062
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet(hospitalId, specialtyId, serviceId, mediaId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16187
17063
|
};
|
|
16188
17064
|
/**
|
|
16189
17065
|
*
|
|
16190
|
-
* @summary
|
|
17066
|
+
* @summary Update HospitalServiceMedia.
|
|
16191
17067
|
* @param {string} hospitalId
|
|
16192
17068
|
* @param {string} specialtyId
|
|
17069
|
+
* @param {string} serviceId
|
|
17070
|
+
* @param {string} mediaId
|
|
17071
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
16193
17072
|
* @param {*} [options] Override http request option.
|
|
16194
17073
|
* @throws {RequiredError}
|
|
16195
17074
|
* @memberof HospitalsApi
|
|
16196
17075
|
*/
|
|
16197
|
-
HospitalsApi.prototype.
|
|
17076
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut = function (hospitalId, specialtyId, serviceId, mediaId, updateMediaCommand, options) {
|
|
16198
17077
|
var _this = this;
|
|
16199
|
-
return exports.HospitalsApiFp(this.configuration).
|
|
17078
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut(hospitalId, specialtyId, serviceId, mediaId, updateMediaCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16200
17079
|
};
|
|
16201
17080
|
/**
|
|
16202
17081
|
*
|
|
16203
|
-
* @summary
|
|
17082
|
+
* @summary Create HospitalServiceMedia.
|
|
16204
17083
|
* @param {string} hospitalId
|
|
16205
17084
|
* @param {string} specialtyId
|
|
17085
|
+
* @param {string} serviceId
|
|
17086
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
16206
17087
|
* @param {*} [options] Override http request option.
|
|
16207
17088
|
* @throws {RequiredError}
|
|
16208
17089
|
* @memberof HospitalsApi
|
|
16209
17090
|
*/
|
|
16210
|
-
HospitalsApi.prototype.
|
|
17091
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost = function (hospitalId, specialtyId, serviceId, createMediaCommand, options) {
|
|
16211
17092
|
var _this = this;
|
|
16212
|
-
return exports.HospitalsApiFp(this.configuration).
|
|
17093
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost(hospitalId, specialtyId, serviceId, createMediaCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16213
17094
|
};
|
|
16214
17095
|
/**
|
|
16215
17096
|
*
|
|
16216
|
-
* @summary Update
|
|
17097
|
+
* @summary Update HospitalService.
|
|
16217
17098
|
* @param {string} hospitalId
|
|
16218
17099
|
* @param {string} specialtyId
|
|
16219
|
-
* @param {
|
|
17100
|
+
* @param {string} serviceId
|
|
17101
|
+
* @param {UpdateHospitalServiceCommand} [updateHospitalServiceCommand]
|
|
16220
17102
|
* @param {*} [options] Override http request option.
|
|
16221
17103
|
* @throws {RequiredError}
|
|
16222
17104
|
* @memberof HospitalsApi
|
|
16223
17105
|
*/
|
|
16224
|
-
HospitalsApi.prototype.
|
|
17106
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut = function (hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options) {
|
|
16225
17107
|
var _this = this;
|
|
16226
|
-
return exports.HospitalsApiFp(this.configuration).
|
|
17108
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16227
17109
|
};
|
|
16228
17110
|
/**
|
|
16229
17111
|
*
|
|
@@ -16956,17 +17838,19 @@ exports.ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
16956
17838
|
var _this = this;
|
|
16957
17839
|
return {
|
|
16958
17840
|
/**
|
|
16959
|
-
*
|
|
16960
|
-
* @summary Get all
|
|
16961
|
-
* @param {string} [id]
|
|
16962
|
-
* @param {string} [name]
|
|
16963
|
-
* @param {string} [description]
|
|
17841
|
+
*
|
|
17842
|
+
* @summary Get all HospitalServices.
|
|
16964
17843
|
* @param {string} [hospitalId]
|
|
16965
17844
|
* @param {string} [hospitalName]
|
|
16966
17845
|
* @param {string} [hospitalSlug]
|
|
17846
|
+
* @param {string} [id]
|
|
17847
|
+
* @param {string} [name]
|
|
17848
|
+
* @param {string} [description]
|
|
16967
17849
|
* @param {string} [specialtyId]
|
|
17850
|
+
* @param {string} [specialtyName]
|
|
16968
17851
|
* @param {string} [specialtyTypeId]
|
|
16969
17852
|
* @param {string} [specialtyTypeName]
|
|
17853
|
+
* @param {string} [serviceCategoryId]
|
|
16970
17854
|
* @param {MarketingType} [marketingType]
|
|
16971
17855
|
* @param {Procedure} [procedure]
|
|
16972
17856
|
* @param {Date} [created]
|
|
@@ -16977,7 +17861,7 @@ exports.ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
16977
17861
|
* @param {*} [options] Override http request option.
|
|
16978
17862
|
* @throws {RequiredError}
|
|
16979
17863
|
*/
|
|
16980
|
-
apiV1ServicesGet: function (
|
|
17864
|
+
apiV1ServicesGet: function (hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options) {
|
|
16981
17865
|
if (options === void 0) { options = {}; }
|
|
16982
17866
|
return __awaiter(_this, void 0, void 0, function () {
|
|
16983
17867
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -16999,15 +17883,6 @@ exports.ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
16999
17883
|
// authentication oauth2 required
|
|
17000
17884
|
// oauth required
|
|
17001
17885
|
_a.sent();
|
|
17002
|
-
if (id !== undefined) {
|
|
17003
|
-
localVarQueryParameter['Id'] = id;
|
|
17004
|
-
}
|
|
17005
|
-
if (name !== undefined) {
|
|
17006
|
-
localVarQueryParameter['Name'] = name;
|
|
17007
|
-
}
|
|
17008
|
-
if (description !== undefined) {
|
|
17009
|
-
localVarQueryParameter['Description'] = description;
|
|
17010
|
-
}
|
|
17011
17886
|
if (hospitalId !== undefined) {
|
|
17012
17887
|
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
17013
17888
|
}
|
|
@@ -17017,15 +17892,30 @@ exports.ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
17017
17892
|
if (hospitalSlug !== undefined) {
|
|
17018
17893
|
localVarQueryParameter['HospitalSlug'] = hospitalSlug;
|
|
17019
17894
|
}
|
|
17895
|
+
if (id !== undefined) {
|
|
17896
|
+
localVarQueryParameter['Id'] = id;
|
|
17897
|
+
}
|
|
17898
|
+
if (name !== undefined) {
|
|
17899
|
+
localVarQueryParameter['Name'] = name;
|
|
17900
|
+
}
|
|
17901
|
+
if (description !== undefined) {
|
|
17902
|
+
localVarQueryParameter['Description'] = description;
|
|
17903
|
+
}
|
|
17020
17904
|
if (specialtyId !== undefined) {
|
|
17021
17905
|
localVarQueryParameter['SpecialtyId'] = specialtyId;
|
|
17022
17906
|
}
|
|
17907
|
+
if (specialtyName !== undefined) {
|
|
17908
|
+
localVarQueryParameter['SpecialtyName'] = specialtyName;
|
|
17909
|
+
}
|
|
17023
17910
|
if (specialtyTypeId !== undefined) {
|
|
17024
17911
|
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
17025
17912
|
}
|
|
17026
17913
|
if (specialtyTypeName !== undefined) {
|
|
17027
17914
|
localVarQueryParameter['SpecialtyTypeName'] = specialtyTypeName;
|
|
17028
17915
|
}
|
|
17916
|
+
if (serviceCategoryId !== undefined) {
|
|
17917
|
+
localVarQueryParameter['ServiceCategoryId'] = serviceCategoryId;
|
|
17918
|
+
}
|
|
17029
17919
|
if (marketingType !== undefined) {
|
|
17030
17920
|
localVarQueryParameter['MarketingType'] = marketingType;
|
|
17031
17921
|
}
|
|
@@ -17064,7 +17954,54 @@ exports.ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
17064
17954
|
},
|
|
17065
17955
|
/**
|
|
17066
17956
|
*
|
|
17067
|
-
* @summary Get
|
|
17957
|
+
* @summary Get HospitalService.
|
|
17958
|
+
* @param {string} serviceId
|
|
17959
|
+
* @param {string} [languageCode]
|
|
17960
|
+
* @param {*} [options] Override http request option.
|
|
17961
|
+
* @throws {RequiredError}
|
|
17962
|
+
*/
|
|
17963
|
+
apiV1ServicesServiceIdGet: function (serviceId, languageCode, options) {
|
|
17964
|
+
if (options === void 0) { options = {}; }
|
|
17965
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
17966
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
17967
|
+
return __generator(this, function (_a) {
|
|
17968
|
+
switch (_a.label) {
|
|
17969
|
+
case 0:
|
|
17970
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
17971
|
+
common_1.assertParamExists('apiV1ServicesServiceIdGet', 'serviceId', serviceId);
|
|
17972
|
+
localVarPath = "/api/v1/services/{serviceId}"
|
|
17973
|
+
.replace("{" + "serviceId" + "}", encodeURIComponent(String(serviceId)));
|
|
17974
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17975
|
+
if (configuration) {
|
|
17976
|
+
baseOptions = configuration.baseOptions;
|
|
17977
|
+
}
|
|
17978
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
17979
|
+
localVarHeaderParameter = {};
|
|
17980
|
+
localVarQueryParameter = {};
|
|
17981
|
+
// authentication oauth2 required
|
|
17982
|
+
// oauth required
|
|
17983
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
17984
|
+
case 1:
|
|
17985
|
+
// authentication oauth2 required
|
|
17986
|
+
// oauth required
|
|
17987
|
+
_a.sent();
|
|
17988
|
+
if (languageCode !== undefined) {
|
|
17989
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
17990
|
+
}
|
|
17991
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17992
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17993
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
17994
|
+
return [2 /*return*/, {
|
|
17995
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
17996
|
+
options: localVarRequestOptions,
|
|
17997
|
+
}];
|
|
17998
|
+
}
|
|
17999
|
+
});
|
|
18000
|
+
});
|
|
18001
|
+
},
|
|
18002
|
+
/**
|
|
18003
|
+
*
|
|
18004
|
+
* @summary Get HospitalService by slug.
|
|
17068
18005
|
* @param {string} slug
|
|
17069
18006
|
* @param {string} [languageCode]
|
|
17070
18007
|
* @param {*} [options] Override http request option.
|
|
@@ -17119,17 +18056,19 @@ exports.ServicesApiFp = function (configuration) {
|
|
|
17119
18056
|
var localVarAxiosParamCreator = exports.ServicesApiAxiosParamCreator(configuration);
|
|
17120
18057
|
return {
|
|
17121
18058
|
/**
|
|
17122
|
-
*
|
|
17123
|
-
* @summary Get all
|
|
17124
|
-
* @param {string} [id]
|
|
17125
|
-
* @param {string} [name]
|
|
17126
|
-
* @param {string} [description]
|
|
18059
|
+
*
|
|
18060
|
+
* @summary Get all HospitalServices.
|
|
17127
18061
|
* @param {string} [hospitalId]
|
|
17128
18062
|
* @param {string} [hospitalName]
|
|
17129
18063
|
* @param {string} [hospitalSlug]
|
|
18064
|
+
* @param {string} [id]
|
|
18065
|
+
* @param {string} [name]
|
|
18066
|
+
* @param {string} [description]
|
|
17130
18067
|
* @param {string} [specialtyId]
|
|
18068
|
+
* @param {string} [specialtyName]
|
|
17131
18069
|
* @param {string} [specialtyTypeId]
|
|
17132
18070
|
* @param {string} [specialtyTypeName]
|
|
18071
|
+
* @param {string} [serviceCategoryId]
|
|
17133
18072
|
* @param {MarketingType} [marketingType]
|
|
17134
18073
|
* @param {Procedure} [procedure]
|
|
17135
18074
|
* @param {Date} [created]
|
|
@@ -17140,12 +18079,33 @@ exports.ServicesApiFp = function (configuration) {
|
|
|
17140
18079
|
* @param {*} [options] Override http request option.
|
|
17141
18080
|
* @throws {RequiredError}
|
|
17142
18081
|
*/
|
|
17143
|
-
apiV1ServicesGet: function (
|
|
18082
|
+
apiV1ServicesGet: function (hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options) {
|
|
18083
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
18084
|
+
var localVarAxiosArgs;
|
|
18085
|
+
return __generator(this, function (_a) {
|
|
18086
|
+
switch (_a.label) {
|
|
18087
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicesGet(hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options)];
|
|
18088
|
+
case 1:
|
|
18089
|
+
localVarAxiosArgs = _a.sent();
|
|
18090
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
18091
|
+
}
|
|
18092
|
+
});
|
|
18093
|
+
});
|
|
18094
|
+
},
|
|
18095
|
+
/**
|
|
18096
|
+
*
|
|
18097
|
+
* @summary Get HospitalService.
|
|
18098
|
+
* @param {string} serviceId
|
|
18099
|
+
* @param {string} [languageCode]
|
|
18100
|
+
* @param {*} [options] Override http request option.
|
|
18101
|
+
* @throws {RequiredError}
|
|
18102
|
+
*/
|
|
18103
|
+
apiV1ServicesServiceIdGet: function (serviceId, languageCode, options) {
|
|
17144
18104
|
return __awaiter(this, void 0, void 0, function () {
|
|
17145
18105
|
var localVarAxiosArgs;
|
|
17146
18106
|
return __generator(this, function (_a) {
|
|
17147
18107
|
switch (_a.label) {
|
|
17148
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
18108
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicesServiceIdGet(serviceId, languageCode, options)];
|
|
17149
18109
|
case 1:
|
|
17150
18110
|
localVarAxiosArgs = _a.sent();
|
|
17151
18111
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -17155,7 +18115,7 @@ exports.ServicesApiFp = function (configuration) {
|
|
|
17155
18115
|
},
|
|
17156
18116
|
/**
|
|
17157
18117
|
*
|
|
17158
|
-
* @summary Get
|
|
18118
|
+
* @summary Get HospitalService by slug.
|
|
17159
18119
|
* @param {string} slug
|
|
17160
18120
|
* @param {string} [languageCode]
|
|
17161
18121
|
* @param {*} [options] Override http request option.
|
|
@@ -17184,17 +18144,19 @@ exports.ServicesApiFactory = function (configuration, basePath, axios) {
|
|
|
17184
18144
|
var localVarFp = exports.ServicesApiFp(configuration);
|
|
17185
18145
|
return {
|
|
17186
18146
|
/**
|
|
17187
|
-
*
|
|
17188
|
-
* @summary Get all
|
|
17189
|
-
* @param {string} [id]
|
|
17190
|
-
* @param {string} [name]
|
|
17191
|
-
* @param {string} [description]
|
|
18147
|
+
*
|
|
18148
|
+
* @summary Get all HospitalServices.
|
|
17192
18149
|
* @param {string} [hospitalId]
|
|
17193
18150
|
* @param {string} [hospitalName]
|
|
17194
18151
|
* @param {string} [hospitalSlug]
|
|
18152
|
+
* @param {string} [id]
|
|
18153
|
+
* @param {string} [name]
|
|
18154
|
+
* @param {string} [description]
|
|
17195
18155
|
* @param {string} [specialtyId]
|
|
18156
|
+
* @param {string} [specialtyName]
|
|
17196
18157
|
* @param {string} [specialtyTypeId]
|
|
17197
18158
|
* @param {string} [specialtyTypeName]
|
|
18159
|
+
* @param {string} [serviceCategoryId]
|
|
17198
18160
|
* @param {MarketingType} [marketingType]
|
|
17199
18161
|
* @param {Procedure} [procedure]
|
|
17200
18162
|
* @param {Date} [created]
|
|
@@ -17205,12 +18167,23 @@ exports.ServicesApiFactory = function (configuration, basePath, axios) {
|
|
|
17205
18167
|
* @param {*} [options] Override http request option.
|
|
17206
18168
|
* @throws {RequiredError}
|
|
17207
18169
|
*/
|
|
17208
|
-
apiV1ServicesGet: function (
|
|
17209
|
-
return localVarFp.apiV1ServicesGet(
|
|
18170
|
+
apiV1ServicesGet: function (hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options) {
|
|
18171
|
+
return localVarFp.apiV1ServicesGet(hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
18172
|
+
},
|
|
18173
|
+
/**
|
|
18174
|
+
*
|
|
18175
|
+
* @summary Get HospitalService.
|
|
18176
|
+
* @param {string} serviceId
|
|
18177
|
+
* @param {string} [languageCode]
|
|
18178
|
+
* @param {*} [options] Override http request option.
|
|
18179
|
+
* @throws {RequiredError}
|
|
18180
|
+
*/
|
|
18181
|
+
apiV1ServicesServiceIdGet: function (serviceId, languageCode, options) {
|
|
18182
|
+
return localVarFp.apiV1ServicesServiceIdGet(serviceId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
17210
18183
|
},
|
|
17211
18184
|
/**
|
|
17212
18185
|
*
|
|
17213
|
-
* @summary Get
|
|
18186
|
+
* @summary Get HospitalService by slug.
|
|
17214
18187
|
* @param {string} slug
|
|
17215
18188
|
* @param {string} [languageCode]
|
|
17216
18189
|
* @param {*} [options] Override http request option.
|
|
@@ -17233,17 +18206,19 @@ var ServicesApi = /** @class */ (function (_super) {
|
|
|
17233
18206
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
17234
18207
|
}
|
|
17235
18208
|
/**
|
|
17236
|
-
*
|
|
17237
|
-
* @summary Get all
|
|
17238
|
-
* @param {string} [id]
|
|
17239
|
-
* @param {string} [name]
|
|
17240
|
-
* @param {string} [description]
|
|
18209
|
+
*
|
|
18210
|
+
* @summary Get all HospitalServices.
|
|
17241
18211
|
* @param {string} [hospitalId]
|
|
17242
18212
|
* @param {string} [hospitalName]
|
|
17243
18213
|
* @param {string} [hospitalSlug]
|
|
18214
|
+
* @param {string} [id]
|
|
18215
|
+
* @param {string} [name]
|
|
18216
|
+
* @param {string} [description]
|
|
17244
18217
|
* @param {string} [specialtyId]
|
|
18218
|
+
* @param {string} [specialtyName]
|
|
17245
18219
|
* @param {string} [specialtyTypeId]
|
|
17246
18220
|
* @param {string} [specialtyTypeName]
|
|
18221
|
+
* @param {string} [serviceCategoryId]
|
|
17247
18222
|
* @param {MarketingType} [marketingType]
|
|
17248
18223
|
* @param {Procedure} [procedure]
|
|
17249
18224
|
* @param {Date} [created]
|
|
@@ -17255,13 +18230,26 @@ var ServicesApi = /** @class */ (function (_super) {
|
|
|
17255
18230
|
* @throws {RequiredError}
|
|
17256
18231
|
* @memberof ServicesApi
|
|
17257
18232
|
*/
|
|
17258
|
-
ServicesApi.prototype.apiV1ServicesGet = function (
|
|
18233
|
+
ServicesApi.prototype.apiV1ServicesGet = function (hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options) {
|
|
18234
|
+
var _this = this;
|
|
18235
|
+
return exports.ServicesApiFp(this.configuration).apiV1ServicesGet(hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
18236
|
+
};
|
|
18237
|
+
/**
|
|
18238
|
+
*
|
|
18239
|
+
* @summary Get HospitalService.
|
|
18240
|
+
* @param {string} serviceId
|
|
18241
|
+
* @param {string} [languageCode]
|
|
18242
|
+
* @param {*} [options] Override http request option.
|
|
18243
|
+
* @throws {RequiredError}
|
|
18244
|
+
* @memberof ServicesApi
|
|
18245
|
+
*/
|
|
18246
|
+
ServicesApi.prototype.apiV1ServicesServiceIdGet = function (serviceId, languageCode, options) {
|
|
17259
18247
|
var _this = this;
|
|
17260
|
-
return exports.ServicesApiFp(this.configuration).
|
|
18248
|
+
return exports.ServicesApiFp(this.configuration).apiV1ServicesServiceIdGet(serviceId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17261
18249
|
};
|
|
17262
18250
|
/**
|
|
17263
18251
|
*
|
|
17264
|
-
* @summary Get
|
|
18252
|
+
* @summary Get HospitalService by slug.
|
|
17265
18253
|
* @param {string} slug
|
|
17266
18254
|
* @param {string} [languageCode]
|
|
17267
18255
|
* @param {*} [options] Override http request option.
|