ch-admin-api-client-typescript 5.19.69 → 5.19.71
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/hospitals-api.d.ts +773 -6
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +1172 -69
- package/lib/models/create-hospital-rating-command.d.ts +61 -0
- package/lib/models/create-hospital-rating-command.d.ts.map +1 -0
- package/lib/models/create-hospital-rating-command.js +15 -0
- package/lib/models/create-page-command.d.ts +75 -0
- package/lib/models/create-page-command.d.ts.map +1 -0
- package/lib/models/create-page-command.js +15 -0
- package/lib/models/hospital-rating-item-model.d.ts +67 -0
- package/lib/models/hospital-rating-item-model.d.ts.map +1 -0
- package/lib/models/hospital-rating-item-model.js +15 -0
- package/lib/models/hospital-rating-model.d.ts +67 -0
- package/lib/models/hospital-rating-model.d.ts.map +1 -0
- package/lib/models/hospital-rating-model.js +15 -0
- package/lib/models/hospital-ratings-model.d.ts +33 -0
- package/lib/models/hospital-ratings-model.d.ts.map +1 -0
- package/lib/models/hospital-ratings-model.js +15 -0
- package/lib/models/index.d.ts +22 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +22 -0
- package/lib/models/page-block-input-model.d.ts +101 -0
- package/lib/models/page-block-input-model.d.ts.map +1 -0
- package/lib/models/page-block-input-model.js +15 -0
- package/lib/models/page-block-link-input-model.d.ts +56 -0
- package/lib/models/page-block-link-input-model.d.ts.map +1 -0
- package/lib/models/page-block-link-input-model.js +15 -0
- package/lib/models/page-block-link-model.d.ts +68 -0
- package/lib/models/page-block-link-model.d.ts.map +1 -0
- package/lib/models/page-block-link-model.js +15 -0
- package/lib/models/page-block-link-type.d.ts +22 -0
- package/lib/models/page-block-link-type.d.ts.map +1 -0
- package/lib/models/page-block-link-type.js +25 -0
- package/lib/models/page-block-location-input-model.d.ts +49 -0
- package/lib/models/page-block-location-input-model.d.ts.map +1 -0
- package/lib/models/page-block-location-input-model.js +15 -0
- package/lib/models/page-block-location-model.d.ts +49 -0
- package/lib/models/page-block-location-model.d.ts.map +1 -0
- package/lib/models/page-block-location-model.js +15 -0
- package/lib/models/page-block-model.d.ts +113 -0
- package/lib/models/page-block-model.d.ts.map +1 -0
- package/lib/models/page-block-model.js +15 -0
- package/lib/models/page-block-type.d.ts +29 -0
- package/lib/models/page-block-type.d.ts.map +1 -0
- package/lib/models/page-block-type.js +32 -0
- package/lib/models/page-item-item-model.d.ts +69 -0
- package/lib/models/page-item-item-model.d.ts.map +1 -0
- package/lib/models/page-item-item-model.js +15 -0
- package/lib/models/page-item-model.d.ts +100 -0
- package/lib/models/page-item-model.d.ts.map +1 -0
- package/lib/models/page-item-model.js +15 -0
- package/lib/models/page-item-status.d.ts +23 -0
- package/lib/models/page-item-status.d.ts.map +1 -0
- package/lib/models/page-item-status.js +26 -0
- package/lib/models/page-items-model.d.ts +33 -0
- package/lib/models/page-items-model.d.ts.map +1 -0
- package/lib/models/page-items-model.js +15 -0
- package/lib/models/page-section-input-model.d.ts +51 -0
- package/lib/models/page-section-input-model.d.ts.map +1 -0
- package/lib/models/page-section-input-model.js +15 -0
- package/lib/models/page-section-list-type.d.ts +23 -0
- package/lib/models/page-section-list-type.d.ts.map +1 -0
- package/lib/models/page-section-list-type.js +26 -0
- package/lib/models/page-section-model.d.ts +51 -0
- package/lib/models/page-section-model.d.ts.map +1 -0
- package/lib/models/page-section-model.js +15 -0
- package/lib/models/update-hospital-rating-command.d.ts +61 -0
- package/lib/models/update-hospital-rating-command.d.ts.map +1 -0
- package/lib/models/update-hospital-rating-command.js +15 -0
- package/lib/models/update-page-command.d.ts +75 -0
- package/lib/models/update-page-command.d.ts.map +1 -0
- package/lib/models/update-page-command.js +15 -0
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +22 -0
- package/src/api/hospitals-api.ts +1539 -201
- package/src/models/create-hospital-rating-command.ts +66 -0
- package/src/models/create-page-command.ts +84 -0
- package/src/models/hospital-rating-item-model.ts +72 -0
- package/src/models/hospital-rating-model.ts +72 -0
- package/src/models/hospital-ratings-model.ts +42 -0
- package/src/models/index.ts +22 -0
- package/src/models/page-block-input-model.ts +114 -0
- package/src/models/page-block-link-input-model.ts +63 -0
- package/src/models/page-block-link-model.ts +75 -0
- package/src/models/page-block-link-type.ts +31 -0
- package/src/models/page-block-location-input-model.ts +54 -0
- package/src/models/page-block-location-model.ts +54 -0
- package/src/models/page-block-model.ts +126 -0
- package/src/models/page-block-type.ts +38 -0
- package/src/models/page-item-item-model.ts +78 -0
- package/src/models/page-item-model.ts +111 -0
- package/src/models/page-item-status.ts +32 -0
- package/src/models/page-items-model.ts +42 -0
- package/src/models/page-section-input-model.ts +60 -0
- package/src/models/page-section-list-type.ts +32 -0
- package/src/models/page-section-model.ts +60 -0
- package/src/models/update-hospital-rating-command.ts +66 -0
- package/src/models/update-page-command.ts +84 -0
package/src/api/hospitals-api.ts
CHANGED
|
@@ -59,6 +59,8 @@ import { CreateHospitalLanguageCommand } from '../models';
|
|
|
59
59
|
// @ts-ignore
|
|
60
60
|
import { CreateHospitalPaymentMethodCommand } from '../models';
|
|
61
61
|
// @ts-ignore
|
|
62
|
+
import { CreateHospitalRatingCommand } from '../models';
|
|
63
|
+
// @ts-ignore
|
|
62
64
|
import { CreateHospitalServiceCommand } from '../models';
|
|
63
65
|
// @ts-ignore
|
|
64
66
|
import { CreateHospitalSnsHandleCommand } from '../models';
|
|
@@ -77,6 +79,8 @@ import { CreateMediaCommand } from '../models';
|
|
|
77
79
|
// @ts-ignore
|
|
78
80
|
import { CreateNoticeCommand } from '../models';
|
|
79
81
|
// @ts-ignore
|
|
82
|
+
import { CreatePageCommand } from '../models';
|
|
83
|
+
// @ts-ignore
|
|
80
84
|
import { CreatePolicyCommand } from '../models';
|
|
81
85
|
// @ts-ignore
|
|
82
86
|
import { DayOfWeek } from '../models';
|
|
@@ -115,6 +119,10 @@ import { HospitalPaymentMethodModel } from '../models';
|
|
|
115
119
|
// @ts-ignore
|
|
116
120
|
import { HospitalPaymentMethodsModel } from '../models';
|
|
117
121
|
// @ts-ignore
|
|
122
|
+
import { HospitalRatingModel } from '../models';
|
|
123
|
+
// @ts-ignore
|
|
124
|
+
import { HospitalRatingsModel } from '../models';
|
|
125
|
+
// @ts-ignore
|
|
118
126
|
import { HospitalServiceModel } from '../models';
|
|
119
127
|
// @ts-ignore
|
|
120
128
|
import { HospitalServicesModel } from '../models';
|
|
@@ -161,6 +169,12 @@ import { NoticeStatus } from '../models';
|
|
|
161
169
|
// @ts-ignore
|
|
162
170
|
import { NoticesModel } from '../models';
|
|
163
171
|
// @ts-ignore
|
|
172
|
+
import { PageItemModel } from '../models';
|
|
173
|
+
// @ts-ignore
|
|
174
|
+
import { PageItemStatus } from '../models';
|
|
175
|
+
// @ts-ignore
|
|
176
|
+
import { PageItemsModel } from '../models';
|
|
177
|
+
// @ts-ignore
|
|
164
178
|
import { PaymentMethod } from '../models';
|
|
165
179
|
// @ts-ignore
|
|
166
180
|
import { PoliciesModel } from '../models';
|
|
@@ -213,6 +227,8 @@ import { UpdateHospitalLanguageCommand } from '../models';
|
|
|
213
227
|
// @ts-ignore
|
|
214
228
|
import { UpdateHospitalPaymentMethodCommand } from '../models';
|
|
215
229
|
// @ts-ignore
|
|
230
|
+
import { UpdateHospitalRatingCommand } from '../models';
|
|
231
|
+
// @ts-ignore
|
|
216
232
|
import { UpdateHospitalServiceCommand } from '../models';
|
|
217
233
|
// @ts-ignore
|
|
218
234
|
import { UpdateHospitalSnsHandleCommand } from '../models';
|
|
@@ -229,6 +245,8 @@ import { UpdateMediaCommand } from '../models';
|
|
|
229
245
|
// @ts-ignore
|
|
230
246
|
import { UpdateNoticeCommand } from '../models';
|
|
231
247
|
// @ts-ignore
|
|
248
|
+
import { UpdatePageCommand } from '../models';
|
|
249
|
+
// @ts-ignore
|
|
232
250
|
import { UpdatePolicyCommand } from '../models';
|
|
233
251
|
// @ts-ignore
|
|
234
252
|
import { WorkingDayModel } from '../models';
|
|
@@ -4209,20 +4227,23 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
4209
4227
|
},
|
|
4210
4228
|
/**
|
|
4211
4229
|
*
|
|
4212
|
-
* @summary Get
|
|
4230
|
+
* @summary Get hospital pageItems
|
|
4213
4231
|
* @param {string} hospitalId
|
|
4214
|
-
* @param {PaymentMethod} [paymentMethod]
|
|
4215
4232
|
* @param {string} [id]
|
|
4233
|
+
* @param {string} [languageCode]
|
|
4234
|
+
* @param {string} [name]
|
|
4235
|
+
* @param {PageItemStatus} [status]
|
|
4236
|
+
* @param {boolean} [showHidden]
|
|
4216
4237
|
* @param {number} [page]
|
|
4217
4238
|
* @param {number} [limit]
|
|
4218
4239
|
* @param {Date} [lastRetrieved]
|
|
4219
4240
|
* @param {*} [options] Override http request option.
|
|
4220
4241
|
* @throws {RequiredError}
|
|
4221
4242
|
*/
|
|
4222
|
-
|
|
4243
|
+
apiV1HospitalsHospitalIdPagesGet: async (hospitalId: string, id?: string, languageCode?: string, name?: string, status?: PageItemStatus, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4223
4244
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
4224
|
-
assertParamExists('
|
|
4225
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/
|
|
4245
|
+
assertParamExists('apiV1HospitalsHospitalIdPagesGet', 'hospitalId', hospitalId)
|
|
4246
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/pages`
|
|
4226
4247
|
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
4227
4248
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4228
4249
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -4239,14 +4260,26 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
4239
4260
|
// oauth required
|
|
4240
4261
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
4241
4262
|
|
|
4242
|
-
if (paymentMethod !== undefined) {
|
|
4243
|
-
localVarQueryParameter['PaymentMethod'] = paymentMethod;
|
|
4244
|
-
}
|
|
4245
|
-
|
|
4246
4263
|
if (id !== undefined) {
|
|
4247
4264
|
localVarQueryParameter['Id'] = id;
|
|
4248
4265
|
}
|
|
4249
4266
|
|
|
4267
|
+
if (languageCode !== undefined) {
|
|
4268
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
4269
|
+
}
|
|
4270
|
+
|
|
4271
|
+
if (name !== undefined) {
|
|
4272
|
+
localVarQueryParameter['Name'] = name;
|
|
4273
|
+
}
|
|
4274
|
+
|
|
4275
|
+
if (status !== undefined) {
|
|
4276
|
+
localVarQueryParameter['Status'] = status;
|
|
4277
|
+
}
|
|
4278
|
+
|
|
4279
|
+
if (showHidden !== undefined) {
|
|
4280
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
4281
|
+
}
|
|
4282
|
+
|
|
4250
4283
|
if (page !== undefined) {
|
|
4251
4284
|
localVarQueryParameter['page'] = page;
|
|
4252
4285
|
}
|
|
@@ -4274,20 +4307,22 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
4274
4307
|
},
|
|
4275
4308
|
/**
|
|
4276
4309
|
*
|
|
4277
|
-
* @summary Delete
|
|
4310
|
+
* @summary Delete page
|
|
4278
4311
|
* @param {string} hospitalId
|
|
4279
|
-
* @param {string}
|
|
4312
|
+
* @param {string} pageItemId
|
|
4313
|
+
* @param {boolean} [isPermanent]
|
|
4314
|
+
* @param {string} [languageCode]
|
|
4280
4315
|
* @param {*} [options] Override http request option.
|
|
4281
4316
|
* @throws {RequiredError}
|
|
4282
4317
|
*/
|
|
4283
|
-
|
|
4318
|
+
apiV1HospitalsHospitalIdPagesPageItemIdDelete: async (hospitalId: string, pageItemId: string, isPermanent?: boolean, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4284
4319
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
4285
|
-
assertParamExists('
|
|
4286
|
-
// verify required parameter '
|
|
4287
|
-
assertParamExists('
|
|
4288
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/
|
|
4320
|
+
assertParamExists('apiV1HospitalsHospitalIdPagesPageItemIdDelete', 'hospitalId', hospitalId)
|
|
4321
|
+
// verify required parameter 'pageItemId' is not null or undefined
|
|
4322
|
+
assertParamExists('apiV1HospitalsHospitalIdPagesPageItemIdDelete', 'pageItemId', pageItemId)
|
|
4323
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/pages/{pageItemId}`
|
|
4289
4324
|
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
4290
|
-
.replace(`{${"
|
|
4325
|
+
.replace(`{${"pageItemId"}}`, encodeURIComponent(String(pageItemId)));
|
|
4291
4326
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4292
4327
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4293
4328
|
let baseOptions;
|
|
@@ -4303,6 +4338,14 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
4303
4338
|
// oauth required
|
|
4304
4339
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
4305
4340
|
|
|
4341
|
+
if (isPermanent !== undefined) {
|
|
4342
|
+
localVarQueryParameter['isPermanent'] = isPermanent;
|
|
4343
|
+
}
|
|
4344
|
+
|
|
4345
|
+
if (languageCode !== undefined) {
|
|
4346
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
4347
|
+
}
|
|
4348
|
+
|
|
4306
4349
|
|
|
4307
4350
|
|
|
4308
4351
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -4316,20 +4359,21 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
4316
4359
|
},
|
|
4317
4360
|
/**
|
|
4318
4361
|
*
|
|
4319
|
-
* @summary Get
|
|
4362
|
+
* @summary Get hospital page
|
|
4320
4363
|
* @param {string} hospitalId
|
|
4321
|
-
* @param {string}
|
|
4364
|
+
* @param {string} pageItemId
|
|
4365
|
+
* @param {string} [languageCode]
|
|
4322
4366
|
* @param {*} [options] Override http request option.
|
|
4323
4367
|
* @throws {RequiredError}
|
|
4324
4368
|
*/
|
|
4325
|
-
|
|
4369
|
+
apiV1HospitalsHospitalIdPagesPageItemIdGet: async (hospitalId: string, pageItemId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4326
4370
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
4327
|
-
assertParamExists('
|
|
4328
|
-
// verify required parameter '
|
|
4329
|
-
assertParamExists('
|
|
4330
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/
|
|
4371
|
+
assertParamExists('apiV1HospitalsHospitalIdPagesPageItemIdGet', 'hospitalId', hospitalId)
|
|
4372
|
+
// verify required parameter 'pageItemId' is not null or undefined
|
|
4373
|
+
assertParamExists('apiV1HospitalsHospitalIdPagesPageItemIdGet', 'pageItemId', pageItemId)
|
|
4374
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/pages/{pageItemId}`
|
|
4331
4375
|
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
4332
|
-
.replace(`{${"
|
|
4376
|
+
.replace(`{${"pageItemId"}}`, encodeURIComponent(String(pageItemId)));
|
|
4333
4377
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4334
4378
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4335
4379
|
let baseOptions;
|
|
@@ -4345,6 +4389,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
4345
4389
|
// oauth required
|
|
4346
4390
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
4347
4391
|
|
|
4392
|
+
if (languageCode !== undefined) {
|
|
4393
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
4394
|
+
}
|
|
4395
|
+
|
|
4348
4396
|
|
|
4349
4397
|
|
|
4350
4398
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -4358,21 +4406,21 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
4358
4406
|
},
|
|
4359
4407
|
/**
|
|
4360
4408
|
*
|
|
4361
|
-
* @summary Update
|
|
4409
|
+
* @summary Update page
|
|
4362
4410
|
* @param {string} hospitalId
|
|
4363
|
-
* @param {string}
|
|
4364
|
-
* @param {
|
|
4411
|
+
* @param {string} pageItemId
|
|
4412
|
+
* @param {UpdatePageCommand} [updatePageCommand]
|
|
4365
4413
|
* @param {*} [options] Override http request option.
|
|
4366
4414
|
* @throws {RequiredError}
|
|
4367
4415
|
*/
|
|
4368
|
-
|
|
4416
|
+
apiV1HospitalsHospitalIdPagesPageItemIdPut: async (hospitalId: string, pageItemId: string, updatePageCommand?: UpdatePageCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4369
4417
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
4370
|
-
assertParamExists('
|
|
4371
|
-
// verify required parameter '
|
|
4372
|
-
assertParamExists('
|
|
4373
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/
|
|
4418
|
+
assertParamExists('apiV1HospitalsHospitalIdPagesPageItemIdPut', 'hospitalId', hospitalId)
|
|
4419
|
+
// verify required parameter 'pageItemId' is not null or undefined
|
|
4420
|
+
assertParamExists('apiV1HospitalsHospitalIdPagesPageItemIdPut', 'pageItemId', pageItemId)
|
|
4421
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/pages/{pageItemId}`
|
|
4374
4422
|
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
4375
|
-
.replace(`{${"
|
|
4423
|
+
.replace(`{${"pageItemId"}}`, encodeURIComponent(String(pageItemId)));
|
|
4376
4424
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4377
4425
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4378
4426
|
let baseOptions;
|
|
@@ -4395,7 +4443,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
4395
4443
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4396
4444
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4397
4445
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4398
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
4446
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updatePageCommand, localVarRequestOptions, configuration)
|
|
4399
4447
|
|
|
4400
4448
|
return {
|
|
4401
4449
|
url: toPathString(localVarUrlObj),
|
|
@@ -4404,16 +4452,58 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
4404
4452
|
},
|
|
4405
4453
|
/**
|
|
4406
4454
|
*
|
|
4407
|
-
* @summary
|
|
4455
|
+
* @summary Reactivate page
|
|
4408
4456
|
* @param {string} hospitalId
|
|
4409
|
-
* @param {
|
|
4457
|
+
* @param {string} pageItemId
|
|
4410
4458
|
* @param {*} [options] Override http request option.
|
|
4411
4459
|
* @throws {RequiredError}
|
|
4412
4460
|
*/
|
|
4413
|
-
|
|
4461
|
+
apiV1HospitalsHospitalIdPagesPageItemIdReactivatePut: async (hospitalId: string, pageItemId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4414
4462
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
4415
|
-
assertParamExists('
|
|
4416
|
-
|
|
4463
|
+
assertParamExists('apiV1HospitalsHospitalIdPagesPageItemIdReactivatePut', 'hospitalId', hospitalId)
|
|
4464
|
+
// verify required parameter 'pageItemId' is not null or undefined
|
|
4465
|
+
assertParamExists('apiV1HospitalsHospitalIdPagesPageItemIdReactivatePut', 'pageItemId', pageItemId)
|
|
4466
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/pages/{pageItemId}/reactivate`
|
|
4467
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
4468
|
+
.replace(`{${"pageItemId"}}`, encodeURIComponent(String(pageItemId)));
|
|
4469
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4470
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4471
|
+
let baseOptions;
|
|
4472
|
+
if (configuration) {
|
|
4473
|
+
baseOptions = configuration.baseOptions;
|
|
4474
|
+
}
|
|
4475
|
+
|
|
4476
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
4477
|
+
const localVarHeaderParameter = {} as any;
|
|
4478
|
+
const localVarQueryParameter = {} as any;
|
|
4479
|
+
|
|
4480
|
+
// authentication oauth2 required
|
|
4481
|
+
// oauth required
|
|
4482
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
4483
|
+
|
|
4484
|
+
|
|
4485
|
+
|
|
4486
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4487
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4488
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4489
|
+
|
|
4490
|
+
return {
|
|
4491
|
+
url: toPathString(localVarUrlObj),
|
|
4492
|
+
options: localVarRequestOptions,
|
|
4493
|
+
};
|
|
4494
|
+
},
|
|
4495
|
+
/**
|
|
4496
|
+
*
|
|
4497
|
+
* @summary Create page
|
|
4498
|
+
* @param {string} hospitalId
|
|
4499
|
+
* @param {CreatePageCommand} [createPageCommand]
|
|
4500
|
+
* @param {*} [options] Override http request option.
|
|
4501
|
+
* @throws {RequiredError}
|
|
4502
|
+
*/
|
|
4503
|
+
apiV1HospitalsHospitalIdPagesPost: async (hospitalId: string, createPageCommand?: CreatePageCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4504
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
4505
|
+
assertParamExists('apiV1HospitalsHospitalIdPagesPost', 'hospitalId', hospitalId)
|
|
4506
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/pages`
|
|
4417
4507
|
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
4418
4508
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4419
4509
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -4437,7 +4527,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
4437
4527
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4438
4528
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4439
4529
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4440
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
4530
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createPageCommand, localVarRequestOptions, configuration)
|
|
4441
4531
|
|
|
4442
4532
|
return {
|
|
4443
4533
|
url: toPathString(localVarUrlObj),
|
|
@@ -4446,22 +4536,20 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
4446
4536
|
},
|
|
4447
4537
|
/**
|
|
4448
4538
|
*
|
|
4449
|
-
* @summary Get
|
|
4539
|
+
* @summary Get hospitalPaymentMethods list
|
|
4450
4540
|
* @param {string} hospitalId
|
|
4451
|
-
* @param {
|
|
4452
|
-
* @param {string} [
|
|
4453
|
-
* @param {string} [languageCode]
|
|
4454
|
-
* @param {boolean} [showHidden]
|
|
4541
|
+
* @param {PaymentMethod} [paymentMethod]
|
|
4542
|
+
* @param {string} [id]
|
|
4455
4543
|
* @param {number} [page]
|
|
4456
4544
|
* @param {number} [limit]
|
|
4457
4545
|
* @param {Date} [lastRetrieved]
|
|
4458
4546
|
* @param {*} [options] Override http request option.
|
|
4459
4547
|
* @throws {RequiredError}
|
|
4460
4548
|
*/
|
|
4461
|
-
|
|
4549
|
+
apiV1HospitalsHospitalIdPaymentmethodsGet: async (hospitalId: string, paymentMethod?: PaymentMethod, id?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4462
4550
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
4463
|
-
assertParamExists('
|
|
4464
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/
|
|
4551
|
+
assertParamExists('apiV1HospitalsHospitalIdPaymentmethodsGet', 'hospitalId', hospitalId)
|
|
4552
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/paymentmethods`
|
|
4465
4553
|
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
4466
4554
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4467
4555
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -4478,20 +4566,12 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
4478
4566
|
// oauth required
|
|
4479
4567
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
4480
4568
|
|
|
4481
|
-
if (
|
|
4482
|
-
localVarQueryParameter['
|
|
4483
|
-
}
|
|
4484
|
-
|
|
4485
|
-
if (slug !== undefined) {
|
|
4486
|
-
localVarQueryParameter['Slug'] = slug;
|
|
4487
|
-
}
|
|
4488
|
-
|
|
4489
|
-
if (languageCode !== undefined) {
|
|
4490
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
4569
|
+
if (paymentMethod !== undefined) {
|
|
4570
|
+
localVarQueryParameter['PaymentMethod'] = paymentMethod;
|
|
4491
4571
|
}
|
|
4492
4572
|
|
|
4493
|
-
if (
|
|
4494
|
-
localVarQueryParameter['
|
|
4573
|
+
if (id !== undefined) {
|
|
4574
|
+
localVarQueryParameter['Id'] = id;
|
|
4495
4575
|
}
|
|
4496
4576
|
|
|
4497
4577
|
if (page !== undefined) {
|
|
@@ -4521,21 +4601,20 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
4521
4601
|
},
|
|
4522
4602
|
/**
|
|
4523
4603
|
*
|
|
4524
|
-
* @summary Delete
|
|
4604
|
+
* @summary Delete hospitalPaymentMethod
|
|
4525
4605
|
* @param {string} hospitalId
|
|
4526
|
-
* @param {string}
|
|
4527
|
-
* @param {boolean} [isPermanent]
|
|
4606
|
+
* @param {string} id
|
|
4528
4607
|
* @param {*} [options] Override http request option.
|
|
4529
4608
|
* @throws {RequiredError}
|
|
4530
4609
|
*/
|
|
4531
|
-
|
|
4610
|
+
apiV1HospitalsHospitalIdPaymentmethodsIdDelete: async (hospitalId: string, id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4532
4611
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
4533
|
-
assertParamExists('
|
|
4534
|
-
// verify required parameter '
|
|
4535
|
-
assertParamExists('
|
|
4536
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/
|
|
4612
|
+
assertParamExists('apiV1HospitalsHospitalIdPaymentmethodsIdDelete', 'hospitalId', hospitalId)
|
|
4613
|
+
// verify required parameter 'id' is not null or undefined
|
|
4614
|
+
assertParamExists('apiV1HospitalsHospitalIdPaymentmethodsIdDelete', 'id', id)
|
|
4615
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/paymentmethods/{id}`
|
|
4537
4616
|
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
4538
|
-
.replace(`{${"
|
|
4617
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4539
4618
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4540
4619
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4541
4620
|
let baseOptions;
|
|
@@ -4551,10 +4630,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
4551
4630
|
// oauth required
|
|
4552
4631
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
4553
4632
|
|
|
4554
|
-
if (isPermanent !== undefined) {
|
|
4555
|
-
localVarQueryParameter['isPermanent'] = isPermanent;
|
|
4556
|
-
}
|
|
4557
|
-
|
|
4558
4633
|
|
|
4559
4634
|
|
|
4560
4635
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -4568,21 +4643,20 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
4568
4643
|
},
|
|
4569
4644
|
/**
|
|
4570
4645
|
*
|
|
4571
|
-
* @summary Get
|
|
4646
|
+
* @summary Get hospitalPaymentMethod
|
|
4572
4647
|
* @param {string} hospitalId
|
|
4573
|
-
* @param {string}
|
|
4574
|
-
* @param {string} [languageCode]
|
|
4648
|
+
* @param {string} id
|
|
4575
4649
|
* @param {*} [options] Override http request option.
|
|
4576
4650
|
* @throws {RequiredError}
|
|
4577
4651
|
*/
|
|
4578
|
-
|
|
4652
|
+
apiV1HospitalsHospitalIdPaymentmethodsIdGet: async (hospitalId: string, id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4579
4653
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
4580
|
-
assertParamExists('
|
|
4581
|
-
// verify required parameter '
|
|
4582
|
-
assertParamExists('
|
|
4583
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/
|
|
4654
|
+
assertParamExists('apiV1HospitalsHospitalIdPaymentmethodsIdGet', 'hospitalId', hospitalId)
|
|
4655
|
+
// verify required parameter 'id' is not null or undefined
|
|
4656
|
+
assertParamExists('apiV1HospitalsHospitalIdPaymentmethodsIdGet', 'id', id)
|
|
4657
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/paymentmethods/{id}`
|
|
4584
4658
|
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
4585
|
-
.replace(`{${"
|
|
4659
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4586
4660
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4587
4661
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4588
4662
|
let baseOptions;
|
|
@@ -4598,10 +4672,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
4598
4672
|
// oauth required
|
|
4599
4673
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
4600
4674
|
|
|
4601
|
-
if (languageCode !== undefined) {
|
|
4602
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
4603
|
-
}
|
|
4604
|
-
|
|
4605
4675
|
|
|
4606
4676
|
|
|
4607
4677
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -4615,21 +4685,21 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
4615
4685
|
},
|
|
4616
4686
|
/**
|
|
4617
4687
|
*
|
|
4618
|
-
* @summary Update
|
|
4688
|
+
* @summary Update hospitalPaymentMethod
|
|
4619
4689
|
* @param {string} hospitalId
|
|
4620
|
-
* @param {string}
|
|
4621
|
-
* @param {
|
|
4690
|
+
* @param {string} id
|
|
4691
|
+
* @param {UpdateHospitalPaymentMethodCommand} [updateHospitalPaymentMethodCommand]
|
|
4622
4692
|
* @param {*} [options] Override http request option.
|
|
4623
4693
|
* @throws {RequiredError}
|
|
4624
4694
|
*/
|
|
4625
|
-
|
|
4695
|
+
apiV1HospitalsHospitalIdPaymentmethodsIdPut: async (hospitalId: string, id: string, updateHospitalPaymentMethodCommand?: UpdateHospitalPaymentMethodCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4626
4696
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
4627
|
-
assertParamExists('
|
|
4628
|
-
// verify required parameter '
|
|
4629
|
-
assertParamExists('
|
|
4630
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/
|
|
4697
|
+
assertParamExists('apiV1HospitalsHospitalIdPaymentmethodsIdPut', 'hospitalId', hospitalId)
|
|
4698
|
+
// verify required parameter 'id' is not null or undefined
|
|
4699
|
+
assertParamExists('apiV1HospitalsHospitalIdPaymentmethodsIdPut', 'id', id)
|
|
4700
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/paymentmethods/{id}`
|
|
4631
4701
|
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
4632
|
-
.replace(`{${"
|
|
4702
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4633
4703
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4634
4704
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4635
4705
|
let baseOptions;
|
|
@@ -4652,7 +4722,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
4652
4722
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4653
4723
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4654
4724
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4655
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
4725
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalPaymentMethodCommand, localVarRequestOptions, configuration)
|
|
4656
4726
|
|
|
4657
4727
|
return {
|
|
4658
4728
|
url: toPathString(localVarUrlObj),
|
|
@@ -4661,20 +4731,17 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
4661
4731
|
},
|
|
4662
4732
|
/**
|
|
4663
4733
|
*
|
|
4664
|
-
* @summary
|
|
4734
|
+
* @summary Create hospitalPaymentMethod
|
|
4665
4735
|
* @param {string} hospitalId
|
|
4666
|
-
* @param {
|
|
4736
|
+
* @param {CreateHospitalPaymentMethodCommand} [createHospitalPaymentMethodCommand]
|
|
4667
4737
|
* @param {*} [options] Override http request option.
|
|
4668
4738
|
* @throws {RequiredError}
|
|
4669
4739
|
*/
|
|
4670
|
-
|
|
4740
|
+
apiV1HospitalsHospitalIdPaymentmethodsPost: async (hospitalId: string, createHospitalPaymentMethodCommand?: CreateHospitalPaymentMethodCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4671
4741
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
4672
|
-
assertParamExists('
|
|
4673
|
-
|
|
4674
|
-
|
|
4675
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/policies/{policyId}/reactivate`
|
|
4676
|
-
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
4677
|
-
.replace(`{${"policyId"}}`, encodeURIComponent(String(policyId)));
|
|
4742
|
+
assertParamExists('apiV1HospitalsHospitalIdPaymentmethodsPost', 'hospitalId', hospitalId)
|
|
4743
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/paymentmethods`
|
|
4744
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
4678
4745
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4679
4746
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4680
4747
|
let baseOptions;
|
|
@@ -4682,7 +4749,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
4682
4749
|
baseOptions = configuration.baseOptions;
|
|
4683
4750
|
}
|
|
4684
4751
|
|
|
4685
|
-
const localVarRequestOptions = { method: '
|
|
4752
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
4686
4753
|
const localVarHeaderParameter = {} as any;
|
|
4687
4754
|
const localVarQueryParameter = {} as any;
|
|
4688
4755
|
|
|
@@ -4692,9 +4759,12 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
4692
4759
|
|
|
4693
4760
|
|
|
4694
4761
|
|
|
4762
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4763
|
+
|
|
4695
4764
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4696
4765
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4697
4766
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4767
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createHospitalPaymentMethodCommand, localVarRequestOptions, configuration)
|
|
4698
4768
|
|
|
4699
4769
|
return {
|
|
4700
4770
|
url: toPathString(localVarUrlObj),
|
|
@@ -4703,15 +4773,21 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
4703
4773
|
},
|
|
4704
4774
|
/**
|
|
4705
4775
|
*
|
|
4706
|
-
* @summary
|
|
4776
|
+
* @summary Get all policies
|
|
4707
4777
|
* @param {string} hospitalId
|
|
4708
|
-
* @param {
|
|
4778
|
+
* @param {string} [name]
|
|
4779
|
+
* @param {string} [slug]
|
|
4780
|
+
* @param {string} [languageCode]
|
|
4781
|
+
* @param {boolean} [showHidden]
|
|
4782
|
+
* @param {number} [page]
|
|
4783
|
+
* @param {number} [limit]
|
|
4784
|
+
* @param {Date} [lastRetrieved]
|
|
4709
4785
|
* @param {*} [options] Override http request option.
|
|
4710
4786
|
* @throws {RequiredError}
|
|
4711
4787
|
*/
|
|
4712
|
-
|
|
4788
|
+
apiV1HospitalsHospitalIdPoliciesGet: async (hospitalId: string, name?: string, slug?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4713
4789
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
4714
|
-
assertParamExists('
|
|
4790
|
+
assertParamExists('apiV1HospitalsHospitalIdPoliciesGet', 'hospitalId', hospitalId)
|
|
4715
4791
|
const localVarPath = `/api/v1/hospitals/{hospitalId}/policies`
|
|
4716
4792
|
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
4717
4793
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -4721,7 +4797,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
4721
4797
|
baseOptions = configuration.baseOptions;
|
|
4722
4798
|
}
|
|
4723
4799
|
|
|
4724
|
-
const localVarRequestOptions = { method: '
|
|
4800
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4725
4801
|
const localVarHeaderParameter = {} as any;
|
|
4726
4802
|
const localVarQueryParameter = {} as any;
|
|
4727
4803
|
|
|
@@ -4729,14 +4805,461 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
4729
4805
|
// oauth required
|
|
4730
4806
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
4731
4807
|
|
|
4808
|
+
if (name !== undefined) {
|
|
4809
|
+
localVarQueryParameter['Name'] = name;
|
|
4810
|
+
}
|
|
4732
4811
|
|
|
4733
|
-
|
|
4734
|
-
|
|
4812
|
+
if (slug !== undefined) {
|
|
4813
|
+
localVarQueryParameter['Slug'] = slug;
|
|
4814
|
+
}
|
|
4735
4815
|
|
|
4736
|
-
|
|
4737
|
-
|
|
4816
|
+
if (languageCode !== undefined) {
|
|
4817
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
4818
|
+
}
|
|
4819
|
+
|
|
4820
|
+
if (showHidden !== undefined) {
|
|
4821
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
4822
|
+
}
|
|
4823
|
+
|
|
4824
|
+
if (page !== undefined) {
|
|
4825
|
+
localVarQueryParameter['page'] = page;
|
|
4826
|
+
}
|
|
4827
|
+
|
|
4828
|
+
if (limit !== undefined) {
|
|
4829
|
+
localVarQueryParameter['limit'] = limit;
|
|
4830
|
+
}
|
|
4831
|
+
|
|
4832
|
+
if (lastRetrieved !== undefined) {
|
|
4833
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
4834
|
+
(lastRetrieved as any).toISOString() :
|
|
4835
|
+
lastRetrieved;
|
|
4836
|
+
}
|
|
4837
|
+
|
|
4838
|
+
|
|
4839
|
+
|
|
4840
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4841
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4842
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4843
|
+
|
|
4844
|
+
return {
|
|
4845
|
+
url: toPathString(localVarUrlObj),
|
|
4846
|
+
options: localVarRequestOptions,
|
|
4847
|
+
};
|
|
4848
|
+
},
|
|
4849
|
+
/**
|
|
4850
|
+
*
|
|
4851
|
+
* @summary Delete policy
|
|
4852
|
+
* @param {string} hospitalId
|
|
4853
|
+
* @param {string} policyId
|
|
4854
|
+
* @param {boolean} [isPermanent]
|
|
4855
|
+
* @param {*} [options] Override http request option.
|
|
4856
|
+
* @throws {RequiredError}
|
|
4857
|
+
*/
|
|
4858
|
+
apiV1HospitalsHospitalIdPoliciesPolicyIdDelete: async (hospitalId: string, policyId: string, isPermanent?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4859
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
4860
|
+
assertParamExists('apiV1HospitalsHospitalIdPoliciesPolicyIdDelete', 'hospitalId', hospitalId)
|
|
4861
|
+
// verify required parameter 'policyId' is not null or undefined
|
|
4862
|
+
assertParamExists('apiV1HospitalsHospitalIdPoliciesPolicyIdDelete', 'policyId', policyId)
|
|
4863
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/policies/{policyId}`
|
|
4864
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
4865
|
+
.replace(`{${"policyId"}}`, encodeURIComponent(String(policyId)));
|
|
4866
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4867
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4868
|
+
let baseOptions;
|
|
4869
|
+
if (configuration) {
|
|
4870
|
+
baseOptions = configuration.baseOptions;
|
|
4871
|
+
}
|
|
4872
|
+
|
|
4873
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
4874
|
+
const localVarHeaderParameter = {} as any;
|
|
4875
|
+
const localVarQueryParameter = {} as any;
|
|
4876
|
+
|
|
4877
|
+
// authentication oauth2 required
|
|
4878
|
+
// oauth required
|
|
4879
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
4880
|
+
|
|
4881
|
+
if (isPermanent !== undefined) {
|
|
4882
|
+
localVarQueryParameter['isPermanent'] = isPermanent;
|
|
4883
|
+
}
|
|
4884
|
+
|
|
4885
|
+
|
|
4886
|
+
|
|
4887
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4888
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4889
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4890
|
+
|
|
4891
|
+
return {
|
|
4892
|
+
url: toPathString(localVarUrlObj),
|
|
4893
|
+
options: localVarRequestOptions,
|
|
4894
|
+
};
|
|
4895
|
+
},
|
|
4896
|
+
/**
|
|
4897
|
+
*
|
|
4898
|
+
* @summary Get policy
|
|
4899
|
+
* @param {string} hospitalId
|
|
4900
|
+
* @param {string} policyId
|
|
4901
|
+
* @param {string} [languageCode]
|
|
4902
|
+
* @param {*} [options] Override http request option.
|
|
4903
|
+
* @throws {RequiredError}
|
|
4904
|
+
*/
|
|
4905
|
+
apiV1HospitalsHospitalIdPoliciesPolicyIdGet: async (hospitalId: string, policyId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4906
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
4907
|
+
assertParamExists('apiV1HospitalsHospitalIdPoliciesPolicyIdGet', 'hospitalId', hospitalId)
|
|
4908
|
+
// verify required parameter 'policyId' is not null or undefined
|
|
4909
|
+
assertParamExists('apiV1HospitalsHospitalIdPoliciesPolicyIdGet', 'policyId', policyId)
|
|
4910
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/policies/{policyId}`
|
|
4911
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
4912
|
+
.replace(`{${"policyId"}}`, encodeURIComponent(String(policyId)));
|
|
4913
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4914
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4915
|
+
let baseOptions;
|
|
4916
|
+
if (configuration) {
|
|
4917
|
+
baseOptions = configuration.baseOptions;
|
|
4918
|
+
}
|
|
4919
|
+
|
|
4920
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4921
|
+
const localVarHeaderParameter = {} as any;
|
|
4922
|
+
const localVarQueryParameter = {} as any;
|
|
4923
|
+
|
|
4924
|
+
// authentication oauth2 required
|
|
4925
|
+
// oauth required
|
|
4926
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
4927
|
+
|
|
4928
|
+
if (languageCode !== undefined) {
|
|
4929
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
4930
|
+
}
|
|
4931
|
+
|
|
4932
|
+
|
|
4933
|
+
|
|
4934
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4935
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4936
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4937
|
+
|
|
4938
|
+
return {
|
|
4939
|
+
url: toPathString(localVarUrlObj),
|
|
4940
|
+
options: localVarRequestOptions,
|
|
4941
|
+
};
|
|
4942
|
+
},
|
|
4943
|
+
/**
|
|
4944
|
+
*
|
|
4945
|
+
* @summary Update policy
|
|
4946
|
+
* @param {string} hospitalId
|
|
4947
|
+
* @param {string} policyId
|
|
4948
|
+
* @param {UpdatePolicyCommand} [updatePolicyCommand]
|
|
4949
|
+
* @param {*} [options] Override http request option.
|
|
4950
|
+
* @throws {RequiredError}
|
|
4951
|
+
*/
|
|
4952
|
+
apiV1HospitalsHospitalIdPoliciesPolicyIdPut: async (hospitalId: string, policyId: string, updatePolicyCommand?: UpdatePolicyCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4953
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
4954
|
+
assertParamExists('apiV1HospitalsHospitalIdPoliciesPolicyIdPut', 'hospitalId', hospitalId)
|
|
4955
|
+
// verify required parameter 'policyId' is not null or undefined
|
|
4956
|
+
assertParamExists('apiV1HospitalsHospitalIdPoliciesPolicyIdPut', 'policyId', policyId)
|
|
4957
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/policies/{policyId}`
|
|
4958
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
4959
|
+
.replace(`{${"policyId"}}`, encodeURIComponent(String(policyId)));
|
|
4960
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4961
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4962
|
+
let baseOptions;
|
|
4963
|
+
if (configuration) {
|
|
4964
|
+
baseOptions = configuration.baseOptions;
|
|
4965
|
+
}
|
|
4966
|
+
|
|
4967
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
4968
|
+
const localVarHeaderParameter = {} as any;
|
|
4969
|
+
const localVarQueryParameter = {} as any;
|
|
4970
|
+
|
|
4971
|
+
// authentication oauth2 required
|
|
4972
|
+
// oauth required
|
|
4973
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
4974
|
+
|
|
4975
|
+
|
|
4976
|
+
|
|
4977
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4978
|
+
|
|
4979
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4980
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4981
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4982
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updatePolicyCommand, localVarRequestOptions, configuration)
|
|
4983
|
+
|
|
4984
|
+
return {
|
|
4985
|
+
url: toPathString(localVarUrlObj),
|
|
4986
|
+
options: localVarRequestOptions,
|
|
4987
|
+
};
|
|
4988
|
+
},
|
|
4989
|
+
/**
|
|
4990
|
+
*
|
|
4991
|
+
* @summary Reactivate policy
|
|
4992
|
+
* @param {string} hospitalId
|
|
4993
|
+
* @param {string} policyId
|
|
4994
|
+
* @param {*} [options] Override http request option.
|
|
4995
|
+
* @throws {RequiredError}
|
|
4996
|
+
*/
|
|
4997
|
+
apiV1HospitalsHospitalIdPoliciesPolicyIdReactivatePut: async (hospitalId: string, policyId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4998
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
4999
|
+
assertParamExists('apiV1HospitalsHospitalIdPoliciesPolicyIdReactivatePut', 'hospitalId', hospitalId)
|
|
5000
|
+
// verify required parameter 'policyId' is not null or undefined
|
|
5001
|
+
assertParamExists('apiV1HospitalsHospitalIdPoliciesPolicyIdReactivatePut', 'policyId', policyId)
|
|
5002
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/policies/{policyId}/reactivate`
|
|
5003
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
5004
|
+
.replace(`{${"policyId"}}`, encodeURIComponent(String(policyId)));
|
|
5005
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5006
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5007
|
+
let baseOptions;
|
|
5008
|
+
if (configuration) {
|
|
5009
|
+
baseOptions = configuration.baseOptions;
|
|
5010
|
+
}
|
|
5011
|
+
|
|
5012
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
5013
|
+
const localVarHeaderParameter = {} as any;
|
|
5014
|
+
const localVarQueryParameter = {} as any;
|
|
5015
|
+
|
|
5016
|
+
// authentication oauth2 required
|
|
5017
|
+
// oauth required
|
|
5018
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
5019
|
+
|
|
5020
|
+
|
|
5021
|
+
|
|
5022
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5023
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5024
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5025
|
+
|
|
5026
|
+
return {
|
|
5027
|
+
url: toPathString(localVarUrlObj),
|
|
5028
|
+
options: localVarRequestOptions,
|
|
5029
|
+
};
|
|
5030
|
+
},
|
|
5031
|
+
/**
|
|
5032
|
+
*
|
|
5033
|
+
* @summary Create policy
|
|
5034
|
+
* @param {string} hospitalId
|
|
5035
|
+
* @param {CreatePolicyCommand} [createPolicyCommand]
|
|
5036
|
+
* @param {*} [options] Override http request option.
|
|
5037
|
+
* @throws {RequiredError}
|
|
5038
|
+
*/
|
|
5039
|
+
apiV1HospitalsHospitalIdPoliciesPost: async (hospitalId: string, createPolicyCommand?: CreatePolicyCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5040
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
5041
|
+
assertParamExists('apiV1HospitalsHospitalIdPoliciesPost', 'hospitalId', hospitalId)
|
|
5042
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/policies`
|
|
5043
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
5044
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5045
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5046
|
+
let baseOptions;
|
|
5047
|
+
if (configuration) {
|
|
5048
|
+
baseOptions = configuration.baseOptions;
|
|
5049
|
+
}
|
|
5050
|
+
|
|
5051
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
5052
|
+
const localVarHeaderParameter = {} as any;
|
|
5053
|
+
const localVarQueryParameter = {} as any;
|
|
5054
|
+
|
|
5055
|
+
// authentication oauth2 required
|
|
5056
|
+
// oauth required
|
|
5057
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
5058
|
+
|
|
5059
|
+
|
|
5060
|
+
|
|
5061
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5062
|
+
|
|
5063
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5064
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5065
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5066
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createPolicyCommand, localVarRequestOptions, configuration)
|
|
5067
|
+
|
|
5068
|
+
return {
|
|
5069
|
+
url: toPathString(localVarUrlObj),
|
|
5070
|
+
options: localVarRequestOptions,
|
|
5071
|
+
};
|
|
5072
|
+
},
|
|
5073
|
+
/**
|
|
5074
|
+
*
|
|
5075
|
+
* @summary Update Hospital.
|
|
5076
|
+
* @param {string} hospitalId
|
|
5077
|
+
* @param {UpdateHospitalCommand} [updateHospitalCommand]
|
|
5078
|
+
* @param {*} [options] Override http request option.
|
|
5079
|
+
* @throws {RequiredError}
|
|
5080
|
+
*/
|
|
5081
|
+
apiV1HospitalsHospitalIdPut: async (hospitalId: string, updateHospitalCommand?: UpdateHospitalCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5082
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
5083
|
+
assertParamExists('apiV1HospitalsHospitalIdPut', 'hospitalId', hospitalId)
|
|
5084
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}`
|
|
5085
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
5086
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5087
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5088
|
+
let baseOptions;
|
|
5089
|
+
if (configuration) {
|
|
5090
|
+
baseOptions = configuration.baseOptions;
|
|
5091
|
+
}
|
|
5092
|
+
|
|
5093
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
5094
|
+
const localVarHeaderParameter = {} as any;
|
|
5095
|
+
const localVarQueryParameter = {} as any;
|
|
5096
|
+
|
|
5097
|
+
// authentication oauth2 required
|
|
5098
|
+
// oauth required
|
|
5099
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
5100
|
+
|
|
5101
|
+
|
|
5102
|
+
|
|
5103
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5104
|
+
|
|
5105
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5106
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5107
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5108
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalCommand, localVarRequestOptions, configuration)
|
|
5109
|
+
|
|
5110
|
+
return {
|
|
5111
|
+
url: toPathString(localVarUrlObj),
|
|
5112
|
+
options: localVarRequestOptions,
|
|
5113
|
+
};
|
|
5114
|
+
},
|
|
5115
|
+
/**
|
|
5116
|
+
*
|
|
5117
|
+
* @summary Get hospitalRatings
|
|
5118
|
+
* @param {string} hospitalId
|
|
5119
|
+
* @param {string} [id]
|
|
5120
|
+
* @param {string} [vender]
|
|
5121
|
+
* @param {boolean} [isConfirmed]
|
|
5122
|
+
* @param {number} [page]
|
|
5123
|
+
* @param {number} [limit]
|
|
5124
|
+
* @param {Date} [lastRetrieved]
|
|
5125
|
+
* @param {*} [options] Override http request option.
|
|
5126
|
+
* @throws {RequiredError}
|
|
5127
|
+
*/
|
|
5128
|
+
apiV1HospitalsHospitalIdRatingsGet: async (hospitalId: string, id?: string, vender?: string, isConfirmed?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5129
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
5130
|
+
assertParamExists('apiV1HospitalsHospitalIdRatingsGet', 'hospitalId', hospitalId)
|
|
5131
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/ratings`
|
|
5132
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
5133
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5134
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5135
|
+
let baseOptions;
|
|
5136
|
+
if (configuration) {
|
|
5137
|
+
baseOptions = configuration.baseOptions;
|
|
5138
|
+
}
|
|
5139
|
+
|
|
5140
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5141
|
+
const localVarHeaderParameter = {} as any;
|
|
5142
|
+
const localVarQueryParameter = {} as any;
|
|
5143
|
+
|
|
5144
|
+
// authentication oauth2 required
|
|
5145
|
+
// oauth required
|
|
5146
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
5147
|
+
|
|
5148
|
+
if (id !== undefined) {
|
|
5149
|
+
localVarQueryParameter['Id'] = id;
|
|
5150
|
+
}
|
|
5151
|
+
|
|
5152
|
+
if (vender !== undefined) {
|
|
5153
|
+
localVarQueryParameter['Vender'] = vender;
|
|
5154
|
+
}
|
|
5155
|
+
|
|
5156
|
+
if (isConfirmed !== undefined) {
|
|
5157
|
+
localVarQueryParameter['IsConfirmed'] = isConfirmed;
|
|
5158
|
+
}
|
|
5159
|
+
|
|
5160
|
+
if (page !== undefined) {
|
|
5161
|
+
localVarQueryParameter['page'] = page;
|
|
5162
|
+
}
|
|
5163
|
+
|
|
5164
|
+
if (limit !== undefined) {
|
|
5165
|
+
localVarQueryParameter['limit'] = limit;
|
|
5166
|
+
}
|
|
5167
|
+
|
|
5168
|
+
if (lastRetrieved !== undefined) {
|
|
5169
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
5170
|
+
(lastRetrieved as any).toISOString() :
|
|
5171
|
+
lastRetrieved;
|
|
5172
|
+
}
|
|
5173
|
+
|
|
5174
|
+
|
|
5175
|
+
|
|
5176
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5177
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5178
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5179
|
+
|
|
5180
|
+
return {
|
|
5181
|
+
url: toPathString(localVarUrlObj),
|
|
5182
|
+
options: localVarRequestOptions,
|
|
5183
|
+
};
|
|
5184
|
+
},
|
|
5185
|
+
/**
|
|
5186
|
+
*
|
|
5187
|
+
* @summary Delete hospitalRating
|
|
5188
|
+
* @param {string} hospitalId
|
|
5189
|
+
* @param {string} id
|
|
5190
|
+
* @param {*} [options] Override http request option.
|
|
5191
|
+
* @throws {RequiredError}
|
|
5192
|
+
*/
|
|
5193
|
+
apiV1HospitalsHospitalIdRatingsIdDelete: async (hospitalId: string, id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5194
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
5195
|
+
assertParamExists('apiV1HospitalsHospitalIdRatingsIdDelete', 'hospitalId', hospitalId)
|
|
5196
|
+
// verify required parameter 'id' is not null or undefined
|
|
5197
|
+
assertParamExists('apiV1HospitalsHospitalIdRatingsIdDelete', 'id', id)
|
|
5198
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/ratings/{id}`
|
|
5199
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
5200
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
5201
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5202
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5203
|
+
let baseOptions;
|
|
5204
|
+
if (configuration) {
|
|
5205
|
+
baseOptions = configuration.baseOptions;
|
|
5206
|
+
}
|
|
5207
|
+
|
|
5208
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
5209
|
+
const localVarHeaderParameter = {} as any;
|
|
5210
|
+
const localVarQueryParameter = {} as any;
|
|
5211
|
+
|
|
5212
|
+
// authentication oauth2 required
|
|
5213
|
+
// oauth required
|
|
5214
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
5215
|
+
|
|
5216
|
+
|
|
5217
|
+
|
|
5218
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5219
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5220
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5221
|
+
|
|
5222
|
+
return {
|
|
5223
|
+
url: toPathString(localVarUrlObj),
|
|
5224
|
+
options: localVarRequestOptions,
|
|
5225
|
+
};
|
|
5226
|
+
},
|
|
5227
|
+
/**
|
|
5228
|
+
*
|
|
5229
|
+
* @summary Get hospitalRating
|
|
5230
|
+
* @param {string} hospitalId
|
|
5231
|
+
* @param {string} id
|
|
5232
|
+
* @param {*} [options] Override http request option.
|
|
5233
|
+
* @throws {RequiredError}
|
|
5234
|
+
*/
|
|
5235
|
+
apiV1HospitalsHospitalIdRatingsIdGet: async (hospitalId: string, id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5236
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
5237
|
+
assertParamExists('apiV1HospitalsHospitalIdRatingsIdGet', 'hospitalId', hospitalId)
|
|
5238
|
+
// verify required parameter 'id' is not null or undefined
|
|
5239
|
+
assertParamExists('apiV1HospitalsHospitalIdRatingsIdGet', 'id', id)
|
|
5240
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/ratings/{id}`
|
|
5241
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
5242
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
5243
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5244
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5245
|
+
let baseOptions;
|
|
5246
|
+
if (configuration) {
|
|
5247
|
+
baseOptions = configuration.baseOptions;
|
|
5248
|
+
}
|
|
5249
|
+
|
|
5250
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5251
|
+
const localVarHeaderParameter = {} as any;
|
|
5252
|
+
const localVarQueryParameter = {} as any;
|
|
5253
|
+
|
|
5254
|
+
// authentication oauth2 required
|
|
5255
|
+
// oauth required
|
|
5256
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
5257
|
+
|
|
5258
|
+
|
|
5259
|
+
|
|
5260
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5261
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4738
5262
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4739
|
-
localVarRequestOptions.data = serializeDataIfNeeded(createPolicyCommand, localVarRequestOptions, configuration)
|
|
4740
5263
|
|
|
4741
5264
|
return {
|
|
4742
5265
|
url: toPathString(localVarUrlObj),
|
|
@@ -4745,17 +5268,21 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
4745
5268
|
},
|
|
4746
5269
|
/**
|
|
4747
5270
|
*
|
|
4748
|
-
* @summary Update
|
|
5271
|
+
* @summary Update hospitalRating
|
|
4749
5272
|
* @param {string} hospitalId
|
|
4750
|
-
* @param {
|
|
5273
|
+
* @param {string} id
|
|
5274
|
+
* @param {UpdateHospitalRatingCommand} [updateHospitalRatingCommand]
|
|
4751
5275
|
* @param {*} [options] Override http request option.
|
|
4752
5276
|
* @throws {RequiredError}
|
|
4753
5277
|
*/
|
|
4754
|
-
|
|
5278
|
+
apiV1HospitalsHospitalIdRatingsIdPut: async (hospitalId: string, id: string, updateHospitalRatingCommand?: UpdateHospitalRatingCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4755
5279
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
4756
|
-
assertParamExists('
|
|
4757
|
-
|
|
4758
|
-
|
|
5280
|
+
assertParamExists('apiV1HospitalsHospitalIdRatingsIdPut', 'hospitalId', hospitalId)
|
|
5281
|
+
// verify required parameter 'id' is not null or undefined
|
|
5282
|
+
assertParamExists('apiV1HospitalsHospitalIdRatingsIdPut', 'id', id)
|
|
5283
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/ratings/{id}`
|
|
5284
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
5285
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4759
5286
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4760
5287
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4761
5288
|
let baseOptions;
|
|
@@ -4778,7 +5305,49 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
4778
5305
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4779
5306
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4780
5307
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4781
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
5308
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalRatingCommand, localVarRequestOptions, configuration)
|
|
5309
|
+
|
|
5310
|
+
return {
|
|
5311
|
+
url: toPathString(localVarUrlObj),
|
|
5312
|
+
options: localVarRequestOptions,
|
|
5313
|
+
};
|
|
5314
|
+
},
|
|
5315
|
+
/**
|
|
5316
|
+
*
|
|
5317
|
+
* @summary Create hospitalRating
|
|
5318
|
+
* @param {string} hospitalId
|
|
5319
|
+
* @param {CreateHospitalRatingCommand} [createHospitalRatingCommand]
|
|
5320
|
+
* @param {*} [options] Override http request option.
|
|
5321
|
+
* @throws {RequiredError}
|
|
5322
|
+
*/
|
|
5323
|
+
apiV1HospitalsHospitalIdRatingsPost: async (hospitalId: string, createHospitalRatingCommand?: CreateHospitalRatingCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5324
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
5325
|
+
assertParamExists('apiV1HospitalsHospitalIdRatingsPost', 'hospitalId', hospitalId)
|
|
5326
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/ratings`
|
|
5327
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
5328
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5329
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5330
|
+
let baseOptions;
|
|
5331
|
+
if (configuration) {
|
|
5332
|
+
baseOptions = configuration.baseOptions;
|
|
5333
|
+
}
|
|
5334
|
+
|
|
5335
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
5336
|
+
const localVarHeaderParameter = {} as any;
|
|
5337
|
+
const localVarQueryParameter = {} as any;
|
|
5338
|
+
|
|
5339
|
+
// authentication oauth2 required
|
|
5340
|
+
// oauth required
|
|
5341
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
5342
|
+
|
|
5343
|
+
|
|
5344
|
+
|
|
5345
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5346
|
+
|
|
5347
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5348
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5349
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5350
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createHospitalRatingCommand, localVarRequestOptions, configuration)
|
|
4782
5351
|
|
|
4783
5352
|
return {
|
|
4784
5353
|
url: toPathString(localVarUrlObj),
|
|
@@ -9324,6 +9893,89 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
9324
9893
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdNoticesSortPut(hospitalId, noticeSortingCommand, options);
|
|
9325
9894
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
9326
9895
|
},
|
|
9896
|
+
/**
|
|
9897
|
+
*
|
|
9898
|
+
* @summary Get hospital pageItems
|
|
9899
|
+
* @param {string} hospitalId
|
|
9900
|
+
* @param {string} [id]
|
|
9901
|
+
* @param {string} [languageCode]
|
|
9902
|
+
* @param {string} [name]
|
|
9903
|
+
* @param {PageItemStatus} [status]
|
|
9904
|
+
* @param {boolean} [showHidden]
|
|
9905
|
+
* @param {number} [page]
|
|
9906
|
+
* @param {number} [limit]
|
|
9907
|
+
* @param {Date} [lastRetrieved]
|
|
9908
|
+
* @param {*} [options] Override http request option.
|
|
9909
|
+
* @throws {RequiredError}
|
|
9910
|
+
*/
|
|
9911
|
+
async apiV1HospitalsHospitalIdPagesGet(hospitalId: string, id?: string, languageCode?: string, name?: string, status?: PageItemStatus, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PageItemsModel>> {
|
|
9912
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdPagesGet(hospitalId, id, languageCode, name, status, showHidden, page, limit, lastRetrieved, options);
|
|
9913
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
9914
|
+
},
|
|
9915
|
+
/**
|
|
9916
|
+
*
|
|
9917
|
+
* @summary Delete page
|
|
9918
|
+
* @param {string} hospitalId
|
|
9919
|
+
* @param {string} pageItemId
|
|
9920
|
+
* @param {boolean} [isPermanent]
|
|
9921
|
+
* @param {string} [languageCode]
|
|
9922
|
+
* @param {*} [options] Override http request option.
|
|
9923
|
+
* @throws {RequiredError}
|
|
9924
|
+
*/
|
|
9925
|
+
async apiV1HospitalsHospitalIdPagesPageItemIdDelete(hospitalId: string, pageItemId: string, isPermanent?: boolean, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
9926
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdPagesPageItemIdDelete(hospitalId, pageItemId, isPermanent, languageCode, options);
|
|
9927
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
9928
|
+
},
|
|
9929
|
+
/**
|
|
9930
|
+
*
|
|
9931
|
+
* @summary Get hospital page
|
|
9932
|
+
* @param {string} hospitalId
|
|
9933
|
+
* @param {string} pageItemId
|
|
9934
|
+
* @param {string} [languageCode]
|
|
9935
|
+
* @param {*} [options] Override http request option.
|
|
9936
|
+
* @throws {RequiredError}
|
|
9937
|
+
*/
|
|
9938
|
+
async apiV1HospitalsHospitalIdPagesPageItemIdGet(hospitalId: string, pageItemId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PageItemModel>> {
|
|
9939
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdPagesPageItemIdGet(hospitalId, pageItemId, languageCode, options);
|
|
9940
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
9941
|
+
},
|
|
9942
|
+
/**
|
|
9943
|
+
*
|
|
9944
|
+
* @summary Update page
|
|
9945
|
+
* @param {string} hospitalId
|
|
9946
|
+
* @param {string} pageItemId
|
|
9947
|
+
* @param {UpdatePageCommand} [updatePageCommand]
|
|
9948
|
+
* @param {*} [options] Override http request option.
|
|
9949
|
+
* @throws {RequiredError}
|
|
9950
|
+
*/
|
|
9951
|
+
async apiV1HospitalsHospitalIdPagesPageItemIdPut(hospitalId: string, pageItemId: string, updatePageCommand?: UpdatePageCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PageItemModel>> {
|
|
9952
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdPagesPageItemIdPut(hospitalId, pageItemId, updatePageCommand, options);
|
|
9953
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
9954
|
+
},
|
|
9955
|
+
/**
|
|
9956
|
+
*
|
|
9957
|
+
* @summary Reactivate page
|
|
9958
|
+
* @param {string} hospitalId
|
|
9959
|
+
* @param {string} pageItemId
|
|
9960
|
+
* @param {*} [options] Override http request option.
|
|
9961
|
+
* @throws {RequiredError}
|
|
9962
|
+
*/
|
|
9963
|
+
async apiV1HospitalsHospitalIdPagesPageItemIdReactivatePut(hospitalId: string, pageItemId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
9964
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdPagesPageItemIdReactivatePut(hospitalId, pageItemId, options);
|
|
9965
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
9966
|
+
},
|
|
9967
|
+
/**
|
|
9968
|
+
*
|
|
9969
|
+
* @summary Create page
|
|
9970
|
+
* @param {string} hospitalId
|
|
9971
|
+
* @param {CreatePageCommand} [createPageCommand]
|
|
9972
|
+
* @param {*} [options] Override http request option.
|
|
9973
|
+
* @throws {RequiredError}
|
|
9974
|
+
*/
|
|
9975
|
+
async apiV1HospitalsHospitalIdPagesPost(hospitalId: string, createPageCommand?: CreatePageCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
9976
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdPagesPost(hospitalId, createPageCommand, options);
|
|
9977
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
9978
|
+
},
|
|
9327
9979
|
/**
|
|
9328
9980
|
*
|
|
9329
9981
|
* @summary Get hospitalPaymentMethods list
|
|
@@ -9482,6 +10134,72 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
9482
10134
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdPut(hospitalId, updateHospitalCommand, options);
|
|
9483
10135
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
9484
10136
|
},
|
|
10137
|
+
/**
|
|
10138
|
+
*
|
|
10139
|
+
* @summary Get hospitalRatings
|
|
10140
|
+
* @param {string} hospitalId
|
|
10141
|
+
* @param {string} [id]
|
|
10142
|
+
* @param {string} [vender]
|
|
10143
|
+
* @param {boolean} [isConfirmed]
|
|
10144
|
+
* @param {number} [page]
|
|
10145
|
+
* @param {number} [limit]
|
|
10146
|
+
* @param {Date} [lastRetrieved]
|
|
10147
|
+
* @param {*} [options] Override http request option.
|
|
10148
|
+
* @throws {RequiredError}
|
|
10149
|
+
*/
|
|
10150
|
+
async apiV1HospitalsHospitalIdRatingsGet(hospitalId: string, id?: string, vender?: string, isConfirmed?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalRatingsModel>> {
|
|
10151
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdRatingsGet(hospitalId, id, vender, isConfirmed, page, limit, lastRetrieved, options);
|
|
10152
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
10153
|
+
},
|
|
10154
|
+
/**
|
|
10155
|
+
*
|
|
10156
|
+
* @summary Delete hospitalRating
|
|
10157
|
+
* @param {string} hospitalId
|
|
10158
|
+
* @param {string} id
|
|
10159
|
+
* @param {*} [options] Override http request option.
|
|
10160
|
+
* @throws {RequiredError}
|
|
10161
|
+
*/
|
|
10162
|
+
async apiV1HospitalsHospitalIdRatingsIdDelete(hospitalId: string, id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
10163
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdRatingsIdDelete(hospitalId, id, options);
|
|
10164
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
10165
|
+
},
|
|
10166
|
+
/**
|
|
10167
|
+
*
|
|
10168
|
+
* @summary Get hospitalRating
|
|
10169
|
+
* @param {string} hospitalId
|
|
10170
|
+
* @param {string} id
|
|
10171
|
+
* @param {*} [options] Override http request option.
|
|
10172
|
+
* @throws {RequiredError}
|
|
10173
|
+
*/
|
|
10174
|
+
async apiV1HospitalsHospitalIdRatingsIdGet(hospitalId: string, id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalRatingModel>> {
|
|
10175
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdRatingsIdGet(hospitalId, id, options);
|
|
10176
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
10177
|
+
},
|
|
10178
|
+
/**
|
|
10179
|
+
*
|
|
10180
|
+
* @summary Update hospitalRating
|
|
10181
|
+
* @param {string} hospitalId
|
|
10182
|
+
* @param {string} id
|
|
10183
|
+
* @param {UpdateHospitalRatingCommand} [updateHospitalRatingCommand]
|
|
10184
|
+
* @param {*} [options] Override http request option.
|
|
10185
|
+
* @throws {RequiredError}
|
|
10186
|
+
*/
|
|
10187
|
+
async apiV1HospitalsHospitalIdRatingsIdPut(hospitalId: string, id: string, updateHospitalRatingCommand?: UpdateHospitalRatingCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalRatingModel>> {
|
|
10188
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdRatingsIdPut(hospitalId, id, updateHospitalRatingCommand, options);
|
|
10189
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
10190
|
+
},
|
|
10191
|
+
/**
|
|
10192
|
+
*
|
|
10193
|
+
* @summary Create hospitalRating
|
|
10194
|
+
* @param {string} hospitalId
|
|
10195
|
+
* @param {CreateHospitalRatingCommand} [createHospitalRatingCommand]
|
|
10196
|
+
* @param {*} [options] Override http request option.
|
|
10197
|
+
* @throws {RequiredError}
|
|
10198
|
+
*/
|
|
10199
|
+
async apiV1HospitalsHospitalIdRatingsPost(hospitalId: string, createHospitalRatingCommand?: CreateHospitalRatingCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalRatingModel>> {
|
|
10200
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdRatingsPost(hospitalId, createHospitalRatingCommand, options);
|
|
10201
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
10202
|
+
},
|
|
9485
10203
|
/**
|
|
9486
10204
|
*
|
|
9487
10205
|
* @summary Delete HospitalSpecialty.
|
|
@@ -11316,12 +12034,100 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
11316
12034
|
},
|
|
11317
12035
|
/**
|
|
11318
12036
|
*
|
|
11319
|
-
* @summary Get notices
|
|
12037
|
+
* @summary Get notices
|
|
12038
|
+
* @param {string} hospitalId
|
|
12039
|
+
* @param {string} [id]
|
|
12040
|
+
* @param {string} [languageCode]
|
|
12041
|
+
* @param {string} [name]
|
|
12042
|
+
* @param {NoticeStatus} [status]
|
|
12043
|
+
* @param {boolean} [showHidden]
|
|
12044
|
+
* @param {number} [page]
|
|
12045
|
+
* @param {number} [limit]
|
|
12046
|
+
* @param {Date} [lastRetrieved]
|
|
12047
|
+
* @param {*} [options] Override http request option.
|
|
12048
|
+
* @throws {RequiredError}
|
|
12049
|
+
*/
|
|
12050
|
+
apiV1HospitalsHospitalIdNoticesGet(hospitalId: string, id?: string, languageCode?: string, name?: string, status?: NoticeStatus, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<NoticesModel> {
|
|
12051
|
+
return localVarFp.apiV1HospitalsHospitalIdNoticesGet(hospitalId, id, languageCode, name, status, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
12052
|
+
},
|
|
12053
|
+
/**
|
|
12054
|
+
*
|
|
12055
|
+
* @summary Delete notice
|
|
12056
|
+
* @param {string} hospitalId
|
|
12057
|
+
* @param {string} noticeId
|
|
12058
|
+
* @param {string} [languageCode]
|
|
12059
|
+
* @param {boolean} [isPermanent]
|
|
12060
|
+
* @param {*} [options] Override http request option.
|
|
12061
|
+
* @throws {RequiredError}
|
|
12062
|
+
*/
|
|
12063
|
+
apiV1HospitalsHospitalIdNoticesNoticeIdDelete(hospitalId: string, noticeId: string, languageCode?: string, isPermanent?: boolean, options?: any): AxiosPromise<boolean> {
|
|
12064
|
+
return localVarFp.apiV1HospitalsHospitalIdNoticesNoticeIdDelete(hospitalId, noticeId, languageCode, isPermanent, options).then((request) => request(axios, basePath));
|
|
12065
|
+
},
|
|
12066
|
+
/**
|
|
12067
|
+
*
|
|
12068
|
+
* @summary Get notice by id
|
|
12069
|
+
* @param {string} hospitalId
|
|
12070
|
+
* @param {string} noticeId
|
|
12071
|
+
* @param {string} [languageCode]
|
|
12072
|
+
* @param {*} [options] Override http request option.
|
|
12073
|
+
* @throws {RequiredError}
|
|
12074
|
+
*/
|
|
12075
|
+
apiV1HospitalsHospitalIdNoticesNoticeIdGet(hospitalId: string, noticeId: string, languageCode?: string, options?: any): AxiosPromise<NoticeModel> {
|
|
12076
|
+
return localVarFp.apiV1HospitalsHospitalIdNoticesNoticeIdGet(hospitalId, noticeId, languageCode, options).then((request) => request(axios, basePath));
|
|
12077
|
+
},
|
|
12078
|
+
/**
|
|
12079
|
+
*
|
|
12080
|
+
* @summary Update notice
|
|
12081
|
+
* @param {string} hospitalId
|
|
12082
|
+
* @param {string} noticeId
|
|
12083
|
+
* @param {UpdateNoticeCommand} [updateNoticeCommand]
|
|
12084
|
+
* @param {*} [options] Override http request option.
|
|
12085
|
+
* @throws {RequiredError}
|
|
12086
|
+
*/
|
|
12087
|
+
apiV1HospitalsHospitalIdNoticesNoticeIdPut(hospitalId: string, noticeId: string, updateNoticeCommand?: UpdateNoticeCommand, options?: any): AxiosPromise<NoticeModel> {
|
|
12088
|
+
return localVarFp.apiV1HospitalsHospitalIdNoticesNoticeIdPut(hospitalId, noticeId, updateNoticeCommand, options).then((request) => request(axios, basePath));
|
|
12089
|
+
},
|
|
12090
|
+
/**
|
|
12091
|
+
*
|
|
12092
|
+
* @summary Reactivate notice
|
|
12093
|
+
* @param {string} hospitalId
|
|
12094
|
+
* @param {string} noticeId
|
|
12095
|
+
* @param {*} [options] Override http request option.
|
|
12096
|
+
* @throws {RequiredError}
|
|
12097
|
+
*/
|
|
12098
|
+
apiV1HospitalsHospitalIdNoticesNoticeIdReactivatePut(hospitalId: string, noticeId: string, options?: any): AxiosPromise<boolean> {
|
|
12099
|
+
return localVarFp.apiV1HospitalsHospitalIdNoticesNoticeIdReactivatePut(hospitalId, noticeId, options).then((request) => request(axios, basePath));
|
|
12100
|
+
},
|
|
12101
|
+
/**
|
|
12102
|
+
*
|
|
12103
|
+
* @summary Create notice
|
|
12104
|
+
* @param {string} hospitalId
|
|
12105
|
+
* @param {CreateNoticeCommand} [createNoticeCommand]
|
|
12106
|
+
* @param {*} [options] Override http request option.
|
|
12107
|
+
* @throws {RequiredError}
|
|
12108
|
+
*/
|
|
12109
|
+
apiV1HospitalsHospitalIdNoticesPost(hospitalId: string, createNoticeCommand?: CreateNoticeCommand, options?: any): AxiosPromise<NoticeModel> {
|
|
12110
|
+
return localVarFp.apiV1HospitalsHospitalIdNoticesPost(hospitalId, createNoticeCommand, options).then((request) => request(axios, basePath));
|
|
12111
|
+
},
|
|
12112
|
+
/**
|
|
12113
|
+
*
|
|
12114
|
+
* @summary Batch for notices sorting
|
|
12115
|
+
* @param {string} hospitalId
|
|
12116
|
+
* @param {NoticeSortingCommand} [noticeSortingCommand]
|
|
12117
|
+
* @param {*} [options] Override http request option.
|
|
12118
|
+
* @throws {RequiredError}
|
|
12119
|
+
*/
|
|
12120
|
+
apiV1HospitalsHospitalIdNoticesSortPut(hospitalId: string, noticeSortingCommand?: NoticeSortingCommand, options?: any): AxiosPromise<SortingResultModel> {
|
|
12121
|
+
return localVarFp.apiV1HospitalsHospitalIdNoticesSortPut(hospitalId, noticeSortingCommand, options).then((request) => request(axios, basePath));
|
|
12122
|
+
},
|
|
12123
|
+
/**
|
|
12124
|
+
*
|
|
12125
|
+
* @summary Get hospital pageItems
|
|
11320
12126
|
* @param {string} hospitalId
|
|
11321
12127
|
* @param {string} [id]
|
|
11322
12128
|
* @param {string} [languageCode]
|
|
11323
12129
|
* @param {string} [name]
|
|
11324
|
-
* @param {
|
|
12130
|
+
* @param {PageItemStatus} [status]
|
|
11325
12131
|
* @param {boolean} [showHidden]
|
|
11326
12132
|
* @param {number} [page]
|
|
11327
12133
|
* @param {number} [limit]
|
|
@@ -11329,78 +12135,67 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
11329
12135
|
* @param {*} [options] Override http request option.
|
|
11330
12136
|
* @throws {RequiredError}
|
|
11331
12137
|
*/
|
|
11332
|
-
|
|
11333
|
-
return localVarFp.
|
|
12138
|
+
apiV1HospitalsHospitalIdPagesGet(hospitalId: string, id?: string, languageCode?: string, name?: string, status?: PageItemStatus, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<PageItemsModel> {
|
|
12139
|
+
return localVarFp.apiV1HospitalsHospitalIdPagesGet(hospitalId, id, languageCode, name, status, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
11334
12140
|
},
|
|
11335
12141
|
/**
|
|
11336
12142
|
*
|
|
11337
|
-
* @summary Delete
|
|
12143
|
+
* @summary Delete page
|
|
11338
12144
|
* @param {string} hospitalId
|
|
11339
|
-
* @param {string}
|
|
11340
|
-
* @param {string} [languageCode]
|
|
12145
|
+
* @param {string} pageItemId
|
|
11341
12146
|
* @param {boolean} [isPermanent]
|
|
11342
|
-
* @param {*} [options] Override http request option.
|
|
11343
|
-
* @throws {RequiredError}
|
|
11344
|
-
*/
|
|
11345
|
-
apiV1HospitalsHospitalIdNoticesNoticeIdDelete(hospitalId: string, noticeId: string, languageCode?: string, isPermanent?: boolean, options?: any): AxiosPromise<boolean> {
|
|
11346
|
-
return localVarFp.apiV1HospitalsHospitalIdNoticesNoticeIdDelete(hospitalId, noticeId, languageCode, isPermanent, options).then((request) => request(axios, basePath));
|
|
11347
|
-
},
|
|
11348
|
-
/**
|
|
11349
|
-
*
|
|
11350
|
-
* @summary Get notice by id
|
|
11351
|
-
* @param {string} hospitalId
|
|
11352
|
-
* @param {string} noticeId
|
|
11353
12147
|
* @param {string} [languageCode]
|
|
11354
12148
|
* @param {*} [options] Override http request option.
|
|
11355
12149
|
* @throws {RequiredError}
|
|
11356
12150
|
*/
|
|
11357
|
-
|
|
11358
|
-
return localVarFp.
|
|
12151
|
+
apiV1HospitalsHospitalIdPagesPageItemIdDelete(hospitalId: string, pageItemId: string, isPermanent?: boolean, languageCode?: string, options?: any): AxiosPromise<boolean> {
|
|
12152
|
+
return localVarFp.apiV1HospitalsHospitalIdPagesPageItemIdDelete(hospitalId, pageItemId, isPermanent, languageCode, options).then((request) => request(axios, basePath));
|
|
11359
12153
|
},
|
|
11360
12154
|
/**
|
|
11361
12155
|
*
|
|
11362
|
-
* @summary
|
|
12156
|
+
* @summary Get hospital page
|
|
11363
12157
|
* @param {string} hospitalId
|
|
11364
|
-
* @param {string}
|
|
11365
|
-
* @param {
|
|
12158
|
+
* @param {string} pageItemId
|
|
12159
|
+
* @param {string} [languageCode]
|
|
11366
12160
|
* @param {*} [options] Override http request option.
|
|
11367
12161
|
* @throws {RequiredError}
|
|
11368
12162
|
*/
|
|
11369
|
-
|
|
11370
|
-
return localVarFp.
|
|
12163
|
+
apiV1HospitalsHospitalIdPagesPageItemIdGet(hospitalId: string, pageItemId: string, languageCode?: string, options?: any): AxiosPromise<PageItemModel> {
|
|
12164
|
+
return localVarFp.apiV1HospitalsHospitalIdPagesPageItemIdGet(hospitalId, pageItemId, languageCode, options).then((request) => request(axios, basePath));
|
|
11371
12165
|
},
|
|
11372
12166
|
/**
|
|
11373
12167
|
*
|
|
11374
|
-
* @summary
|
|
12168
|
+
* @summary Update page
|
|
11375
12169
|
* @param {string} hospitalId
|
|
11376
|
-
* @param {string}
|
|
12170
|
+
* @param {string} pageItemId
|
|
12171
|
+
* @param {UpdatePageCommand} [updatePageCommand]
|
|
11377
12172
|
* @param {*} [options] Override http request option.
|
|
11378
12173
|
* @throws {RequiredError}
|
|
11379
12174
|
*/
|
|
11380
|
-
|
|
11381
|
-
return localVarFp.
|
|
12175
|
+
apiV1HospitalsHospitalIdPagesPageItemIdPut(hospitalId: string, pageItemId: string, updatePageCommand?: UpdatePageCommand, options?: any): AxiosPromise<PageItemModel> {
|
|
12176
|
+
return localVarFp.apiV1HospitalsHospitalIdPagesPageItemIdPut(hospitalId, pageItemId, updatePageCommand, options).then((request) => request(axios, basePath));
|
|
11382
12177
|
},
|
|
11383
12178
|
/**
|
|
11384
12179
|
*
|
|
11385
|
-
* @summary
|
|
12180
|
+
* @summary Reactivate page
|
|
11386
12181
|
* @param {string} hospitalId
|
|
11387
|
-
* @param {
|
|
12182
|
+
* @param {string} pageItemId
|
|
11388
12183
|
* @param {*} [options] Override http request option.
|
|
11389
12184
|
* @throws {RequiredError}
|
|
11390
12185
|
*/
|
|
11391
|
-
|
|
11392
|
-
return localVarFp.
|
|
12186
|
+
apiV1HospitalsHospitalIdPagesPageItemIdReactivatePut(hospitalId: string, pageItemId: string, options?: any): AxiosPromise<boolean> {
|
|
12187
|
+
return localVarFp.apiV1HospitalsHospitalIdPagesPageItemIdReactivatePut(hospitalId, pageItemId, options).then((request) => request(axios, basePath));
|
|
11393
12188
|
},
|
|
11394
12189
|
/**
|
|
11395
12190
|
*
|
|
11396
|
-
* @summary
|
|
12191
|
+
* @summary Create page
|
|
11397
12192
|
* @param {string} hospitalId
|
|
11398
|
-
* @param {
|
|
12193
|
+
* @param {CreatePageCommand} [createPageCommand]
|
|
11399
12194
|
* @param {*} [options] Override http request option.
|
|
11400
12195
|
* @throws {RequiredError}
|
|
11401
12196
|
*/
|
|
11402
|
-
|
|
11403
|
-
return localVarFp.
|
|
12197
|
+
apiV1HospitalsHospitalIdPagesPost(hospitalId: string, createPageCommand?: CreatePageCommand, options?: any): AxiosPromise<void> {
|
|
12198
|
+
return localVarFp.apiV1HospitalsHospitalIdPagesPost(hospitalId, createPageCommand, options).then((request) => request(axios, basePath));
|
|
11404
12199
|
},
|
|
11405
12200
|
/**
|
|
11406
12201
|
*
|
|
@@ -11548,6 +12343,67 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
11548
12343
|
apiV1HospitalsHospitalIdPut(hospitalId: string, updateHospitalCommand?: UpdateHospitalCommand, options?: any): AxiosPromise<HospitalModel> {
|
|
11549
12344
|
return localVarFp.apiV1HospitalsHospitalIdPut(hospitalId, updateHospitalCommand, options).then((request) => request(axios, basePath));
|
|
11550
12345
|
},
|
|
12346
|
+
/**
|
|
12347
|
+
*
|
|
12348
|
+
* @summary Get hospitalRatings
|
|
12349
|
+
* @param {string} hospitalId
|
|
12350
|
+
* @param {string} [id]
|
|
12351
|
+
* @param {string} [vender]
|
|
12352
|
+
* @param {boolean} [isConfirmed]
|
|
12353
|
+
* @param {number} [page]
|
|
12354
|
+
* @param {number} [limit]
|
|
12355
|
+
* @param {Date} [lastRetrieved]
|
|
12356
|
+
* @param {*} [options] Override http request option.
|
|
12357
|
+
* @throws {RequiredError}
|
|
12358
|
+
*/
|
|
12359
|
+
apiV1HospitalsHospitalIdRatingsGet(hospitalId: string, id?: string, vender?: string, isConfirmed?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalRatingsModel> {
|
|
12360
|
+
return localVarFp.apiV1HospitalsHospitalIdRatingsGet(hospitalId, id, vender, isConfirmed, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
12361
|
+
},
|
|
12362
|
+
/**
|
|
12363
|
+
*
|
|
12364
|
+
* @summary Delete hospitalRating
|
|
12365
|
+
* @param {string} hospitalId
|
|
12366
|
+
* @param {string} id
|
|
12367
|
+
* @param {*} [options] Override http request option.
|
|
12368
|
+
* @throws {RequiredError}
|
|
12369
|
+
*/
|
|
12370
|
+
apiV1HospitalsHospitalIdRatingsIdDelete(hospitalId: string, id: string, options?: any): AxiosPromise<boolean> {
|
|
12371
|
+
return localVarFp.apiV1HospitalsHospitalIdRatingsIdDelete(hospitalId, id, options).then((request) => request(axios, basePath));
|
|
12372
|
+
},
|
|
12373
|
+
/**
|
|
12374
|
+
*
|
|
12375
|
+
* @summary Get hospitalRating
|
|
12376
|
+
* @param {string} hospitalId
|
|
12377
|
+
* @param {string} id
|
|
12378
|
+
* @param {*} [options] Override http request option.
|
|
12379
|
+
* @throws {RequiredError}
|
|
12380
|
+
*/
|
|
12381
|
+
apiV1HospitalsHospitalIdRatingsIdGet(hospitalId: string, id: string, options?: any): AxiosPromise<HospitalRatingModel> {
|
|
12382
|
+
return localVarFp.apiV1HospitalsHospitalIdRatingsIdGet(hospitalId, id, options).then((request) => request(axios, basePath));
|
|
12383
|
+
},
|
|
12384
|
+
/**
|
|
12385
|
+
*
|
|
12386
|
+
* @summary Update hospitalRating
|
|
12387
|
+
* @param {string} hospitalId
|
|
12388
|
+
* @param {string} id
|
|
12389
|
+
* @param {UpdateHospitalRatingCommand} [updateHospitalRatingCommand]
|
|
12390
|
+
* @param {*} [options] Override http request option.
|
|
12391
|
+
* @throws {RequiredError}
|
|
12392
|
+
*/
|
|
12393
|
+
apiV1HospitalsHospitalIdRatingsIdPut(hospitalId: string, id: string, updateHospitalRatingCommand?: UpdateHospitalRatingCommand, options?: any): AxiosPromise<HospitalRatingModel> {
|
|
12394
|
+
return localVarFp.apiV1HospitalsHospitalIdRatingsIdPut(hospitalId, id, updateHospitalRatingCommand, options).then((request) => request(axios, basePath));
|
|
12395
|
+
},
|
|
12396
|
+
/**
|
|
12397
|
+
*
|
|
12398
|
+
* @summary Create hospitalRating
|
|
12399
|
+
* @param {string} hospitalId
|
|
12400
|
+
* @param {CreateHospitalRatingCommand} [createHospitalRatingCommand]
|
|
12401
|
+
* @param {*} [options] Override http request option.
|
|
12402
|
+
* @throws {RequiredError}
|
|
12403
|
+
*/
|
|
12404
|
+
apiV1HospitalsHospitalIdRatingsPost(hospitalId: string, createHospitalRatingCommand?: CreateHospitalRatingCommand, options?: any): AxiosPromise<HospitalRatingModel> {
|
|
12405
|
+
return localVarFp.apiV1HospitalsHospitalIdRatingsPost(hospitalId, createHospitalRatingCommand, options).then((request) => request(axios, basePath));
|
|
12406
|
+
},
|
|
11551
12407
|
/**
|
|
11552
12408
|
*
|
|
11553
12409
|
* @summary Delete HospitalSpecialty.
|
|
@@ -14790,133 +15646,336 @@ export interface HospitalsApiApiV1HospitalsHospitalIdNoticesNoticeIdDeleteReques
|
|
|
14790
15646
|
* @type {string}
|
|
14791
15647
|
* @memberof HospitalsApiApiV1HospitalsHospitalIdNoticesNoticeIdDelete
|
|
14792
15648
|
*/
|
|
14793
|
-
readonly languageCode?: string
|
|
15649
|
+
readonly languageCode?: string
|
|
15650
|
+
|
|
15651
|
+
/**
|
|
15652
|
+
*
|
|
15653
|
+
* @type {boolean}
|
|
15654
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdNoticesNoticeIdDelete
|
|
15655
|
+
*/
|
|
15656
|
+
readonly isPermanent?: boolean
|
|
15657
|
+
}
|
|
15658
|
+
|
|
15659
|
+
/**
|
|
15660
|
+
* Request parameters for apiV1HospitalsHospitalIdNoticesNoticeIdGet operation in HospitalsApi.
|
|
15661
|
+
* @export
|
|
15662
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdNoticesNoticeIdGetRequest
|
|
15663
|
+
*/
|
|
15664
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdNoticesNoticeIdGetRequest {
|
|
15665
|
+
/**
|
|
15666
|
+
*
|
|
15667
|
+
* @type {string}
|
|
15668
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdNoticesNoticeIdGet
|
|
15669
|
+
*/
|
|
15670
|
+
readonly hospitalId: string
|
|
15671
|
+
|
|
15672
|
+
/**
|
|
15673
|
+
*
|
|
15674
|
+
* @type {string}
|
|
15675
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdNoticesNoticeIdGet
|
|
15676
|
+
*/
|
|
15677
|
+
readonly noticeId: string
|
|
15678
|
+
|
|
15679
|
+
/**
|
|
15680
|
+
*
|
|
15681
|
+
* @type {string}
|
|
15682
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdNoticesNoticeIdGet
|
|
15683
|
+
*/
|
|
15684
|
+
readonly languageCode?: string
|
|
15685
|
+
}
|
|
15686
|
+
|
|
15687
|
+
/**
|
|
15688
|
+
* Request parameters for apiV1HospitalsHospitalIdNoticesNoticeIdPut operation in HospitalsApi.
|
|
15689
|
+
* @export
|
|
15690
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdNoticesNoticeIdPutRequest
|
|
15691
|
+
*/
|
|
15692
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdNoticesNoticeIdPutRequest {
|
|
15693
|
+
/**
|
|
15694
|
+
*
|
|
15695
|
+
* @type {string}
|
|
15696
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdNoticesNoticeIdPut
|
|
15697
|
+
*/
|
|
15698
|
+
readonly hospitalId: string
|
|
15699
|
+
|
|
15700
|
+
/**
|
|
15701
|
+
*
|
|
15702
|
+
* @type {string}
|
|
15703
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdNoticesNoticeIdPut
|
|
15704
|
+
*/
|
|
15705
|
+
readonly noticeId: string
|
|
15706
|
+
|
|
15707
|
+
/**
|
|
15708
|
+
*
|
|
15709
|
+
* @type {UpdateNoticeCommand}
|
|
15710
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdNoticesNoticeIdPut
|
|
15711
|
+
*/
|
|
15712
|
+
readonly updateNoticeCommand?: UpdateNoticeCommand
|
|
15713
|
+
}
|
|
15714
|
+
|
|
15715
|
+
/**
|
|
15716
|
+
* Request parameters for apiV1HospitalsHospitalIdNoticesNoticeIdReactivatePut operation in HospitalsApi.
|
|
15717
|
+
* @export
|
|
15718
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdNoticesNoticeIdReactivatePutRequest
|
|
15719
|
+
*/
|
|
15720
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdNoticesNoticeIdReactivatePutRequest {
|
|
15721
|
+
/**
|
|
15722
|
+
*
|
|
15723
|
+
* @type {string}
|
|
15724
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdNoticesNoticeIdReactivatePut
|
|
15725
|
+
*/
|
|
15726
|
+
readonly hospitalId: string
|
|
15727
|
+
|
|
15728
|
+
/**
|
|
15729
|
+
*
|
|
15730
|
+
* @type {string}
|
|
15731
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdNoticesNoticeIdReactivatePut
|
|
15732
|
+
*/
|
|
15733
|
+
readonly noticeId: string
|
|
15734
|
+
}
|
|
15735
|
+
|
|
15736
|
+
/**
|
|
15737
|
+
* Request parameters for apiV1HospitalsHospitalIdNoticesPost operation in HospitalsApi.
|
|
15738
|
+
* @export
|
|
15739
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdNoticesPostRequest
|
|
15740
|
+
*/
|
|
15741
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdNoticesPostRequest {
|
|
15742
|
+
/**
|
|
15743
|
+
*
|
|
15744
|
+
* @type {string}
|
|
15745
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdNoticesPost
|
|
15746
|
+
*/
|
|
15747
|
+
readonly hospitalId: string
|
|
15748
|
+
|
|
15749
|
+
/**
|
|
15750
|
+
*
|
|
15751
|
+
* @type {CreateNoticeCommand}
|
|
15752
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdNoticesPost
|
|
15753
|
+
*/
|
|
15754
|
+
readonly createNoticeCommand?: CreateNoticeCommand
|
|
15755
|
+
}
|
|
15756
|
+
|
|
15757
|
+
/**
|
|
15758
|
+
* Request parameters for apiV1HospitalsHospitalIdNoticesSortPut operation in HospitalsApi.
|
|
15759
|
+
* @export
|
|
15760
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdNoticesSortPutRequest
|
|
15761
|
+
*/
|
|
15762
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdNoticesSortPutRequest {
|
|
15763
|
+
/**
|
|
15764
|
+
*
|
|
15765
|
+
* @type {string}
|
|
15766
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdNoticesSortPut
|
|
15767
|
+
*/
|
|
15768
|
+
readonly hospitalId: string
|
|
15769
|
+
|
|
15770
|
+
/**
|
|
15771
|
+
*
|
|
15772
|
+
* @type {NoticeSortingCommand}
|
|
15773
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdNoticesSortPut
|
|
15774
|
+
*/
|
|
15775
|
+
readonly noticeSortingCommand?: NoticeSortingCommand
|
|
15776
|
+
}
|
|
15777
|
+
|
|
15778
|
+
/**
|
|
15779
|
+
* Request parameters for apiV1HospitalsHospitalIdPagesGet operation in HospitalsApi.
|
|
15780
|
+
* @export
|
|
15781
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdPagesGetRequest
|
|
15782
|
+
*/
|
|
15783
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdPagesGetRequest {
|
|
15784
|
+
/**
|
|
15785
|
+
*
|
|
15786
|
+
* @type {string}
|
|
15787
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdPagesGet
|
|
15788
|
+
*/
|
|
15789
|
+
readonly hospitalId: string
|
|
15790
|
+
|
|
15791
|
+
/**
|
|
15792
|
+
*
|
|
15793
|
+
* @type {string}
|
|
15794
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdPagesGet
|
|
15795
|
+
*/
|
|
15796
|
+
readonly id?: string
|
|
15797
|
+
|
|
15798
|
+
/**
|
|
15799
|
+
*
|
|
15800
|
+
* @type {string}
|
|
15801
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdPagesGet
|
|
15802
|
+
*/
|
|
15803
|
+
readonly languageCode?: string
|
|
15804
|
+
|
|
15805
|
+
/**
|
|
15806
|
+
*
|
|
15807
|
+
* @type {string}
|
|
15808
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdPagesGet
|
|
15809
|
+
*/
|
|
15810
|
+
readonly name?: string
|
|
15811
|
+
|
|
15812
|
+
/**
|
|
15813
|
+
*
|
|
15814
|
+
* @type {PageItemStatus}
|
|
15815
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdPagesGet
|
|
15816
|
+
*/
|
|
15817
|
+
readonly status?: PageItemStatus
|
|
15818
|
+
|
|
15819
|
+
/**
|
|
15820
|
+
*
|
|
15821
|
+
* @type {boolean}
|
|
15822
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdPagesGet
|
|
15823
|
+
*/
|
|
15824
|
+
readonly showHidden?: boolean
|
|
15825
|
+
|
|
15826
|
+
/**
|
|
15827
|
+
*
|
|
15828
|
+
* @type {number}
|
|
15829
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdPagesGet
|
|
15830
|
+
*/
|
|
15831
|
+
readonly page?: number
|
|
15832
|
+
|
|
15833
|
+
/**
|
|
15834
|
+
*
|
|
15835
|
+
* @type {number}
|
|
15836
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdPagesGet
|
|
15837
|
+
*/
|
|
15838
|
+
readonly limit?: number
|
|
14794
15839
|
|
|
14795
15840
|
/**
|
|
14796
15841
|
*
|
|
14797
|
-
* @type {
|
|
14798
|
-
* @memberof
|
|
15842
|
+
* @type {Date}
|
|
15843
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdPagesGet
|
|
14799
15844
|
*/
|
|
14800
|
-
readonly
|
|
15845
|
+
readonly lastRetrieved?: Date
|
|
14801
15846
|
}
|
|
14802
15847
|
|
|
14803
15848
|
/**
|
|
14804
|
-
* Request parameters for
|
|
15849
|
+
* Request parameters for apiV1HospitalsHospitalIdPagesPageItemIdDelete operation in HospitalsApi.
|
|
14805
15850
|
* @export
|
|
14806
|
-
* @interface
|
|
15851
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdDeleteRequest
|
|
14807
15852
|
*/
|
|
14808
|
-
export interface
|
|
15853
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdDeleteRequest {
|
|
14809
15854
|
/**
|
|
14810
15855
|
*
|
|
14811
15856
|
* @type {string}
|
|
14812
|
-
* @memberof
|
|
15857
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdDelete
|
|
14813
15858
|
*/
|
|
14814
15859
|
readonly hospitalId: string
|
|
14815
15860
|
|
|
14816
15861
|
/**
|
|
14817
15862
|
*
|
|
14818
15863
|
* @type {string}
|
|
14819
|
-
* @memberof
|
|
15864
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdDelete
|
|
14820
15865
|
*/
|
|
14821
|
-
readonly
|
|
15866
|
+
readonly pageItemId: string
|
|
15867
|
+
|
|
15868
|
+
/**
|
|
15869
|
+
*
|
|
15870
|
+
* @type {boolean}
|
|
15871
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdDelete
|
|
15872
|
+
*/
|
|
15873
|
+
readonly isPermanent?: boolean
|
|
14822
15874
|
|
|
14823
15875
|
/**
|
|
14824
15876
|
*
|
|
14825
15877
|
* @type {string}
|
|
14826
|
-
* @memberof
|
|
15878
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdDelete
|
|
14827
15879
|
*/
|
|
14828
15880
|
readonly languageCode?: string
|
|
14829
15881
|
}
|
|
14830
15882
|
|
|
14831
15883
|
/**
|
|
14832
|
-
* Request parameters for
|
|
15884
|
+
* Request parameters for apiV1HospitalsHospitalIdPagesPageItemIdGet operation in HospitalsApi.
|
|
14833
15885
|
* @export
|
|
14834
|
-
* @interface
|
|
15886
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdGetRequest
|
|
14835
15887
|
*/
|
|
14836
|
-
export interface
|
|
15888
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdGetRequest {
|
|
14837
15889
|
/**
|
|
14838
15890
|
*
|
|
14839
15891
|
* @type {string}
|
|
14840
|
-
* @memberof
|
|
15892
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdGet
|
|
14841
15893
|
*/
|
|
14842
15894
|
readonly hospitalId: string
|
|
14843
15895
|
|
|
14844
15896
|
/**
|
|
14845
15897
|
*
|
|
14846
15898
|
* @type {string}
|
|
14847
|
-
* @memberof
|
|
15899
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdGet
|
|
14848
15900
|
*/
|
|
14849
|
-
readonly
|
|
15901
|
+
readonly pageItemId: string
|
|
14850
15902
|
|
|
14851
15903
|
/**
|
|
14852
15904
|
*
|
|
14853
|
-
* @type {
|
|
14854
|
-
* @memberof
|
|
15905
|
+
* @type {string}
|
|
15906
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdGet
|
|
14855
15907
|
*/
|
|
14856
|
-
readonly
|
|
15908
|
+
readonly languageCode?: string
|
|
14857
15909
|
}
|
|
14858
15910
|
|
|
14859
15911
|
/**
|
|
14860
|
-
* Request parameters for
|
|
15912
|
+
* Request parameters for apiV1HospitalsHospitalIdPagesPageItemIdPut operation in HospitalsApi.
|
|
14861
15913
|
* @export
|
|
14862
|
-
* @interface
|
|
15914
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdPutRequest
|
|
14863
15915
|
*/
|
|
14864
|
-
export interface
|
|
15916
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdPutRequest {
|
|
14865
15917
|
/**
|
|
14866
15918
|
*
|
|
14867
15919
|
* @type {string}
|
|
14868
|
-
* @memberof
|
|
15920
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdPut
|
|
14869
15921
|
*/
|
|
14870
15922
|
readonly hospitalId: string
|
|
14871
15923
|
|
|
14872
15924
|
/**
|
|
14873
15925
|
*
|
|
14874
15926
|
* @type {string}
|
|
14875
|
-
* @memberof
|
|
15927
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdPut
|
|
14876
15928
|
*/
|
|
14877
|
-
readonly
|
|
15929
|
+
readonly pageItemId: string
|
|
15930
|
+
|
|
15931
|
+
/**
|
|
15932
|
+
*
|
|
15933
|
+
* @type {UpdatePageCommand}
|
|
15934
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdPut
|
|
15935
|
+
*/
|
|
15936
|
+
readonly updatePageCommand?: UpdatePageCommand
|
|
14878
15937
|
}
|
|
14879
15938
|
|
|
14880
15939
|
/**
|
|
14881
|
-
* Request parameters for
|
|
15940
|
+
* Request parameters for apiV1HospitalsHospitalIdPagesPageItemIdReactivatePut operation in HospitalsApi.
|
|
14882
15941
|
* @export
|
|
14883
|
-
* @interface
|
|
15942
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdReactivatePutRequest
|
|
14884
15943
|
*/
|
|
14885
|
-
export interface
|
|
15944
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdReactivatePutRequest {
|
|
14886
15945
|
/**
|
|
14887
15946
|
*
|
|
14888
15947
|
* @type {string}
|
|
14889
|
-
* @memberof
|
|
15948
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdReactivatePut
|
|
14890
15949
|
*/
|
|
14891
15950
|
readonly hospitalId: string
|
|
14892
15951
|
|
|
14893
15952
|
/**
|
|
14894
15953
|
*
|
|
14895
|
-
* @type {
|
|
14896
|
-
* @memberof
|
|
15954
|
+
* @type {string}
|
|
15955
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdReactivatePut
|
|
14897
15956
|
*/
|
|
14898
|
-
readonly
|
|
15957
|
+
readonly pageItemId: string
|
|
14899
15958
|
}
|
|
14900
15959
|
|
|
14901
15960
|
/**
|
|
14902
|
-
* Request parameters for
|
|
15961
|
+
* Request parameters for apiV1HospitalsHospitalIdPagesPost operation in HospitalsApi.
|
|
14903
15962
|
* @export
|
|
14904
|
-
* @interface
|
|
15963
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdPagesPostRequest
|
|
14905
15964
|
*/
|
|
14906
|
-
export interface
|
|
15965
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdPagesPostRequest {
|
|
14907
15966
|
/**
|
|
14908
15967
|
*
|
|
14909
15968
|
* @type {string}
|
|
14910
|
-
* @memberof
|
|
15969
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdPagesPost
|
|
14911
15970
|
*/
|
|
14912
15971
|
readonly hospitalId: string
|
|
14913
15972
|
|
|
14914
15973
|
/**
|
|
14915
15974
|
*
|
|
14916
|
-
* @type {
|
|
14917
|
-
* @memberof
|
|
15975
|
+
* @type {CreatePageCommand}
|
|
15976
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdPagesPost
|
|
14918
15977
|
*/
|
|
14919
|
-
readonly
|
|
15978
|
+
readonly createPageCommand?: CreatePageCommand
|
|
14920
15979
|
}
|
|
14921
15980
|
|
|
14922
15981
|
/**
|
|
@@ -15269,6 +16328,153 @@ export interface HospitalsApiApiV1HospitalsHospitalIdPutRequest {
|
|
|
15269
16328
|
readonly updateHospitalCommand?: UpdateHospitalCommand
|
|
15270
16329
|
}
|
|
15271
16330
|
|
|
16331
|
+
/**
|
|
16332
|
+
* Request parameters for apiV1HospitalsHospitalIdRatingsGet operation in HospitalsApi.
|
|
16333
|
+
* @export
|
|
16334
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdRatingsGetRequest
|
|
16335
|
+
*/
|
|
16336
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdRatingsGetRequest {
|
|
16337
|
+
/**
|
|
16338
|
+
*
|
|
16339
|
+
* @type {string}
|
|
16340
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdRatingsGet
|
|
16341
|
+
*/
|
|
16342
|
+
readonly hospitalId: string
|
|
16343
|
+
|
|
16344
|
+
/**
|
|
16345
|
+
*
|
|
16346
|
+
* @type {string}
|
|
16347
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdRatingsGet
|
|
16348
|
+
*/
|
|
16349
|
+
readonly id?: string
|
|
16350
|
+
|
|
16351
|
+
/**
|
|
16352
|
+
*
|
|
16353
|
+
* @type {string}
|
|
16354
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdRatingsGet
|
|
16355
|
+
*/
|
|
16356
|
+
readonly vender?: string
|
|
16357
|
+
|
|
16358
|
+
/**
|
|
16359
|
+
*
|
|
16360
|
+
* @type {boolean}
|
|
16361
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdRatingsGet
|
|
16362
|
+
*/
|
|
16363
|
+
readonly isConfirmed?: boolean
|
|
16364
|
+
|
|
16365
|
+
/**
|
|
16366
|
+
*
|
|
16367
|
+
* @type {number}
|
|
16368
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdRatingsGet
|
|
16369
|
+
*/
|
|
16370
|
+
readonly page?: number
|
|
16371
|
+
|
|
16372
|
+
/**
|
|
16373
|
+
*
|
|
16374
|
+
* @type {number}
|
|
16375
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdRatingsGet
|
|
16376
|
+
*/
|
|
16377
|
+
readonly limit?: number
|
|
16378
|
+
|
|
16379
|
+
/**
|
|
16380
|
+
*
|
|
16381
|
+
* @type {Date}
|
|
16382
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdRatingsGet
|
|
16383
|
+
*/
|
|
16384
|
+
readonly lastRetrieved?: Date
|
|
16385
|
+
}
|
|
16386
|
+
|
|
16387
|
+
/**
|
|
16388
|
+
* Request parameters for apiV1HospitalsHospitalIdRatingsIdDelete operation in HospitalsApi.
|
|
16389
|
+
* @export
|
|
16390
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdRatingsIdDeleteRequest
|
|
16391
|
+
*/
|
|
16392
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdRatingsIdDeleteRequest {
|
|
16393
|
+
/**
|
|
16394
|
+
*
|
|
16395
|
+
* @type {string}
|
|
16396
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdRatingsIdDelete
|
|
16397
|
+
*/
|
|
16398
|
+
readonly hospitalId: string
|
|
16399
|
+
|
|
16400
|
+
/**
|
|
16401
|
+
*
|
|
16402
|
+
* @type {string}
|
|
16403
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdRatingsIdDelete
|
|
16404
|
+
*/
|
|
16405
|
+
readonly id: string
|
|
16406
|
+
}
|
|
16407
|
+
|
|
16408
|
+
/**
|
|
16409
|
+
* Request parameters for apiV1HospitalsHospitalIdRatingsIdGet operation in HospitalsApi.
|
|
16410
|
+
* @export
|
|
16411
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdRatingsIdGetRequest
|
|
16412
|
+
*/
|
|
16413
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdRatingsIdGetRequest {
|
|
16414
|
+
/**
|
|
16415
|
+
*
|
|
16416
|
+
* @type {string}
|
|
16417
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdRatingsIdGet
|
|
16418
|
+
*/
|
|
16419
|
+
readonly hospitalId: string
|
|
16420
|
+
|
|
16421
|
+
/**
|
|
16422
|
+
*
|
|
16423
|
+
* @type {string}
|
|
16424
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdRatingsIdGet
|
|
16425
|
+
*/
|
|
16426
|
+
readonly id: string
|
|
16427
|
+
}
|
|
16428
|
+
|
|
16429
|
+
/**
|
|
16430
|
+
* Request parameters for apiV1HospitalsHospitalIdRatingsIdPut operation in HospitalsApi.
|
|
16431
|
+
* @export
|
|
16432
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdRatingsIdPutRequest
|
|
16433
|
+
*/
|
|
16434
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdRatingsIdPutRequest {
|
|
16435
|
+
/**
|
|
16436
|
+
*
|
|
16437
|
+
* @type {string}
|
|
16438
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdRatingsIdPut
|
|
16439
|
+
*/
|
|
16440
|
+
readonly hospitalId: string
|
|
16441
|
+
|
|
16442
|
+
/**
|
|
16443
|
+
*
|
|
16444
|
+
* @type {string}
|
|
16445
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdRatingsIdPut
|
|
16446
|
+
*/
|
|
16447
|
+
readonly id: string
|
|
16448
|
+
|
|
16449
|
+
/**
|
|
16450
|
+
*
|
|
16451
|
+
* @type {UpdateHospitalRatingCommand}
|
|
16452
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdRatingsIdPut
|
|
16453
|
+
*/
|
|
16454
|
+
readonly updateHospitalRatingCommand?: UpdateHospitalRatingCommand
|
|
16455
|
+
}
|
|
16456
|
+
|
|
16457
|
+
/**
|
|
16458
|
+
* Request parameters for apiV1HospitalsHospitalIdRatingsPost operation in HospitalsApi.
|
|
16459
|
+
* @export
|
|
16460
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdRatingsPostRequest
|
|
16461
|
+
*/
|
|
16462
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdRatingsPostRequest {
|
|
16463
|
+
/**
|
|
16464
|
+
*
|
|
16465
|
+
* @type {string}
|
|
16466
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdRatingsPost
|
|
16467
|
+
*/
|
|
16468
|
+
readonly hospitalId: string
|
|
16469
|
+
|
|
16470
|
+
/**
|
|
16471
|
+
*
|
|
16472
|
+
* @type {CreateHospitalRatingCommand}
|
|
16473
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdRatingsPost
|
|
16474
|
+
*/
|
|
16475
|
+
readonly createHospitalRatingCommand?: CreateHospitalRatingCommand
|
|
16476
|
+
}
|
|
16477
|
+
|
|
15272
16478
|
/**
|
|
15273
16479
|
* Request parameters for apiV1HospitalsHospitalIdReactivatePut operation in HospitalsApi.
|
|
15274
16480
|
* @export
|
|
@@ -18625,6 +19831,78 @@ export class HospitalsApi extends BaseAPI {
|
|
|
18625
19831
|
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdNoticesSortPut(requestParameters.hospitalId, requestParameters.noticeSortingCommand, options).then((request) => request(this.axios, this.basePath));
|
|
18626
19832
|
}
|
|
18627
19833
|
|
|
19834
|
+
/**
|
|
19835
|
+
*
|
|
19836
|
+
* @summary Get hospital pageItems
|
|
19837
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdPagesGetRequest} requestParameters Request parameters.
|
|
19838
|
+
* @param {*} [options] Override http request option.
|
|
19839
|
+
* @throws {RequiredError}
|
|
19840
|
+
* @memberof HospitalsApi
|
|
19841
|
+
*/
|
|
19842
|
+
public apiV1HospitalsHospitalIdPagesGet(requestParameters: HospitalsApiApiV1HospitalsHospitalIdPagesGetRequest, options?: AxiosRequestConfig) {
|
|
19843
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdPagesGet(requestParameters.hospitalId, requestParameters.id, requestParameters.languageCode, requestParameters.name, requestParameters.status, requestParameters.showHidden, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
19844
|
+
}
|
|
19845
|
+
|
|
19846
|
+
/**
|
|
19847
|
+
*
|
|
19848
|
+
* @summary Delete page
|
|
19849
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdDeleteRequest} requestParameters Request parameters.
|
|
19850
|
+
* @param {*} [options] Override http request option.
|
|
19851
|
+
* @throws {RequiredError}
|
|
19852
|
+
* @memberof HospitalsApi
|
|
19853
|
+
*/
|
|
19854
|
+
public apiV1HospitalsHospitalIdPagesPageItemIdDelete(requestParameters: HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdDeleteRequest, options?: AxiosRequestConfig) {
|
|
19855
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdPagesPageItemIdDelete(requestParameters.hospitalId, requestParameters.pageItemId, requestParameters.isPermanent, requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
19856
|
+
}
|
|
19857
|
+
|
|
19858
|
+
/**
|
|
19859
|
+
*
|
|
19860
|
+
* @summary Get hospital page
|
|
19861
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdGetRequest} requestParameters Request parameters.
|
|
19862
|
+
* @param {*} [options] Override http request option.
|
|
19863
|
+
* @throws {RequiredError}
|
|
19864
|
+
* @memberof HospitalsApi
|
|
19865
|
+
*/
|
|
19866
|
+
public apiV1HospitalsHospitalIdPagesPageItemIdGet(requestParameters: HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdGetRequest, options?: AxiosRequestConfig) {
|
|
19867
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdPagesPageItemIdGet(requestParameters.hospitalId, requestParameters.pageItemId, requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
19868
|
+
}
|
|
19869
|
+
|
|
19870
|
+
/**
|
|
19871
|
+
*
|
|
19872
|
+
* @summary Update page
|
|
19873
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdPutRequest} requestParameters Request parameters.
|
|
19874
|
+
* @param {*} [options] Override http request option.
|
|
19875
|
+
* @throws {RequiredError}
|
|
19876
|
+
* @memberof HospitalsApi
|
|
19877
|
+
*/
|
|
19878
|
+
public apiV1HospitalsHospitalIdPagesPageItemIdPut(requestParameters: HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdPutRequest, options?: AxiosRequestConfig) {
|
|
19879
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdPagesPageItemIdPut(requestParameters.hospitalId, requestParameters.pageItemId, requestParameters.updatePageCommand, options).then((request) => request(this.axios, this.basePath));
|
|
19880
|
+
}
|
|
19881
|
+
|
|
19882
|
+
/**
|
|
19883
|
+
*
|
|
19884
|
+
* @summary Reactivate page
|
|
19885
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdReactivatePutRequest} requestParameters Request parameters.
|
|
19886
|
+
* @param {*} [options] Override http request option.
|
|
19887
|
+
* @throws {RequiredError}
|
|
19888
|
+
* @memberof HospitalsApi
|
|
19889
|
+
*/
|
|
19890
|
+
public apiV1HospitalsHospitalIdPagesPageItemIdReactivatePut(requestParameters: HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdReactivatePutRequest, options?: AxiosRequestConfig) {
|
|
19891
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdPagesPageItemIdReactivatePut(requestParameters.hospitalId, requestParameters.pageItemId, options).then((request) => request(this.axios, this.basePath));
|
|
19892
|
+
}
|
|
19893
|
+
|
|
19894
|
+
/**
|
|
19895
|
+
*
|
|
19896
|
+
* @summary Create page
|
|
19897
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdPagesPostRequest} requestParameters Request parameters.
|
|
19898
|
+
* @param {*} [options] Override http request option.
|
|
19899
|
+
* @throws {RequiredError}
|
|
19900
|
+
* @memberof HospitalsApi
|
|
19901
|
+
*/
|
|
19902
|
+
public apiV1HospitalsHospitalIdPagesPost(requestParameters: HospitalsApiApiV1HospitalsHospitalIdPagesPostRequest, options?: AxiosRequestConfig) {
|
|
19903
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdPagesPost(requestParameters.hospitalId, requestParameters.createPageCommand, options).then((request) => request(this.axios, this.basePath));
|
|
19904
|
+
}
|
|
19905
|
+
|
|
18628
19906
|
/**
|
|
18629
19907
|
*
|
|
18630
19908
|
* @summary Get hospitalPaymentMethods list
|
|
@@ -18769,6 +20047,66 @@ export class HospitalsApi extends BaseAPI {
|
|
|
18769
20047
|
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdPut(requestParameters.hospitalId, requestParameters.updateHospitalCommand, options).then((request) => request(this.axios, this.basePath));
|
|
18770
20048
|
}
|
|
18771
20049
|
|
|
20050
|
+
/**
|
|
20051
|
+
*
|
|
20052
|
+
* @summary Get hospitalRatings
|
|
20053
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdRatingsGetRequest} requestParameters Request parameters.
|
|
20054
|
+
* @param {*} [options] Override http request option.
|
|
20055
|
+
* @throws {RequiredError}
|
|
20056
|
+
* @memberof HospitalsApi
|
|
20057
|
+
*/
|
|
20058
|
+
public apiV1HospitalsHospitalIdRatingsGet(requestParameters: HospitalsApiApiV1HospitalsHospitalIdRatingsGetRequest, options?: AxiosRequestConfig) {
|
|
20059
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdRatingsGet(requestParameters.hospitalId, requestParameters.id, requestParameters.vender, requestParameters.isConfirmed, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
20060
|
+
}
|
|
20061
|
+
|
|
20062
|
+
/**
|
|
20063
|
+
*
|
|
20064
|
+
* @summary Delete hospitalRating
|
|
20065
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdRatingsIdDeleteRequest} requestParameters Request parameters.
|
|
20066
|
+
* @param {*} [options] Override http request option.
|
|
20067
|
+
* @throws {RequiredError}
|
|
20068
|
+
* @memberof HospitalsApi
|
|
20069
|
+
*/
|
|
20070
|
+
public apiV1HospitalsHospitalIdRatingsIdDelete(requestParameters: HospitalsApiApiV1HospitalsHospitalIdRatingsIdDeleteRequest, options?: AxiosRequestConfig) {
|
|
20071
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdRatingsIdDelete(requestParameters.hospitalId, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
20072
|
+
}
|
|
20073
|
+
|
|
20074
|
+
/**
|
|
20075
|
+
*
|
|
20076
|
+
* @summary Get hospitalRating
|
|
20077
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdRatingsIdGetRequest} requestParameters Request parameters.
|
|
20078
|
+
* @param {*} [options] Override http request option.
|
|
20079
|
+
* @throws {RequiredError}
|
|
20080
|
+
* @memberof HospitalsApi
|
|
20081
|
+
*/
|
|
20082
|
+
public apiV1HospitalsHospitalIdRatingsIdGet(requestParameters: HospitalsApiApiV1HospitalsHospitalIdRatingsIdGetRequest, options?: AxiosRequestConfig) {
|
|
20083
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdRatingsIdGet(requestParameters.hospitalId, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
20084
|
+
}
|
|
20085
|
+
|
|
20086
|
+
/**
|
|
20087
|
+
*
|
|
20088
|
+
* @summary Update hospitalRating
|
|
20089
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdRatingsIdPutRequest} requestParameters Request parameters.
|
|
20090
|
+
* @param {*} [options] Override http request option.
|
|
20091
|
+
* @throws {RequiredError}
|
|
20092
|
+
* @memberof HospitalsApi
|
|
20093
|
+
*/
|
|
20094
|
+
public apiV1HospitalsHospitalIdRatingsIdPut(requestParameters: HospitalsApiApiV1HospitalsHospitalIdRatingsIdPutRequest, options?: AxiosRequestConfig) {
|
|
20095
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdRatingsIdPut(requestParameters.hospitalId, requestParameters.id, requestParameters.updateHospitalRatingCommand, options).then((request) => request(this.axios, this.basePath));
|
|
20096
|
+
}
|
|
20097
|
+
|
|
20098
|
+
/**
|
|
20099
|
+
*
|
|
20100
|
+
* @summary Create hospitalRating
|
|
20101
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdRatingsPostRequest} requestParameters Request parameters.
|
|
20102
|
+
* @param {*} [options] Override http request option.
|
|
20103
|
+
* @throws {RequiredError}
|
|
20104
|
+
* @memberof HospitalsApi
|
|
20105
|
+
*/
|
|
20106
|
+
public apiV1HospitalsHospitalIdRatingsPost(requestParameters: HospitalsApiApiV1HospitalsHospitalIdRatingsPostRequest, options?: AxiosRequestConfig) {
|
|
20107
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdRatingsPost(requestParameters.hospitalId, requestParameters.createHospitalRatingCommand, options).then((request) => request(this.axios, this.basePath));
|
|
20108
|
+
}
|
|
20109
|
+
|
|
18772
20110
|
/**
|
|
18773
20111
|
*
|
|
18774
20112
|
* @summary Delete HospitalSpecialty.
|