ch-admin-api-client-typescript 2.6.2 → 2.6.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api.d.ts +707 -50
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +1279 -178
- package/package.json +1 -1
- package/src/api.ts +1327 -170
package/src/api.ts
CHANGED
|
@@ -3319,10 +3319,10 @@ export interface CreateCountryCommand {
|
|
|
3319
3319
|
'content'?: string | null;
|
|
3320
3320
|
/**
|
|
3321
3321
|
*
|
|
3322
|
-
* @type {
|
|
3322
|
+
* @type {string}
|
|
3323
3323
|
* @memberof CreateCountryCommand
|
|
3324
3324
|
*/
|
|
3325
|
-
'
|
|
3325
|
+
'logo'?: string | null;
|
|
3326
3326
|
}
|
|
3327
3327
|
/**
|
|
3328
3328
|
*
|
|
@@ -4272,6 +4272,43 @@ export interface CreateServiceCategoryCommand {
|
|
|
4272
4272
|
*/
|
|
4273
4273
|
'order'?: number;
|
|
4274
4274
|
}
|
|
4275
|
+
/**
|
|
4276
|
+
*
|
|
4277
|
+
* @export
|
|
4278
|
+
* @interface CreateServiceReviewCommand
|
|
4279
|
+
*/
|
|
4280
|
+
export interface CreateServiceReviewCommand {
|
|
4281
|
+
/**
|
|
4282
|
+
*
|
|
4283
|
+
* @type {string}
|
|
4284
|
+
* @memberof CreateServiceReviewCommand
|
|
4285
|
+
*/
|
|
4286
|
+
'serviceId'?: string;
|
|
4287
|
+
/**
|
|
4288
|
+
*
|
|
4289
|
+
* @type {string}
|
|
4290
|
+
* @memberof CreateServiceReviewCommand
|
|
4291
|
+
*/
|
|
4292
|
+
'patientId'?: string | null;
|
|
4293
|
+
/**
|
|
4294
|
+
*
|
|
4295
|
+
* @type {string}
|
|
4296
|
+
* @memberof CreateServiceReviewCommand
|
|
4297
|
+
*/
|
|
4298
|
+
'body'?: string | null;
|
|
4299
|
+
/**
|
|
4300
|
+
*
|
|
4301
|
+
* @type {boolean}
|
|
4302
|
+
* @memberof CreateServiceReviewCommand
|
|
4303
|
+
*/
|
|
4304
|
+
'recommended'?: boolean;
|
|
4305
|
+
/**
|
|
4306
|
+
*
|
|
4307
|
+
* @type {number}
|
|
4308
|
+
* @memberof CreateServiceReviewCommand
|
|
4309
|
+
*/
|
|
4310
|
+
'rate'?: number;
|
|
4311
|
+
}
|
|
4275
4312
|
/**
|
|
4276
4313
|
*
|
|
4277
4314
|
* @export
|
|
@@ -4456,12 +4493,6 @@ export interface DealItemModel {
|
|
|
4456
4493
|
* @memberof DealItemModel
|
|
4457
4494
|
*/
|
|
4458
4495
|
'dealServices'?: Array<DealServiceItemModel> | null;
|
|
4459
|
-
/**
|
|
4460
|
-
*
|
|
4461
|
-
* @type {AuditableEntity}
|
|
4462
|
-
* @memberof DealItemModel
|
|
4463
|
-
*/
|
|
4464
|
-
'auditableEntity'?: AuditableEntity;
|
|
4465
4496
|
/**
|
|
4466
4497
|
*
|
|
4467
4498
|
* @type {Array<LocalizedUrlModel>}
|
|
@@ -4474,6 +4505,12 @@ export interface DealItemModel {
|
|
|
4474
4505
|
* @memberof DealItemModel
|
|
4475
4506
|
*/
|
|
4476
4507
|
'confirmed'?: boolean;
|
|
4508
|
+
/**
|
|
4509
|
+
*
|
|
4510
|
+
* @type {AuditableEntity}
|
|
4511
|
+
* @memberof DealItemModel
|
|
4512
|
+
*/
|
|
4513
|
+
'auditableEntity'?: AuditableEntity;
|
|
4477
4514
|
}
|
|
4478
4515
|
/**
|
|
4479
4516
|
*
|
|
@@ -4559,12 +4596,6 @@ export interface DealModel {
|
|
|
4559
4596
|
* @memberof DealModel
|
|
4560
4597
|
*/
|
|
4561
4598
|
'dealServices'?: Array<DealServiceItemModel> | null;
|
|
4562
|
-
/**
|
|
4563
|
-
*
|
|
4564
|
-
* @type {AuditableEntity}
|
|
4565
|
-
* @memberof DealModel
|
|
4566
|
-
*/
|
|
4567
|
-
'auditableEntity'?: AuditableEntity;
|
|
4568
4599
|
/**
|
|
4569
4600
|
*
|
|
4570
4601
|
* @type {Array<LocalizedUrlModel>}
|
|
@@ -4577,6 +4608,12 @@ export interface DealModel {
|
|
|
4577
4608
|
* @memberof DealModel
|
|
4578
4609
|
*/
|
|
4579
4610
|
'confirmed'?: boolean;
|
|
4611
|
+
/**
|
|
4612
|
+
*
|
|
4613
|
+
* @type {AuditableEntity}
|
|
4614
|
+
* @memberof DealModel
|
|
4615
|
+
*/
|
|
4616
|
+
'auditableEntity'?: AuditableEntity;
|
|
4580
4617
|
/**
|
|
4581
4618
|
*
|
|
4582
4619
|
* @type {string}
|
|
@@ -7918,7 +7955,10 @@ export enum MediaType {
|
|
|
7918
7955
|
Photo = 'Photo',
|
|
7919
7956
|
Video = 'Video',
|
|
7920
7957
|
Youtube = 'Youtube',
|
|
7921
|
-
Document = 'Document'
|
|
7958
|
+
Document = 'Document',
|
|
7959
|
+
Frontal = 'Frontal',
|
|
7960
|
+
Diagonal = 'Diagonal',
|
|
7961
|
+
Side = 'Side'
|
|
7922
7962
|
}
|
|
7923
7963
|
|
|
7924
7964
|
/**
|
|
@@ -8977,12 +9017,6 @@ export interface ServiceCategoryItemModel {
|
|
|
8977
9017
|
* @memberof ServiceCategoryItemModel
|
|
8978
9018
|
*/
|
|
8979
9019
|
'serviceCount'?: number;
|
|
8980
|
-
/**
|
|
8981
|
-
*
|
|
8982
|
-
* @type {Array<HospitalServiceItemModel>}
|
|
8983
|
-
* @memberof ServiceCategoryItemModel
|
|
8984
|
-
*/
|
|
8985
|
-
'services'?: Array<HospitalServiceItemModel> | null;
|
|
8986
9020
|
}
|
|
8987
9021
|
/**
|
|
8988
9022
|
*
|
|
@@ -9026,12 +9060,147 @@ export interface ServiceCategoryModel {
|
|
|
9026
9060
|
* @memberof ServiceCategoryModel
|
|
9027
9061
|
*/
|
|
9028
9062
|
'serviceCount'?: number;
|
|
9063
|
+
}
|
|
9064
|
+
/**
|
|
9065
|
+
*
|
|
9066
|
+
* @export
|
|
9067
|
+
* @interface ServiceReviewItemModel
|
|
9068
|
+
*/
|
|
9069
|
+
export interface ServiceReviewItemModel {
|
|
9029
9070
|
/**
|
|
9030
9071
|
*
|
|
9031
|
-
* @type {
|
|
9032
|
-
* @memberof
|
|
9072
|
+
* @type {string}
|
|
9073
|
+
* @memberof ServiceReviewItemModel
|
|
9074
|
+
*/
|
|
9075
|
+
'id'?: string;
|
|
9076
|
+
/**
|
|
9077
|
+
*
|
|
9078
|
+
* @type {string}
|
|
9079
|
+
* @memberof ServiceReviewItemModel
|
|
9080
|
+
*/
|
|
9081
|
+
'serviceId'?: string;
|
|
9082
|
+
/**
|
|
9083
|
+
*
|
|
9084
|
+
* @type {string}
|
|
9085
|
+
* @memberof ServiceReviewItemModel
|
|
9086
|
+
*/
|
|
9087
|
+
'serviceName'?: string | null;
|
|
9088
|
+
/**
|
|
9089
|
+
*
|
|
9090
|
+
* @type {string}
|
|
9091
|
+
* @memberof ServiceReviewItemModel
|
|
9092
|
+
*/
|
|
9093
|
+
'patientId'?: string;
|
|
9094
|
+
/**
|
|
9095
|
+
*
|
|
9096
|
+
* @type {string}
|
|
9097
|
+
* @memberof ServiceReviewItemModel
|
|
9098
|
+
*/
|
|
9099
|
+
'patientName'?: string | null;
|
|
9100
|
+
/**
|
|
9101
|
+
*
|
|
9102
|
+
* @type {string}
|
|
9103
|
+
* @memberof ServiceReviewItemModel
|
|
9104
|
+
*/
|
|
9105
|
+
'body'?: string | null;
|
|
9106
|
+
/**
|
|
9107
|
+
*
|
|
9108
|
+
* @type {boolean}
|
|
9109
|
+
* @memberof ServiceReviewItemModel
|
|
9110
|
+
*/
|
|
9111
|
+
'recommended'?: boolean;
|
|
9112
|
+
/**
|
|
9113
|
+
*
|
|
9114
|
+
* @type {number}
|
|
9115
|
+
* @memberof ServiceReviewItemModel
|
|
9116
|
+
*/
|
|
9117
|
+
'rate'?: number;
|
|
9118
|
+
/**
|
|
9119
|
+
*
|
|
9120
|
+
* @type {Array<MediaModel>}
|
|
9121
|
+
* @memberof ServiceReviewItemModel
|
|
9122
|
+
*/
|
|
9123
|
+
'medias'?: Array<MediaModel> | null;
|
|
9124
|
+
}
|
|
9125
|
+
/**
|
|
9126
|
+
*
|
|
9127
|
+
* @export
|
|
9128
|
+
* @interface ServiceReviewModel
|
|
9129
|
+
*/
|
|
9130
|
+
export interface ServiceReviewModel {
|
|
9131
|
+
/**
|
|
9132
|
+
*
|
|
9133
|
+
* @type {string}
|
|
9134
|
+
* @memberof ServiceReviewModel
|
|
9135
|
+
*/
|
|
9136
|
+
'id'?: string;
|
|
9137
|
+
/**
|
|
9138
|
+
*
|
|
9139
|
+
* @type {string}
|
|
9140
|
+
* @memberof ServiceReviewModel
|
|
9141
|
+
*/
|
|
9142
|
+
'serviceId'?: string;
|
|
9143
|
+
/**
|
|
9144
|
+
*
|
|
9145
|
+
* @type {string}
|
|
9146
|
+
* @memberof ServiceReviewModel
|
|
9147
|
+
*/
|
|
9148
|
+
'serviceName'?: string | null;
|
|
9149
|
+
/**
|
|
9150
|
+
*
|
|
9151
|
+
* @type {string}
|
|
9152
|
+
* @memberof ServiceReviewModel
|
|
9153
|
+
*/
|
|
9154
|
+
'patientId'?: string;
|
|
9155
|
+
/**
|
|
9156
|
+
*
|
|
9157
|
+
* @type {string}
|
|
9158
|
+
* @memberof ServiceReviewModel
|
|
9159
|
+
*/
|
|
9160
|
+
'patientName'?: string | null;
|
|
9161
|
+
/**
|
|
9162
|
+
*
|
|
9163
|
+
* @type {string}
|
|
9164
|
+
* @memberof ServiceReviewModel
|
|
9165
|
+
*/
|
|
9166
|
+
'body'?: string | null;
|
|
9167
|
+
/**
|
|
9168
|
+
*
|
|
9169
|
+
* @type {boolean}
|
|
9170
|
+
* @memberof ServiceReviewModel
|
|
9171
|
+
*/
|
|
9172
|
+
'recommended'?: boolean;
|
|
9173
|
+
/**
|
|
9174
|
+
*
|
|
9175
|
+
* @type {number}
|
|
9176
|
+
* @memberof ServiceReviewModel
|
|
9177
|
+
*/
|
|
9178
|
+
'rate'?: number;
|
|
9179
|
+
/**
|
|
9180
|
+
*
|
|
9181
|
+
* @type {Array<MediaModel>}
|
|
9182
|
+
* @memberof ServiceReviewModel
|
|
9183
|
+
*/
|
|
9184
|
+
'medias'?: Array<MediaModel> | null;
|
|
9185
|
+
}
|
|
9186
|
+
/**
|
|
9187
|
+
*
|
|
9188
|
+
* @export
|
|
9189
|
+
* @interface ServiceReviewsModel
|
|
9190
|
+
*/
|
|
9191
|
+
export interface ServiceReviewsModel {
|
|
9192
|
+
/**
|
|
9193
|
+
*
|
|
9194
|
+
* @type {Array<ServiceReviewItemModel>}
|
|
9195
|
+
* @memberof ServiceReviewsModel
|
|
9196
|
+
*/
|
|
9197
|
+
'items'?: Array<ServiceReviewItemModel> | null;
|
|
9198
|
+
/**
|
|
9199
|
+
*
|
|
9200
|
+
* @type {PagedListMetaData}
|
|
9201
|
+
* @memberof ServiceReviewsModel
|
|
9033
9202
|
*/
|
|
9034
|
-
'
|
|
9203
|
+
'metaData'?: PagedListMetaData;
|
|
9035
9204
|
}
|
|
9036
9205
|
/**
|
|
9037
9206
|
*
|
|
@@ -10176,6 +10345,12 @@ export interface UpdateCountryCommand {
|
|
|
10176
10345
|
* @memberof UpdateCountryCommand
|
|
10177
10346
|
*/
|
|
10178
10347
|
'slug'?: string | null;
|
|
10348
|
+
/**
|
|
10349
|
+
*
|
|
10350
|
+
* @type {string}
|
|
10351
|
+
* @memberof UpdateCountryCommand
|
|
10352
|
+
*/
|
|
10353
|
+
'logo'?: string | null;
|
|
10179
10354
|
/**
|
|
10180
10355
|
*
|
|
10181
10356
|
* @type {string}
|
|
@@ -10812,19 +10987,19 @@ export interface UpdateHospitalServiceCommand {
|
|
|
10812
10987
|
* @type {number}
|
|
10813
10988
|
* @memberof UpdateHospitalServiceCommand
|
|
10814
10989
|
*/
|
|
10815
|
-
'minPrice'?: number;
|
|
10990
|
+
'minPrice'?: number | null;
|
|
10816
10991
|
/**
|
|
10817
10992
|
*
|
|
10818
10993
|
* @type {number}
|
|
10819
10994
|
* @memberof UpdateHospitalServiceCommand
|
|
10820
10995
|
*/
|
|
10821
|
-
'maxPrice'?: number;
|
|
10996
|
+
'maxPrice'?: number | null;
|
|
10822
10997
|
/**
|
|
10823
10998
|
*
|
|
10824
10999
|
* @type {boolean}
|
|
10825
11000
|
* @memberof UpdateHospitalServiceCommand
|
|
10826
11001
|
*/
|
|
10827
|
-
'priceReuqest'?: boolean;
|
|
11002
|
+
'priceReuqest'?: boolean | null;
|
|
10828
11003
|
/**
|
|
10829
11004
|
*
|
|
10830
11005
|
* @type {Procedure}
|
|
@@ -11188,6 +11363,31 @@ export interface UpdateServiceCategoryCommand {
|
|
|
11188
11363
|
*/
|
|
11189
11364
|
'order'?: number;
|
|
11190
11365
|
}
|
|
11366
|
+
/**
|
|
11367
|
+
*
|
|
11368
|
+
* @export
|
|
11369
|
+
* @interface UpdateServiceReviewCommand
|
|
11370
|
+
*/
|
|
11371
|
+
export interface UpdateServiceReviewCommand {
|
|
11372
|
+
/**
|
|
11373
|
+
*
|
|
11374
|
+
* @type {string}
|
|
11375
|
+
* @memberof UpdateServiceReviewCommand
|
|
11376
|
+
*/
|
|
11377
|
+
'body'?: string | null;
|
|
11378
|
+
/**
|
|
11379
|
+
*
|
|
11380
|
+
* @type {boolean}
|
|
11381
|
+
* @memberof UpdateServiceReviewCommand
|
|
11382
|
+
*/
|
|
11383
|
+
'recommended'?: boolean | null;
|
|
11384
|
+
/**
|
|
11385
|
+
*
|
|
11386
|
+
* @type {number}
|
|
11387
|
+
* @memberof UpdateServiceReviewCommand
|
|
11388
|
+
*/
|
|
11389
|
+
'rate'?: number | null;
|
|
11390
|
+
}
|
|
11191
11391
|
/**
|
|
11192
11392
|
*
|
|
11193
11393
|
* @export
|
|
@@ -18485,10 +18685,10 @@ export const CountriesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18485
18685
|
* @param {*} [options] Override http request option.
|
|
18486
18686
|
* @throws {RequiredError}
|
|
18487
18687
|
*/
|
|
18488
|
-
|
|
18688
|
+
apiV1CountriesCountryIdReactivePut: async (countryId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18489
18689
|
// verify required parameter 'countryId' is not null or undefined
|
|
18490
|
-
assertParamExists('
|
|
18491
|
-
const localVarPath = `/api/v1/countries/{countryId}/
|
|
18690
|
+
assertParamExists('apiV1CountriesCountryIdReactivePut', 'countryId', countryId)
|
|
18691
|
+
const localVarPath = `/api/v1/countries/{countryId}/reactive`
|
|
18492
18692
|
.replace(`{${"countryId"}}`, encodeURIComponent(String(countryId)));
|
|
18493
18693
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18494
18694
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -18807,8 +19007,8 @@ export const CountriesApiFp = function(configuration?: Configuration) {
|
|
|
18807
19007
|
* @param {*} [options] Override http request option.
|
|
18808
19008
|
* @throws {RequiredError}
|
|
18809
19009
|
*/
|
|
18810
|
-
async
|
|
18811
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
19010
|
+
async apiV1CountriesCountryIdReactivePut(countryId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
19011
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1CountriesCountryIdReactivePut(countryId, options);
|
|
18812
19012
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
18813
19013
|
},
|
|
18814
19014
|
/**
|
|
@@ -18964,8 +19164,8 @@ export const CountriesApiFactory = function (configuration?: Configuration, base
|
|
|
18964
19164
|
* @param {*} [options] Override http request option.
|
|
18965
19165
|
* @throws {RequiredError}
|
|
18966
19166
|
*/
|
|
18967
|
-
|
|
18968
|
-
return localVarFp.
|
|
19167
|
+
apiV1CountriesCountryIdReactivePut(countryId: string, options?: any): AxiosPromise<boolean> {
|
|
19168
|
+
return localVarFp.apiV1CountriesCountryIdReactivePut(countryId, options).then((request) => request(axios, basePath));
|
|
18969
19169
|
},
|
|
18970
19170
|
/**
|
|
18971
19171
|
*
|
|
@@ -19134,8 +19334,8 @@ export class CountriesApi extends BaseAPI {
|
|
|
19134
19334
|
* @throws {RequiredError}
|
|
19135
19335
|
* @memberof CountriesApi
|
|
19136
19336
|
*/
|
|
19137
|
-
public
|
|
19138
|
-
return CountriesApiFp(this.configuration).
|
|
19337
|
+
public apiV1CountriesCountryIdReactivePut(countryId: string, options?: AxiosRequestConfig) {
|
|
19338
|
+
return CountriesApiFp(this.configuration).apiV1CountriesCountryIdReactivePut(countryId, options).then((request) => request(this.axios, this.basePath));
|
|
19139
19339
|
}
|
|
19140
19340
|
|
|
19141
19341
|
/**
|
|
@@ -22495,7 +22695,7 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
22495
22695
|
* @param {*} [options] Override http request option.
|
|
22496
22696
|
* @throws {RequiredError}
|
|
22497
22697
|
*/
|
|
22498
|
-
async apiV1DoctorsDoctorIdAffiliationsPost(doctorId: string, createDoctorAffiliationCommand?: CreateDoctorAffiliationCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
22698
|
+
async apiV1DoctorsDoctorIdAffiliationsPost(doctorId: string, createDoctorAffiliationCommand?: CreateDoctorAffiliationCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorAffiliationModel>> {
|
|
22499
22699
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdAffiliationsPost(doctorId, createDoctorAffiliationCommand, options);
|
|
22500
22700
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22501
22701
|
},
|
|
@@ -22966,7 +23166,7 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
22966
23166
|
* @param {*} [options] Override http request option.
|
|
22967
23167
|
* @throws {RequiredError}
|
|
22968
23168
|
*/
|
|
22969
|
-
apiV1DoctorsDoctorIdAffiliationsPost(doctorId: string, createDoctorAffiliationCommand?: CreateDoctorAffiliationCommand, options?: any): AxiosPromise<
|
|
23169
|
+
apiV1DoctorsDoctorIdAffiliationsPost(doctorId: string, createDoctorAffiliationCommand?: CreateDoctorAffiliationCommand, options?: any): AxiosPromise<DoctorAffiliationModel> {
|
|
22970
23170
|
return localVarFp.apiV1DoctorsDoctorIdAffiliationsPost(doctorId, createDoctorAffiliationCommand, options).then((request) => request(axios, basePath));
|
|
22971
23171
|
},
|
|
22972
23172
|
/**
|
|
@@ -26745,6 +26945,48 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
26745
26945
|
options: localVarRequestOptions,
|
|
26746
26946
|
};
|
|
26747
26947
|
},
|
|
26948
|
+
/**
|
|
26949
|
+
*
|
|
26950
|
+
* @summary Reactivate HospitalEquipment.
|
|
26951
|
+
* @param {string} hospitalId
|
|
26952
|
+
* @param {string} equipmentId
|
|
26953
|
+
* @param {*} [options] Override http request option.
|
|
26954
|
+
* @throws {RequiredError}
|
|
26955
|
+
*/
|
|
26956
|
+
apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivePut: async (hospitalId: string, equipmentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26957
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
26958
|
+
assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivePut', 'hospitalId', hospitalId)
|
|
26959
|
+
// verify required parameter 'equipmentId' is not null or undefined
|
|
26960
|
+
assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivePut', 'equipmentId', equipmentId)
|
|
26961
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/equipments/{equipmentId}/reactive`
|
|
26962
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
26963
|
+
.replace(`{${"equipmentId"}}`, encodeURIComponent(String(equipmentId)));
|
|
26964
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26965
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26966
|
+
let baseOptions;
|
|
26967
|
+
if (configuration) {
|
|
26968
|
+
baseOptions = configuration.baseOptions;
|
|
26969
|
+
}
|
|
26970
|
+
|
|
26971
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
26972
|
+
const localVarHeaderParameter = {} as any;
|
|
26973
|
+
const localVarQueryParameter = {} as any;
|
|
26974
|
+
|
|
26975
|
+
// authentication oauth2 required
|
|
26976
|
+
// oauth required
|
|
26977
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
26978
|
+
|
|
26979
|
+
|
|
26980
|
+
|
|
26981
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26982
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26983
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
26984
|
+
|
|
26985
|
+
return {
|
|
26986
|
+
url: toPathString(localVarUrlObj),
|
|
26987
|
+
options: localVarRequestOptions,
|
|
26988
|
+
};
|
|
26989
|
+
},
|
|
26748
26990
|
/**
|
|
26749
26991
|
*
|
|
26750
26992
|
* @summary Get all HospitalEquipments.
|
|
@@ -28681,6 +28923,18 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
28681
28923
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdEquipmentsEquipmentIdPut(hospitalId, equipmentId, updateHospitalEquipmentCommand, options);
|
|
28682
28924
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28683
28925
|
},
|
|
28926
|
+
/**
|
|
28927
|
+
*
|
|
28928
|
+
* @summary Reactivate HospitalEquipment.
|
|
28929
|
+
* @param {string} hospitalId
|
|
28930
|
+
* @param {string} equipmentId
|
|
28931
|
+
* @param {*} [options] Override http request option.
|
|
28932
|
+
* @throws {RequiredError}
|
|
28933
|
+
*/
|
|
28934
|
+
async apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivePut(hospitalId: string, equipmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
28935
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivePut(hospitalId, equipmentId, options);
|
|
28936
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28937
|
+
},
|
|
28684
28938
|
/**
|
|
28685
28939
|
*
|
|
28686
28940
|
* @summary Get all HospitalEquipments.
|
|
@@ -29327,6 +29581,17 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
29327
29581
|
apiV1HospitalsHospitalIdEquipmentsEquipmentIdPut(hospitalId: string, equipmentId: string, updateHospitalEquipmentCommand?: UpdateHospitalEquipmentCommand, options?: any): AxiosPromise<HospitalEquipmentModel> {
|
|
29328
29582
|
return localVarFp.apiV1HospitalsHospitalIdEquipmentsEquipmentIdPut(hospitalId, equipmentId, updateHospitalEquipmentCommand, options).then((request) => request(axios, basePath));
|
|
29329
29583
|
},
|
|
29584
|
+
/**
|
|
29585
|
+
*
|
|
29586
|
+
* @summary Reactivate HospitalEquipment.
|
|
29587
|
+
* @param {string} hospitalId
|
|
29588
|
+
* @param {string} equipmentId
|
|
29589
|
+
* @param {*} [options] Override http request option.
|
|
29590
|
+
* @throws {RequiredError}
|
|
29591
|
+
*/
|
|
29592
|
+
apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivePut(hospitalId: string, equipmentId: string, options?: any): AxiosPromise<boolean> {
|
|
29593
|
+
return localVarFp.apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivePut(hospitalId, equipmentId, options).then((request) => request(axios, basePath));
|
|
29594
|
+
},
|
|
29330
29595
|
/**
|
|
29331
29596
|
*
|
|
29332
29597
|
* @summary Get all HospitalEquipments.
|
|
@@ -29972,12 +30237,25 @@ export class HospitalsApi extends BaseAPI {
|
|
|
29972
30237
|
|
|
29973
30238
|
/**
|
|
29974
30239
|
*
|
|
29975
|
-
* @summary
|
|
30240
|
+
* @summary Reactivate HospitalEquipment.
|
|
29976
30241
|
* @param {string} hospitalId
|
|
29977
|
-
* @param {string}
|
|
29978
|
-
* @param {
|
|
29979
|
-
* @
|
|
29980
|
-
* @
|
|
30242
|
+
* @param {string} equipmentId
|
|
30243
|
+
* @param {*} [options] Override http request option.
|
|
30244
|
+
* @throws {RequiredError}
|
|
30245
|
+
* @memberof HospitalsApi
|
|
30246
|
+
*/
|
|
30247
|
+
public apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivePut(hospitalId: string, equipmentId: string, options?: AxiosRequestConfig) {
|
|
30248
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivePut(hospitalId, equipmentId, options).then((request) => request(this.axios, this.basePath));
|
|
30249
|
+
}
|
|
30250
|
+
|
|
30251
|
+
/**
|
|
30252
|
+
*
|
|
30253
|
+
* @summary Get all HospitalEquipments.
|
|
30254
|
+
* @param {string} hospitalId
|
|
30255
|
+
* @param {string} [id]
|
|
30256
|
+
* @param {string} [name]
|
|
30257
|
+
* @param {string} [hospitalId2]
|
|
30258
|
+
* @param {string} [hospitalName]
|
|
29981
30259
|
* @param {string} [description]
|
|
29982
30260
|
* @param {Date} [created]
|
|
29983
30261
|
* @param {number} [page]
|
|
@@ -33976,38 +34254,28 @@ export class ProfilesApi extends BaseAPI {
|
|
|
33976
34254
|
|
|
33977
34255
|
|
|
33978
34256
|
/**
|
|
33979
|
-
*
|
|
34257
|
+
* ServiceReviewApi - axios parameter creator
|
|
33980
34258
|
* @export
|
|
33981
34259
|
*/
|
|
33982
|
-
export const
|
|
34260
|
+
export const ServiceReviewApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
33983
34261
|
return {
|
|
33984
34262
|
/**
|
|
33985
34263
|
*
|
|
33986
|
-
* @summary Get all
|
|
33987
|
-
* @param {string} [
|
|
33988
|
-
* @param {string} [
|
|
33989
|
-
* @param {string} [
|
|
33990
|
-
* @param {string} [
|
|
33991
|
-
* @param {
|
|
33992
|
-
* @param {
|
|
33993
|
-
* @param {string} [specialtyId]
|
|
33994
|
-
* @param {string} [specialtyName]
|
|
33995
|
-
* @param {string} [specialtyTypeId]
|
|
33996
|
-
* @param {string} [specialtyTypeName]
|
|
33997
|
-
* @param {string} [serviceCategoryId]
|
|
33998
|
-
* @param {MarketingType} [marketingType]
|
|
33999
|
-
* @param {Procedure} [procedure]
|
|
34000
|
-
* @param {Date} [created]
|
|
34001
|
-
* @param {string} [languageCode]
|
|
34002
|
-
* @param {boolean} [returnDefaultValue]
|
|
34264
|
+
* @summary Get all ServiceReviews.
|
|
34265
|
+
* @param {string} [serviceId]
|
|
34266
|
+
* @param {string} [serviceName]
|
|
34267
|
+
* @param {string} [patientId]
|
|
34268
|
+
* @param {string} [patientName]
|
|
34269
|
+
* @param {boolean} [recommended]
|
|
34270
|
+
* @param {number} [rate]
|
|
34003
34271
|
* @param {number} [page]
|
|
34004
34272
|
* @param {number} [limit]
|
|
34005
34273
|
* @param {Date} [lastRetrieved]
|
|
34006
34274
|
* @param {*} [options] Override http request option.
|
|
34007
34275
|
* @throws {RequiredError}
|
|
34008
34276
|
*/
|
|
34009
|
-
|
|
34010
|
-
const localVarPath = `/api/v1/
|
|
34277
|
+
apiV1ServicereviewGet: async (serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, recommended?: boolean, rate?: number, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34278
|
+
const localVarPath = `/api/v1/servicereview`;
|
|
34011
34279
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34012
34280
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34013
34281
|
let baseOptions;
|
|
@@ -34023,70 +34291,206 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
34023
34291
|
// oauth required
|
|
34024
34292
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
34025
34293
|
|
|
34026
|
-
if (
|
|
34027
|
-
localVarQueryParameter['
|
|
34294
|
+
if (serviceId !== undefined) {
|
|
34295
|
+
localVarQueryParameter['ServiceId'] = serviceId;
|
|
34028
34296
|
}
|
|
34029
34297
|
|
|
34030
|
-
if (
|
|
34031
|
-
localVarQueryParameter['
|
|
34298
|
+
if (serviceName !== undefined) {
|
|
34299
|
+
localVarQueryParameter['ServiceName'] = serviceName;
|
|
34032
34300
|
}
|
|
34033
34301
|
|
|
34034
|
-
if (
|
|
34035
|
-
localVarQueryParameter['
|
|
34302
|
+
if (patientId !== undefined) {
|
|
34303
|
+
localVarQueryParameter['PatientId'] = patientId;
|
|
34036
34304
|
}
|
|
34037
34305
|
|
|
34038
|
-
if (
|
|
34039
|
-
localVarQueryParameter['
|
|
34306
|
+
if (patientName !== undefined) {
|
|
34307
|
+
localVarQueryParameter['PatientName'] = patientName;
|
|
34040
34308
|
}
|
|
34041
34309
|
|
|
34042
|
-
if (
|
|
34043
|
-
localVarQueryParameter['
|
|
34310
|
+
if (recommended !== undefined) {
|
|
34311
|
+
localVarQueryParameter['Recommended'] = recommended;
|
|
34044
34312
|
}
|
|
34045
34313
|
|
|
34046
|
-
if (
|
|
34047
|
-
localVarQueryParameter['
|
|
34314
|
+
if (rate !== undefined) {
|
|
34315
|
+
localVarQueryParameter['Rate'] = rate;
|
|
34048
34316
|
}
|
|
34049
34317
|
|
|
34050
|
-
if (
|
|
34051
|
-
localVarQueryParameter['
|
|
34318
|
+
if (page !== undefined) {
|
|
34319
|
+
localVarQueryParameter['page'] = page;
|
|
34052
34320
|
}
|
|
34053
34321
|
|
|
34054
|
-
if (
|
|
34055
|
-
localVarQueryParameter['
|
|
34322
|
+
if (limit !== undefined) {
|
|
34323
|
+
localVarQueryParameter['limit'] = limit;
|
|
34056
34324
|
}
|
|
34057
34325
|
|
|
34058
|
-
if (
|
|
34059
|
-
localVarQueryParameter['
|
|
34326
|
+
if (lastRetrieved !== undefined) {
|
|
34327
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
34328
|
+
(lastRetrieved as any).toISOString() :
|
|
34329
|
+
lastRetrieved;
|
|
34060
34330
|
}
|
|
34061
34331
|
|
|
34062
|
-
if (specialtyTypeName !== undefined) {
|
|
34063
|
-
localVarQueryParameter['SpecialtyTypeName'] = specialtyTypeName;
|
|
34064
|
-
}
|
|
34065
34332
|
|
|
34066
|
-
|
|
34067
|
-
|
|
34333
|
+
|
|
34334
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34335
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34336
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34337
|
+
|
|
34338
|
+
return {
|
|
34339
|
+
url: toPathString(localVarUrlObj),
|
|
34340
|
+
options: localVarRequestOptions,
|
|
34341
|
+
};
|
|
34342
|
+
},
|
|
34343
|
+
/**
|
|
34344
|
+
*
|
|
34345
|
+
* @summary Create a ServiceReview.
|
|
34346
|
+
* @param {CreateServiceReviewCommand} [createServiceReviewCommand]
|
|
34347
|
+
* @param {*} [options] Override http request option.
|
|
34348
|
+
* @throws {RequiredError}
|
|
34349
|
+
*/
|
|
34350
|
+
apiV1ServicereviewPost: async (createServiceReviewCommand?: CreateServiceReviewCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34351
|
+
const localVarPath = `/api/v1/servicereview`;
|
|
34352
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34353
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34354
|
+
let baseOptions;
|
|
34355
|
+
if (configuration) {
|
|
34356
|
+
baseOptions = configuration.baseOptions;
|
|
34068
34357
|
}
|
|
34069
34358
|
|
|
34070
|
-
|
|
34071
|
-
|
|
34359
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
34360
|
+
const localVarHeaderParameter = {} as any;
|
|
34361
|
+
const localVarQueryParameter = {} as any;
|
|
34362
|
+
|
|
34363
|
+
// authentication oauth2 required
|
|
34364
|
+
// oauth required
|
|
34365
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
34366
|
+
|
|
34367
|
+
|
|
34368
|
+
|
|
34369
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
34370
|
+
|
|
34371
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34372
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34373
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34374
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createServiceReviewCommand, localVarRequestOptions, configuration)
|
|
34375
|
+
|
|
34376
|
+
return {
|
|
34377
|
+
url: toPathString(localVarUrlObj),
|
|
34378
|
+
options: localVarRequestOptions,
|
|
34379
|
+
};
|
|
34380
|
+
},
|
|
34381
|
+
/**
|
|
34382
|
+
*
|
|
34383
|
+
* @summary Delete ServiceReview.
|
|
34384
|
+
* @param {string} serviceReviewId
|
|
34385
|
+
* @param {*} [options] Override http request option.
|
|
34386
|
+
* @throws {RequiredError}
|
|
34387
|
+
*/
|
|
34388
|
+
apiV1ServicereviewServiceReviewIdDelete: async (serviceReviewId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34389
|
+
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
34390
|
+
assertParamExists('apiV1ServicereviewServiceReviewIdDelete', 'serviceReviewId', serviceReviewId)
|
|
34391
|
+
const localVarPath = `/api/v1/servicereview/{serviceReviewId}`
|
|
34392
|
+
.replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)));
|
|
34393
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34394
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34395
|
+
let baseOptions;
|
|
34396
|
+
if (configuration) {
|
|
34397
|
+
baseOptions = configuration.baseOptions;
|
|
34072
34398
|
}
|
|
34073
34399
|
|
|
34074
|
-
|
|
34075
|
-
|
|
34400
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
34401
|
+
const localVarHeaderParameter = {} as any;
|
|
34402
|
+
const localVarQueryParameter = {} as any;
|
|
34403
|
+
|
|
34404
|
+
// authentication oauth2 required
|
|
34405
|
+
// oauth required
|
|
34406
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
34407
|
+
|
|
34408
|
+
|
|
34409
|
+
|
|
34410
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34411
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34412
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34413
|
+
|
|
34414
|
+
return {
|
|
34415
|
+
url: toPathString(localVarUrlObj),
|
|
34416
|
+
options: localVarRequestOptions,
|
|
34417
|
+
};
|
|
34418
|
+
},
|
|
34419
|
+
/**
|
|
34420
|
+
*
|
|
34421
|
+
* @param {string} serviceReviewId
|
|
34422
|
+
* @param {*} [options] Override http request option.
|
|
34423
|
+
* @throws {RequiredError}
|
|
34424
|
+
*/
|
|
34425
|
+
apiV1ServicereviewServiceReviewIdGet: async (serviceReviewId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34426
|
+
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
34427
|
+
assertParamExists('apiV1ServicereviewServiceReviewIdGet', 'serviceReviewId', serviceReviewId)
|
|
34428
|
+
const localVarPath = `/api/v1/servicereview/{serviceReviewId}`
|
|
34429
|
+
.replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)));
|
|
34430
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34431
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34432
|
+
let baseOptions;
|
|
34433
|
+
if (configuration) {
|
|
34434
|
+
baseOptions = configuration.baseOptions;
|
|
34076
34435
|
}
|
|
34077
34436
|
|
|
34078
|
-
|
|
34079
|
-
|
|
34080
|
-
|
|
34081
|
-
|
|
34437
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
34438
|
+
const localVarHeaderParameter = {} as any;
|
|
34439
|
+
const localVarQueryParameter = {} as any;
|
|
34440
|
+
|
|
34441
|
+
// authentication oauth2 required
|
|
34442
|
+
// oauth required
|
|
34443
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
34444
|
+
|
|
34445
|
+
|
|
34446
|
+
|
|
34447
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34448
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34449
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34450
|
+
|
|
34451
|
+
return {
|
|
34452
|
+
url: toPathString(localVarUrlObj),
|
|
34453
|
+
options: localVarRequestOptions,
|
|
34454
|
+
};
|
|
34455
|
+
},
|
|
34456
|
+
/**
|
|
34457
|
+
*
|
|
34458
|
+
* @summary Get all ServiceReviewMedias.
|
|
34459
|
+
* @param {string} serviceReviewId
|
|
34460
|
+
* @param {string} [id]
|
|
34461
|
+
* @param {MediaType} [mediaType]
|
|
34462
|
+
* @param {number} [page]
|
|
34463
|
+
* @param {number} [limit]
|
|
34464
|
+
* @param {Date} [lastRetrieved]
|
|
34465
|
+
* @param {*} [options] Override http request option.
|
|
34466
|
+
* @throws {RequiredError}
|
|
34467
|
+
*/
|
|
34468
|
+
apiV1ServicereviewServiceReviewIdMediasGet: async (serviceReviewId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34469
|
+
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
34470
|
+
assertParamExists('apiV1ServicereviewServiceReviewIdMediasGet', 'serviceReviewId', serviceReviewId)
|
|
34471
|
+
const localVarPath = `/api/v1/servicereview/{serviceReviewId}/medias`
|
|
34472
|
+
.replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)));
|
|
34473
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34474
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34475
|
+
let baseOptions;
|
|
34476
|
+
if (configuration) {
|
|
34477
|
+
baseOptions = configuration.baseOptions;
|
|
34082
34478
|
}
|
|
34083
34479
|
|
|
34084
|
-
|
|
34085
|
-
|
|
34480
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
34481
|
+
const localVarHeaderParameter = {} as any;
|
|
34482
|
+
const localVarQueryParameter = {} as any;
|
|
34483
|
+
|
|
34484
|
+
// authentication oauth2 required
|
|
34485
|
+
// oauth required
|
|
34486
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
34487
|
+
|
|
34488
|
+
if (id !== undefined) {
|
|
34489
|
+
localVarQueryParameter['Id'] = id;
|
|
34086
34490
|
}
|
|
34087
34491
|
|
|
34088
|
-
if (
|
|
34089
|
-
localVarQueryParameter['
|
|
34492
|
+
if (mediaType !== undefined) {
|
|
34493
|
+
localVarQueryParameter['MediaType'] = mediaType;
|
|
34090
34494
|
}
|
|
34091
34495
|
|
|
34092
34496
|
if (page !== undefined) {
|
|
@@ -34116,17 +34520,20 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
34116
34520
|
},
|
|
34117
34521
|
/**
|
|
34118
34522
|
*
|
|
34119
|
-
* @
|
|
34120
|
-
* @param {string}
|
|
34121
|
-
* @param {
|
|
34523
|
+
* @summary Delete ServiceReviewMedia
|
|
34524
|
+
* @param {string} serviceReviewId
|
|
34525
|
+
* @param {string} mediaId
|
|
34122
34526
|
* @param {*} [options] Override http request option.
|
|
34123
34527
|
* @throws {RequiredError}
|
|
34124
34528
|
*/
|
|
34125
|
-
|
|
34126
|
-
// verify required parameter '
|
|
34127
|
-
assertParamExists('
|
|
34128
|
-
|
|
34129
|
-
|
|
34529
|
+
apiV1ServicereviewServiceReviewIdMediasMediaIdDelete: async (serviceReviewId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34530
|
+
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
34531
|
+
assertParamExists('apiV1ServicereviewServiceReviewIdMediasMediaIdDelete', 'serviceReviewId', serviceReviewId)
|
|
34532
|
+
// verify required parameter 'mediaId' is not null or undefined
|
|
34533
|
+
assertParamExists('apiV1ServicereviewServiceReviewIdMediasMediaIdDelete', 'mediaId', mediaId)
|
|
34534
|
+
const localVarPath = `/api/v1/servicereview/{serviceReviewId}/medias/{mediaId}`
|
|
34535
|
+
.replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)))
|
|
34536
|
+
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
34130
34537
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34131
34538
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34132
34539
|
let baseOptions;
|
|
@@ -34134,7 +34541,7 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
34134
34541
|
baseOptions = configuration.baseOptions;
|
|
34135
34542
|
}
|
|
34136
34543
|
|
|
34137
|
-
const localVarRequestOptions = { method: '
|
|
34544
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
34138
34545
|
const localVarHeaderParameter = {} as any;
|
|
34139
34546
|
const localVarQueryParameter = {} as any;
|
|
34140
34547
|
|
|
@@ -34142,14 +34549,6 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
34142
34549
|
// oauth required
|
|
34143
34550
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
34144
34551
|
|
|
34145
|
-
if (languageCode !== undefined) {
|
|
34146
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
34147
|
-
}
|
|
34148
|
-
|
|
34149
|
-
if (returnDefaultValue !== undefined) {
|
|
34150
|
-
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
34151
|
-
}
|
|
34152
|
-
|
|
34153
34552
|
|
|
34154
34553
|
|
|
34155
34554
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -34163,17 +34562,20 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
34163
34562
|
},
|
|
34164
34563
|
/**
|
|
34165
34564
|
*
|
|
34166
|
-
* @
|
|
34167
|
-
* @param {string}
|
|
34168
|
-
* @param {
|
|
34565
|
+
* @summary Get ServiceReviewMedia.
|
|
34566
|
+
* @param {string} serviceReviewId
|
|
34567
|
+
* @param {string} mediaId
|
|
34169
34568
|
* @param {*} [options] Override http request option.
|
|
34170
34569
|
* @throws {RequiredError}
|
|
34171
34570
|
*/
|
|
34172
|
-
|
|
34173
|
-
// verify required parameter '
|
|
34174
|
-
assertParamExists('
|
|
34175
|
-
|
|
34176
|
-
|
|
34571
|
+
apiV1ServicereviewServiceReviewIdMediasMediaIdGet: async (serviceReviewId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34572
|
+
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
34573
|
+
assertParamExists('apiV1ServicereviewServiceReviewIdMediasMediaIdGet', 'serviceReviewId', serviceReviewId)
|
|
34574
|
+
// verify required parameter 'mediaId' is not null or undefined
|
|
34575
|
+
assertParamExists('apiV1ServicereviewServiceReviewIdMediasMediaIdGet', 'mediaId', mediaId)
|
|
34576
|
+
const localVarPath = `/api/v1/servicereview/{serviceReviewId}/medias/{mediaId}`
|
|
34577
|
+
.replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)))
|
|
34578
|
+
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
34177
34579
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34178
34580
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34179
34581
|
let baseOptions;
|
|
@@ -34189,14 +34591,6 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
34189
34591
|
// oauth required
|
|
34190
34592
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
34191
34593
|
|
|
34192
|
-
if (languageCode !== undefined) {
|
|
34193
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
34194
|
-
}
|
|
34195
|
-
|
|
34196
|
-
if (returnDefaultValue !== undefined) {
|
|
34197
|
-
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
34198
|
-
}
|
|
34199
|
-
|
|
34200
34594
|
|
|
34201
34595
|
|
|
34202
34596
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -34208,14 +34602,793 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
34208
34602
|
options: localVarRequestOptions,
|
|
34209
34603
|
};
|
|
34210
34604
|
},
|
|
34211
|
-
|
|
34212
|
-
|
|
34213
|
-
|
|
34214
|
-
|
|
34215
|
-
|
|
34216
|
-
|
|
34217
|
-
|
|
34218
|
-
|
|
34605
|
+
/**
|
|
34606
|
+
*
|
|
34607
|
+
* @summary Update ServiceReviewMedia.
|
|
34608
|
+
* @param {string} serviceReviewId
|
|
34609
|
+
* @param {string} mediaId
|
|
34610
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
34611
|
+
* @param {*} [options] Override http request option.
|
|
34612
|
+
* @throws {RequiredError}
|
|
34613
|
+
*/
|
|
34614
|
+
apiV1ServicereviewServiceReviewIdMediasMediaIdPut: async (serviceReviewId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34615
|
+
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
34616
|
+
assertParamExists('apiV1ServicereviewServiceReviewIdMediasMediaIdPut', 'serviceReviewId', serviceReviewId)
|
|
34617
|
+
// verify required parameter 'mediaId' is not null or undefined
|
|
34618
|
+
assertParamExists('apiV1ServicereviewServiceReviewIdMediasMediaIdPut', 'mediaId', mediaId)
|
|
34619
|
+
const localVarPath = `/api/v1/servicereview/{serviceReviewId}/medias/{mediaId}`
|
|
34620
|
+
.replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)))
|
|
34621
|
+
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
34622
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34623
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34624
|
+
let baseOptions;
|
|
34625
|
+
if (configuration) {
|
|
34626
|
+
baseOptions = configuration.baseOptions;
|
|
34627
|
+
}
|
|
34628
|
+
|
|
34629
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
34630
|
+
const localVarHeaderParameter = {} as any;
|
|
34631
|
+
const localVarQueryParameter = {} as any;
|
|
34632
|
+
|
|
34633
|
+
// authentication oauth2 required
|
|
34634
|
+
// oauth required
|
|
34635
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
34636
|
+
|
|
34637
|
+
|
|
34638
|
+
|
|
34639
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
34640
|
+
|
|
34641
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34642
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34643
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34644
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateMediaCommand, localVarRequestOptions, configuration)
|
|
34645
|
+
|
|
34646
|
+
return {
|
|
34647
|
+
url: toPathString(localVarUrlObj),
|
|
34648
|
+
options: localVarRequestOptions,
|
|
34649
|
+
};
|
|
34650
|
+
},
|
|
34651
|
+
/**
|
|
34652
|
+
*
|
|
34653
|
+
* @summary Create ServiceReviewMedia.
|
|
34654
|
+
* @param {string} serviceReviewId
|
|
34655
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
34656
|
+
* @param {*} [options] Override http request option.
|
|
34657
|
+
* @throws {RequiredError}
|
|
34658
|
+
*/
|
|
34659
|
+
apiV1ServicereviewServiceReviewIdMediasPost: async (serviceReviewId: string, createMediaCommand?: CreateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34660
|
+
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
34661
|
+
assertParamExists('apiV1ServicereviewServiceReviewIdMediasPost', 'serviceReviewId', serviceReviewId)
|
|
34662
|
+
const localVarPath = `/api/v1/servicereview/{serviceReviewId}/medias`
|
|
34663
|
+
.replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)));
|
|
34664
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34665
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34666
|
+
let baseOptions;
|
|
34667
|
+
if (configuration) {
|
|
34668
|
+
baseOptions = configuration.baseOptions;
|
|
34669
|
+
}
|
|
34670
|
+
|
|
34671
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
34672
|
+
const localVarHeaderParameter = {} as any;
|
|
34673
|
+
const localVarQueryParameter = {} as any;
|
|
34674
|
+
|
|
34675
|
+
// authentication oauth2 required
|
|
34676
|
+
// oauth required
|
|
34677
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
34678
|
+
|
|
34679
|
+
|
|
34680
|
+
|
|
34681
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
34682
|
+
|
|
34683
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34684
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34685
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34686
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createMediaCommand, localVarRequestOptions, configuration)
|
|
34687
|
+
|
|
34688
|
+
return {
|
|
34689
|
+
url: toPathString(localVarUrlObj),
|
|
34690
|
+
options: localVarRequestOptions,
|
|
34691
|
+
};
|
|
34692
|
+
},
|
|
34693
|
+
/**
|
|
34694
|
+
*
|
|
34695
|
+
* @summary Update ServiceReview.
|
|
34696
|
+
* @param {string} serviceReviewId
|
|
34697
|
+
* @param {UpdateServiceReviewCommand} [updateServiceReviewCommand]
|
|
34698
|
+
* @param {*} [options] Override http request option.
|
|
34699
|
+
* @throws {RequiredError}
|
|
34700
|
+
*/
|
|
34701
|
+
apiV1ServicereviewServiceReviewIdPut: async (serviceReviewId: string, updateServiceReviewCommand?: UpdateServiceReviewCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34702
|
+
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
34703
|
+
assertParamExists('apiV1ServicereviewServiceReviewIdPut', 'serviceReviewId', serviceReviewId)
|
|
34704
|
+
const localVarPath = `/api/v1/servicereview/{serviceReviewId}`
|
|
34705
|
+
.replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)));
|
|
34706
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34707
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34708
|
+
let baseOptions;
|
|
34709
|
+
if (configuration) {
|
|
34710
|
+
baseOptions = configuration.baseOptions;
|
|
34711
|
+
}
|
|
34712
|
+
|
|
34713
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
34714
|
+
const localVarHeaderParameter = {} as any;
|
|
34715
|
+
const localVarQueryParameter = {} as any;
|
|
34716
|
+
|
|
34717
|
+
// authentication oauth2 required
|
|
34718
|
+
// oauth required
|
|
34719
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
34720
|
+
|
|
34721
|
+
|
|
34722
|
+
|
|
34723
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
34724
|
+
|
|
34725
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34726
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34727
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34728
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateServiceReviewCommand, localVarRequestOptions, configuration)
|
|
34729
|
+
|
|
34730
|
+
return {
|
|
34731
|
+
url: toPathString(localVarUrlObj),
|
|
34732
|
+
options: localVarRequestOptions,
|
|
34733
|
+
};
|
|
34734
|
+
},
|
|
34735
|
+
}
|
|
34736
|
+
};
|
|
34737
|
+
|
|
34738
|
+
/**
|
|
34739
|
+
* ServiceReviewApi - functional programming interface
|
|
34740
|
+
* @export
|
|
34741
|
+
*/
|
|
34742
|
+
export const ServiceReviewApiFp = function(configuration?: Configuration) {
|
|
34743
|
+
const localVarAxiosParamCreator = ServiceReviewApiAxiosParamCreator(configuration)
|
|
34744
|
+
return {
|
|
34745
|
+
/**
|
|
34746
|
+
*
|
|
34747
|
+
* @summary Get all ServiceReviews.
|
|
34748
|
+
* @param {string} [serviceId]
|
|
34749
|
+
* @param {string} [serviceName]
|
|
34750
|
+
* @param {string} [patientId]
|
|
34751
|
+
* @param {string} [patientName]
|
|
34752
|
+
* @param {boolean} [recommended]
|
|
34753
|
+
* @param {number} [rate]
|
|
34754
|
+
* @param {number} [page]
|
|
34755
|
+
* @param {number} [limit]
|
|
34756
|
+
* @param {Date} [lastRetrieved]
|
|
34757
|
+
* @param {*} [options] Override http request option.
|
|
34758
|
+
* @throws {RequiredError}
|
|
34759
|
+
*/
|
|
34760
|
+
async apiV1ServicereviewGet(serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, recommended?: boolean, rate?: number, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewsModel>> {
|
|
34761
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewGet(serviceId, serviceName, patientId, patientName, recommended, rate, page, limit, lastRetrieved, options);
|
|
34762
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34763
|
+
},
|
|
34764
|
+
/**
|
|
34765
|
+
*
|
|
34766
|
+
* @summary Create a ServiceReview.
|
|
34767
|
+
* @param {CreateServiceReviewCommand} [createServiceReviewCommand]
|
|
34768
|
+
* @param {*} [options] Override http request option.
|
|
34769
|
+
* @throws {RequiredError}
|
|
34770
|
+
*/
|
|
34771
|
+
async apiV1ServicereviewPost(createServiceReviewCommand?: CreateServiceReviewCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewModel>> {
|
|
34772
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewPost(createServiceReviewCommand, options);
|
|
34773
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34774
|
+
},
|
|
34775
|
+
/**
|
|
34776
|
+
*
|
|
34777
|
+
* @summary Delete ServiceReview.
|
|
34778
|
+
* @param {string} serviceReviewId
|
|
34779
|
+
* @param {*} [options] Override http request option.
|
|
34780
|
+
* @throws {RequiredError}
|
|
34781
|
+
*/
|
|
34782
|
+
async apiV1ServicereviewServiceReviewIdDelete(serviceReviewId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
34783
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewServiceReviewIdDelete(serviceReviewId, options);
|
|
34784
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34785
|
+
},
|
|
34786
|
+
/**
|
|
34787
|
+
*
|
|
34788
|
+
* @param {string} serviceReviewId
|
|
34789
|
+
* @param {*} [options] Override http request option.
|
|
34790
|
+
* @throws {RequiredError}
|
|
34791
|
+
*/
|
|
34792
|
+
async apiV1ServicereviewServiceReviewIdGet(serviceReviewId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewModel>> {
|
|
34793
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewServiceReviewIdGet(serviceReviewId, options);
|
|
34794
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34795
|
+
},
|
|
34796
|
+
/**
|
|
34797
|
+
*
|
|
34798
|
+
* @summary Get all ServiceReviewMedias.
|
|
34799
|
+
* @param {string} serviceReviewId
|
|
34800
|
+
* @param {string} [id]
|
|
34801
|
+
* @param {MediaType} [mediaType]
|
|
34802
|
+
* @param {number} [page]
|
|
34803
|
+
* @param {number} [limit]
|
|
34804
|
+
* @param {Date} [lastRetrieved]
|
|
34805
|
+
* @param {*} [options] Override http request option.
|
|
34806
|
+
* @throws {RequiredError}
|
|
34807
|
+
*/
|
|
34808
|
+
async apiV1ServicereviewServiceReviewIdMediasGet(serviceReviewId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediasModel>> {
|
|
34809
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewServiceReviewIdMediasGet(serviceReviewId, id, mediaType, page, limit, lastRetrieved, options);
|
|
34810
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34811
|
+
},
|
|
34812
|
+
/**
|
|
34813
|
+
*
|
|
34814
|
+
* @summary Delete ServiceReviewMedia
|
|
34815
|
+
* @param {string} serviceReviewId
|
|
34816
|
+
* @param {string} mediaId
|
|
34817
|
+
* @param {*} [options] Override http request option.
|
|
34818
|
+
* @throws {RequiredError}
|
|
34819
|
+
*/
|
|
34820
|
+
async apiV1ServicereviewServiceReviewIdMediasMediaIdDelete(serviceReviewId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
34821
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewServiceReviewIdMediasMediaIdDelete(serviceReviewId, mediaId, options);
|
|
34822
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34823
|
+
},
|
|
34824
|
+
/**
|
|
34825
|
+
*
|
|
34826
|
+
* @summary Get ServiceReviewMedia.
|
|
34827
|
+
* @param {string} serviceReviewId
|
|
34828
|
+
* @param {string} mediaId
|
|
34829
|
+
* @param {*} [options] Override http request option.
|
|
34830
|
+
* @throws {RequiredError}
|
|
34831
|
+
*/
|
|
34832
|
+
async apiV1ServicereviewServiceReviewIdMediasMediaIdGet(serviceReviewId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
|
|
34833
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewServiceReviewIdMediasMediaIdGet(serviceReviewId, mediaId, options);
|
|
34834
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34835
|
+
},
|
|
34836
|
+
/**
|
|
34837
|
+
*
|
|
34838
|
+
* @summary Update ServiceReviewMedia.
|
|
34839
|
+
* @param {string} serviceReviewId
|
|
34840
|
+
* @param {string} mediaId
|
|
34841
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
34842
|
+
* @param {*} [options] Override http request option.
|
|
34843
|
+
* @throws {RequiredError}
|
|
34844
|
+
*/
|
|
34845
|
+
async apiV1ServicereviewServiceReviewIdMediasMediaIdPut(serviceReviewId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
|
|
34846
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewServiceReviewIdMediasMediaIdPut(serviceReviewId, mediaId, updateMediaCommand, options);
|
|
34847
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34848
|
+
},
|
|
34849
|
+
/**
|
|
34850
|
+
*
|
|
34851
|
+
* @summary Create ServiceReviewMedia.
|
|
34852
|
+
* @param {string} serviceReviewId
|
|
34853
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
34854
|
+
* @param {*} [options] Override http request option.
|
|
34855
|
+
* @throws {RequiredError}
|
|
34856
|
+
*/
|
|
34857
|
+
async apiV1ServicereviewServiceReviewIdMediasPost(serviceReviewId: string, createMediaCommand?: CreateMediaCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
|
|
34858
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewServiceReviewIdMediasPost(serviceReviewId, createMediaCommand, options);
|
|
34859
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34860
|
+
},
|
|
34861
|
+
/**
|
|
34862
|
+
*
|
|
34863
|
+
* @summary Update ServiceReview.
|
|
34864
|
+
* @param {string} serviceReviewId
|
|
34865
|
+
* @param {UpdateServiceReviewCommand} [updateServiceReviewCommand]
|
|
34866
|
+
* @param {*} [options] Override http request option.
|
|
34867
|
+
* @throws {RequiredError}
|
|
34868
|
+
*/
|
|
34869
|
+
async apiV1ServicereviewServiceReviewIdPut(serviceReviewId: string, updateServiceReviewCommand?: UpdateServiceReviewCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewModel>> {
|
|
34870
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewServiceReviewIdPut(serviceReviewId, updateServiceReviewCommand, options);
|
|
34871
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34872
|
+
},
|
|
34873
|
+
}
|
|
34874
|
+
};
|
|
34875
|
+
|
|
34876
|
+
/**
|
|
34877
|
+
* ServiceReviewApi - factory interface
|
|
34878
|
+
* @export
|
|
34879
|
+
*/
|
|
34880
|
+
export const ServiceReviewApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
34881
|
+
const localVarFp = ServiceReviewApiFp(configuration)
|
|
34882
|
+
return {
|
|
34883
|
+
/**
|
|
34884
|
+
*
|
|
34885
|
+
* @summary Get all ServiceReviews.
|
|
34886
|
+
* @param {string} [serviceId]
|
|
34887
|
+
* @param {string} [serviceName]
|
|
34888
|
+
* @param {string} [patientId]
|
|
34889
|
+
* @param {string} [patientName]
|
|
34890
|
+
* @param {boolean} [recommended]
|
|
34891
|
+
* @param {number} [rate]
|
|
34892
|
+
* @param {number} [page]
|
|
34893
|
+
* @param {number} [limit]
|
|
34894
|
+
* @param {Date} [lastRetrieved]
|
|
34895
|
+
* @param {*} [options] Override http request option.
|
|
34896
|
+
* @throws {RequiredError}
|
|
34897
|
+
*/
|
|
34898
|
+
apiV1ServicereviewGet(serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, recommended?: boolean, rate?: number, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceReviewsModel> {
|
|
34899
|
+
return localVarFp.apiV1ServicereviewGet(serviceId, serviceName, patientId, patientName, recommended, rate, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
34900
|
+
},
|
|
34901
|
+
/**
|
|
34902
|
+
*
|
|
34903
|
+
* @summary Create a ServiceReview.
|
|
34904
|
+
* @param {CreateServiceReviewCommand} [createServiceReviewCommand]
|
|
34905
|
+
* @param {*} [options] Override http request option.
|
|
34906
|
+
* @throws {RequiredError}
|
|
34907
|
+
*/
|
|
34908
|
+
apiV1ServicereviewPost(createServiceReviewCommand?: CreateServiceReviewCommand, options?: any): AxiosPromise<ServiceReviewModel> {
|
|
34909
|
+
return localVarFp.apiV1ServicereviewPost(createServiceReviewCommand, options).then((request) => request(axios, basePath));
|
|
34910
|
+
},
|
|
34911
|
+
/**
|
|
34912
|
+
*
|
|
34913
|
+
* @summary Delete ServiceReview.
|
|
34914
|
+
* @param {string} serviceReviewId
|
|
34915
|
+
* @param {*} [options] Override http request option.
|
|
34916
|
+
* @throws {RequiredError}
|
|
34917
|
+
*/
|
|
34918
|
+
apiV1ServicereviewServiceReviewIdDelete(serviceReviewId: string, options?: any): AxiosPromise<boolean> {
|
|
34919
|
+
return localVarFp.apiV1ServicereviewServiceReviewIdDelete(serviceReviewId, options).then((request) => request(axios, basePath));
|
|
34920
|
+
},
|
|
34921
|
+
/**
|
|
34922
|
+
*
|
|
34923
|
+
* @param {string} serviceReviewId
|
|
34924
|
+
* @param {*} [options] Override http request option.
|
|
34925
|
+
* @throws {RequiredError}
|
|
34926
|
+
*/
|
|
34927
|
+
apiV1ServicereviewServiceReviewIdGet(serviceReviewId: string, options?: any): AxiosPromise<ServiceReviewModel> {
|
|
34928
|
+
return localVarFp.apiV1ServicereviewServiceReviewIdGet(serviceReviewId, options).then((request) => request(axios, basePath));
|
|
34929
|
+
},
|
|
34930
|
+
/**
|
|
34931
|
+
*
|
|
34932
|
+
* @summary Get all ServiceReviewMedias.
|
|
34933
|
+
* @param {string} serviceReviewId
|
|
34934
|
+
* @param {string} [id]
|
|
34935
|
+
* @param {MediaType} [mediaType]
|
|
34936
|
+
* @param {number} [page]
|
|
34937
|
+
* @param {number} [limit]
|
|
34938
|
+
* @param {Date} [lastRetrieved]
|
|
34939
|
+
* @param {*} [options] Override http request option.
|
|
34940
|
+
* @throws {RequiredError}
|
|
34941
|
+
*/
|
|
34942
|
+
apiV1ServicereviewServiceReviewIdMediasGet(serviceReviewId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<MediasModel> {
|
|
34943
|
+
return localVarFp.apiV1ServicereviewServiceReviewIdMediasGet(serviceReviewId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
34944
|
+
},
|
|
34945
|
+
/**
|
|
34946
|
+
*
|
|
34947
|
+
* @summary Delete ServiceReviewMedia
|
|
34948
|
+
* @param {string} serviceReviewId
|
|
34949
|
+
* @param {string} mediaId
|
|
34950
|
+
* @param {*} [options] Override http request option.
|
|
34951
|
+
* @throws {RequiredError}
|
|
34952
|
+
*/
|
|
34953
|
+
apiV1ServicereviewServiceReviewIdMediasMediaIdDelete(serviceReviewId: string, mediaId: string, options?: any): AxiosPromise<boolean> {
|
|
34954
|
+
return localVarFp.apiV1ServicereviewServiceReviewIdMediasMediaIdDelete(serviceReviewId, mediaId, options).then((request) => request(axios, basePath));
|
|
34955
|
+
},
|
|
34956
|
+
/**
|
|
34957
|
+
*
|
|
34958
|
+
* @summary Get ServiceReviewMedia.
|
|
34959
|
+
* @param {string} serviceReviewId
|
|
34960
|
+
* @param {string} mediaId
|
|
34961
|
+
* @param {*} [options] Override http request option.
|
|
34962
|
+
* @throws {RequiredError}
|
|
34963
|
+
*/
|
|
34964
|
+
apiV1ServicereviewServiceReviewIdMediasMediaIdGet(serviceReviewId: string, mediaId: string, options?: any): AxiosPromise<MediaModel> {
|
|
34965
|
+
return localVarFp.apiV1ServicereviewServiceReviewIdMediasMediaIdGet(serviceReviewId, mediaId, options).then((request) => request(axios, basePath));
|
|
34966
|
+
},
|
|
34967
|
+
/**
|
|
34968
|
+
*
|
|
34969
|
+
* @summary Update ServiceReviewMedia.
|
|
34970
|
+
* @param {string} serviceReviewId
|
|
34971
|
+
* @param {string} mediaId
|
|
34972
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
34973
|
+
* @param {*} [options] Override http request option.
|
|
34974
|
+
* @throws {RequiredError}
|
|
34975
|
+
*/
|
|
34976
|
+
apiV1ServicereviewServiceReviewIdMediasMediaIdPut(serviceReviewId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: any): AxiosPromise<MediaModel> {
|
|
34977
|
+
return localVarFp.apiV1ServicereviewServiceReviewIdMediasMediaIdPut(serviceReviewId, mediaId, updateMediaCommand, options).then((request) => request(axios, basePath));
|
|
34978
|
+
},
|
|
34979
|
+
/**
|
|
34980
|
+
*
|
|
34981
|
+
* @summary Create ServiceReviewMedia.
|
|
34982
|
+
* @param {string} serviceReviewId
|
|
34983
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
34984
|
+
* @param {*} [options] Override http request option.
|
|
34985
|
+
* @throws {RequiredError}
|
|
34986
|
+
*/
|
|
34987
|
+
apiV1ServicereviewServiceReviewIdMediasPost(serviceReviewId: string, createMediaCommand?: CreateMediaCommand, options?: any): AxiosPromise<MediaModel> {
|
|
34988
|
+
return localVarFp.apiV1ServicereviewServiceReviewIdMediasPost(serviceReviewId, createMediaCommand, options).then((request) => request(axios, basePath));
|
|
34989
|
+
},
|
|
34990
|
+
/**
|
|
34991
|
+
*
|
|
34992
|
+
* @summary Update ServiceReview.
|
|
34993
|
+
* @param {string} serviceReviewId
|
|
34994
|
+
* @param {UpdateServiceReviewCommand} [updateServiceReviewCommand]
|
|
34995
|
+
* @param {*} [options] Override http request option.
|
|
34996
|
+
* @throws {RequiredError}
|
|
34997
|
+
*/
|
|
34998
|
+
apiV1ServicereviewServiceReviewIdPut(serviceReviewId: string, updateServiceReviewCommand?: UpdateServiceReviewCommand, options?: any): AxiosPromise<ServiceReviewModel> {
|
|
34999
|
+
return localVarFp.apiV1ServicereviewServiceReviewIdPut(serviceReviewId, updateServiceReviewCommand, options).then((request) => request(axios, basePath));
|
|
35000
|
+
},
|
|
35001
|
+
};
|
|
35002
|
+
};
|
|
35003
|
+
|
|
35004
|
+
/**
|
|
35005
|
+
* ServiceReviewApi - object-oriented interface
|
|
35006
|
+
* @export
|
|
35007
|
+
* @class ServiceReviewApi
|
|
35008
|
+
* @extends {BaseAPI}
|
|
35009
|
+
*/
|
|
35010
|
+
export class ServiceReviewApi extends BaseAPI {
|
|
35011
|
+
/**
|
|
35012
|
+
*
|
|
35013
|
+
* @summary Get all ServiceReviews.
|
|
35014
|
+
* @param {string} [serviceId]
|
|
35015
|
+
* @param {string} [serviceName]
|
|
35016
|
+
* @param {string} [patientId]
|
|
35017
|
+
* @param {string} [patientName]
|
|
35018
|
+
* @param {boolean} [recommended]
|
|
35019
|
+
* @param {number} [rate]
|
|
35020
|
+
* @param {number} [page]
|
|
35021
|
+
* @param {number} [limit]
|
|
35022
|
+
* @param {Date} [lastRetrieved]
|
|
35023
|
+
* @param {*} [options] Override http request option.
|
|
35024
|
+
* @throws {RequiredError}
|
|
35025
|
+
* @memberof ServiceReviewApi
|
|
35026
|
+
*/
|
|
35027
|
+
public apiV1ServicereviewGet(serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, recommended?: boolean, rate?: number, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
35028
|
+
return ServiceReviewApiFp(this.configuration).apiV1ServicereviewGet(serviceId, serviceName, patientId, patientName, recommended, rate, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
35029
|
+
}
|
|
35030
|
+
|
|
35031
|
+
/**
|
|
35032
|
+
*
|
|
35033
|
+
* @summary Create a ServiceReview.
|
|
35034
|
+
* @param {CreateServiceReviewCommand} [createServiceReviewCommand]
|
|
35035
|
+
* @param {*} [options] Override http request option.
|
|
35036
|
+
* @throws {RequiredError}
|
|
35037
|
+
* @memberof ServiceReviewApi
|
|
35038
|
+
*/
|
|
35039
|
+
public apiV1ServicereviewPost(createServiceReviewCommand?: CreateServiceReviewCommand, options?: AxiosRequestConfig) {
|
|
35040
|
+
return ServiceReviewApiFp(this.configuration).apiV1ServicereviewPost(createServiceReviewCommand, options).then((request) => request(this.axios, this.basePath));
|
|
35041
|
+
}
|
|
35042
|
+
|
|
35043
|
+
/**
|
|
35044
|
+
*
|
|
35045
|
+
* @summary Delete ServiceReview.
|
|
35046
|
+
* @param {string} serviceReviewId
|
|
35047
|
+
* @param {*} [options] Override http request option.
|
|
35048
|
+
* @throws {RequiredError}
|
|
35049
|
+
* @memberof ServiceReviewApi
|
|
35050
|
+
*/
|
|
35051
|
+
public apiV1ServicereviewServiceReviewIdDelete(serviceReviewId: string, options?: AxiosRequestConfig) {
|
|
35052
|
+
return ServiceReviewApiFp(this.configuration).apiV1ServicereviewServiceReviewIdDelete(serviceReviewId, options).then((request) => request(this.axios, this.basePath));
|
|
35053
|
+
}
|
|
35054
|
+
|
|
35055
|
+
/**
|
|
35056
|
+
*
|
|
35057
|
+
* @param {string} serviceReviewId
|
|
35058
|
+
* @param {*} [options] Override http request option.
|
|
35059
|
+
* @throws {RequiredError}
|
|
35060
|
+
* @memberof ServiceReviewApi
|
|
35061
|
+
*/
|
|
35062
|
+
public apiV1ServicereviewServiceReviewIdGet(serviceReviewId: string, options?: AxiosRequestConfig) {
|
|
35063
|
+
return ServiceReviewApiFp(this.configuration).apiV1ServicereviewServiceReviewIdGet(serviceReviewId, options).then((request) => request(this.axios, this.basePath));
|
|
35064
|
+
}
|
|
35065
|
+
|
|
35066
|
+
/**
|
|
35067
|
+
*
|
|
35068
|
+
* @summary Get all ServiceReviewMedias.
|
|
35069
|
+
* @param {string} serviceReviewId
|
|
35070
|
+
* @param {string} [id]
|
|
35071
|
+
* @param {MediaType} [mediaType]
|
|
35072
|
+
* @param {number} [page]
|
|
35073
|
+
* @param {number} [limit]
|
|
35074
|
+
* @param {Date} [lastRetrieved]
|
|
35075
|
+
* @param {*} [options] Override http request option.
|
|
35076
|
+
* @throws {RequiredError}
|
|
35077
|
+
* @memberof ServiceReviewApi
|
|
35078
|
+
*/
|
|
35079
|
+
public apiV1ServicereviewServiceReviewIdMediasGet(serviceReviewId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
35080
|
+
return ServiceReviewApiFp(this.configuration).apiV1ServicereviewServiceReviewIdMediasGet(serviceReviewId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
35081
|
+
}
|
|
35082
|
+
|
|
35083
|
+
/**
|
|
35084
|
+
*
|
|
35085
|
+
* @summary Delete ServiceReviewMedia
|
|
35086
|
+
* @param {string} serviceReviewId
|
|
35087
|
+
* @param {string} mediaId
|
|
35088
|
+
* @param {*} [options] Override http request option.
|
|
35089
|
+
* @throws {RequiredError}
|
|
35090
|
+
* @memberof ServiceReviewApi
|
|
35091
|
+
*/
|
|
35092
|
+
public apiV1ServicereviewServiceReviewIdMediasMediaIdDelete(serviceReviewId: string, mediaId: string, options?: AxiosRequestConfig) {
|
|
35093
|
+
return ServiceReviewApiFp(this.configuration).apiV1ServicereviewServiceReviewIdMediasMediaIdDelete(serviceReviewId, mediaId, options).then((request) => request(this.axios, this.basePath));
|
|
35094
|
+
}
|
|
35095
|
+
|
|
35096
|
+
/**
|
|
35097
|
+
*
|
|
35098
|
+
* @summary Get ServiceReviewMedia.
|
|
35099
|
+
* @param {string} serviceReviewId
|
|
35100
|
+
* @param {string} mediaId
|
|
35101
|
+
* @param {*} [options] Override http request option.
|
|
35102
|
+
* @throws {RequiredError}
|
|
35103
|
+
* @memberof ServiceReviewApi
|
|
35104
|
+
*/
|
|
35105
|
+
public apiV1ServicereviewServiceReviewIdMediasMediaIdGet(serviceReviewId: string, mediaId: string, options?: AxiosRequestConfig) {
|
|
35106
|
+
return ServiceReviewApiFp(this.configuration).apiV1ServicereviewServiceReviewIdMediasMediaIdGet(serviceReviewId, mediaId, options).then((request) => request(this.axios, this.basePath));
|
|
35107
|
+
}
|
|
35108
|
+
|
|
35109
|
+
/**
|
|
35110
|
+
*
|
|
35111
|
+
* @summary Update ServiceReviewMedia.
|
|
35112
|
+
* @param {string} serviceReviewId
|
|
35113
|
+
* @param {string} mediaId
|
|
35114
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
35115
|
+
* @param {*} [options] Override http request option.
|
|
35116
|
+
* @throws {RequiredError}
|
|
35117
|
+
* @memberof ServiceReviewApi
|
|
35118
|
+
*/
|
|
35119
|
+
public apiV1ServicereviewServiceReviewIdMediasMediaIdPut(serviceReviewId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: AxiosRequestConfig) {
|
|
35120
|
+
return ServiceReviewApiFp(this.configuration).apiV1ServicereviewServiceReviewIdMediasMediaIdPut(serviceReviewId, mediaId, updateMediaCommand, options).then((request) => request(this.axios, this.basePath));
|
|
35121
|
+
}
|
|
35122
|
+
|
|
35123
|
+
/**
|
|
35124
|
+
*
|
|
35125
|
+
* @summary Create ServiceReviewMedia.
|
|
35126
|
+
* @param {string} serviceReviewId
|
|
35127
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
35128
|
+
* @param {*} [options] Override http request option.
|
|
35129
|
+
* @throws {RequiredError}
|
|
35130
|
+
* @memberof ServiceReviewApi
|
|
35131
|
+
*/
|
|
35132
|
+
public apiV1ServicereviewServiceReviewIdMediasPost(serviceReviewId: string, createMediaCommand?: CreateMediaCommand, options?: AxiosRequestConfig) {
|
|
35133
|
+
return ServiceReviewApiFp(this.configuration).apiV1ServicereviewServiceReviewIdMediasPost(serviceReviewId, createMediaCommand, options).then((request) => request(this.axios, this.basePath));
|
|
35134
|
+
}
|
|
35135
|
+
|
|
35136
|
+
/**
|
|
35137
|
+
*
|
|
35138
|
+
* @summary Update ServiceReview.
|
|
35139
|
+
* @param {string} serviceReviewId
|
|
35140
|
+
* @param {UpdateServiceReviewCommand} [updateServiceReviewCommand]
|
|
35141
|
+
* @param {*} [options] Override http request option.
|
|
35142
|
+
* @throws {RequiredError}
|
|
35143
|
+
* @memberof ServiceReviewApi
|
|
35144
|
+
*/
|
|
35145
|
+
public apiV1ServicereviewServiceReviewIdPut(serviceReviewId: string, updateServiceReviewCommand?: UpdateServiceReviewCommand, options?: AxiosRequestConfig) {
|
|
35146
|
+
return ServiceReviewApiFp(this.configuration).apiV1ServicereviewServiceReviewIdPut(serviceReviewId, updateServiceReviewCommand, options).then((request) => request(this.axios, this.basePath));
|
|
35147
|
+
}
|
|
35148
|
+
}
|
|
35149
|
+
|
|
35150
|
+
|
|
35151
|
+
/**
|
|
35152
|
+
* ServicesApi - axios parameter creator
|
|
35153
|
+
* @export
|
|
35154
|
+
*/
|
|
35155
|
+
export const ServicesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
35156
|
+
return {
|
|
35157
|
+
/**
|
|
35158
|
+
*
|
|
35159
|
+
* @summary Get all HospitalServices.
|
|
35160
|
+
* @param {string} [hospitalId]
|
|
35161
|
+
* @param {string} [hospitalName]
|
|
35162
|
+
* @param {string} [hospitalSlug]
|
|
35163
|
+
* @param {string} [id]
|
|
35164
|
+
* @param {string} [name]
|
|
35165
|
+
* @param {string} [description]
|
|
35166
|
+
* @param {string} [specialtyId]
|
|
35167
|
+
* @param {string} [specialtyName]
|
|
35168
|
+
* @param {string} [specialtyTypeId]
|
|
35169
|
+
* @param {string} [specialtyTypeName]
|
|
35170
|
+
* @param {string} [serviceCategoryId]
|
|
35171
|
+
* @param {MarketingType} [marketingType]
|
|
35172
|
+
* @param {Procedure} [procedure]
|
|
35173
|
+
* @param {Date} [created]
|
|
35174
|
+
* @param {string} [languageCode]
|
|
35175
|
+
* @param {boolean} [returnDefaultValue]
|
|
35176
|
+
* @param {number} [page]
|
|
35177
|
+
* @param {number} [limit]
|
|
35178
|
+
* @param {Date} [lastRetrieved]
|
|
35179
|
+
* @param {*} [options] Override http request option.
|
|
35180
|
+
* @throws {RequiredError}
|
|
35181
|
+
*/
|
|
35182
|
+
apiV1ServicesGet: async (hospitalId?: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35183
|
+
const localVarPath = `/api/v1/services`;
|
|
35184
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35185
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35186
|
+
let baseOptions;
|
|
35187
|
+
if (configuration) {
|
|
35188
|
+
baseOptions = configuration.baseOptions;
|
|
35189
|
+
}
|
|
35190
|
+
|
|
35191
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
35192
|
+
const localVarHeaderParameter = {} as any;
|
|
35193
|
+
const localVarQueryParameter = {} as any;
|
|
35194
|
+
|
|
35195
|
+
// authentication oauth2 required
|
|
35196
|
+
// oauth required
|
|
35197
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
35198
|
+
|
|
35199
|
+
if (hospitalId !== undefined) {
|
|
35200
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
35201
|
+
}
|
|
35202
|
+
|
|
35203
|
+
if (hospitalName !== undefined) {
|
|
35204
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
35205
|
+
}
|
|
35206
|
+
|
|
35207
|
+
if (hospitalSlug !== undefined) {
|
|
35208
|
+
localVarQueryParameter['HospitalSlug'] = hospitalSlug;
|
|
35209
|
+
}
|
|
35210
|
+
|
|
35211
|
+
if (id !== undefined) {
|
|
35212
|
+
localVarQueryParameter['Id'] = id;
|
|
35213
|
+
}
|
|
35214
|
+
|
|
35215
|
+
if (name !== undefined) {
|
|
35216
|
+
localVarQueryParameter['Name'] = name;
|
|
35217
|
+
}
|
|
35218
|
+
|
|
35219
|
+
if (description !== undefined) {
|
|
35220
|
+
localVarQueryParameter['Description'] = description;
|
|
35221
|
+
}
|
|
35222
|
+
|
|
35223
|
+
if (specialtyId !== undefined) {
|
|
35224
|
+
localVarQueryParameter['SpecialtyId'] = specialtyId;
|
|
35225
|
+
}
|
|
35226
|
+
|
|
35227
|
+
if (specialtyName !== undefined) {
|
|
35228
|
+
localVarQueryParameter['SpecialtyName'] = specialtyName;
|
|
35229
|
+
}
|
|
35230
|
+
|
|
35231
|
+
if (specialtyTypeId !== undefined) {
|
|
35232
|
+
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
35233
|
+
}
|
|
35234
|
+
|
|
35235
|
+
if (specialtyTypeName !== undefined) {
|
|
35236
|
+
localVarQueryParameter['SpecialtyTypeName'] = specialtyTypeName;
|
|
35237
|
+
}
|
|
35238
|
+
|
|
35239
|
+
if (serviceCategoryId !== undefined) {
|
|
35240
|
+
localVarQueryParameter['ServiceCategoryId'] = serviceCategoryId;
|
|
35241
|
+
}
|
|
35242
|
+
|
|
35243
|
+
if (marketingType !== undefined) {
|
|
35244
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
35245
|
+
}
|
|
35246
|
+
|
|
35247
|
+
if (procedure !== undefined) {
|
|
35248
|
+
localVarQueryParameter['Procedure'] = procedure;
|
|
35249
|
+
}
|
|
35250
|
+
|
|
35251
|
+
if (created !== undefined) {
|
|
35252
|
+
localVarQueryParameter['Created'] = (created as any instanceof Date) ?
|
|
35253
|
+
(created as any).toISOString() :
|
|
35254
|
+
created;
|
|
35255
|
+
}
|
|
35256
|
+
|
|
35257
|
+
if (languageCode !== undefined) {
|
|
35258
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
35259
|
+
}
|
|
35260
|
+
|
|
35261
|
+
if (returnDefaultValue !== undefined) {
|
|
35262
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
35263
|
+
}
|
|
35264
|
+
|
|
35265
|
+
if (page !== undefined) {
|
|
35266
|
+
localVarQueryParameter['page'] = page;
|
|
35267
|
+
}
|
|
35268
|
+
|
|
35269
|
+
if (limit !== undefined) {
|
|
35270
|
+
localVarQueryParameter['limit'] = limit;
|
|
35271
|
+
}
|
|
35272
|
+
|
|
35273
|
+
if (lastRetrieved !== undefined) {
|
|
35274
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
35275
|
+
(lastRetrieved as any).toISOString() :
|
|
35276
|
+
lastRetrieved;
|
|
35277
|
+
}
|
|
35278
|
+
|
|
35279
|
+
|
|
35280
|
+
|
|
35281
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35282
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35283
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
35284
|
+
|
|
35285
|
+
return {
|
|
35286
|
+
url: toPathString(localVarUrlObj),
|
|
35287
|
+
options: localVarRequestOptions,
|
|
35288
|
+
};
|
|
35289
|
+
},
|
|
35290
|
+
/**
|
|
35291
|
+
*
|
|
35292
|
+
* @param {string} serviceId
|
|
35293
|
+
* @param {string} [languageCode]
|
|
35294
|
+
* @param {boolean} [returnDefaultValue]
|
|
35295
|
+
* @param {*} [options] Override http request option.
|
|
35296
|
+
* @throws {RequiredError}
|
|
35297
|
+
*/
|
|
35298
|
+
apiV1ServicesServiceIdGet: async (serviceId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35299
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
35300
|
+
assertParamExists('apiV1ServicesServiceIdGet', 'serviceId', serviceId)
|
|
35301
|
+
const localVarPath = `/api/v1/services/{serviceId}`
|
|
35302
|
+
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
|
|
35303
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35304
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35305
|
+
let baseOptions;
|
|
35306
|
+
if (configuration) {
|
|
35307
|
+
baseOptions = configuration.baseOptions;
|
|
35308
|
+
}
|
|
35309
|
+
|
|
35310
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
35311
|
+
const localVarHeaderParameter = {} as any;
|
|
35312
|
+
const localVarQueryParameter = {} as any;
|
|
35313
|
+
|
|
35314
|
+
// authentication oauth2 required
|
|
35315
|
+
// oauth required
|
|
35316
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
35317
|
+
|
|
35318
|
+
if (languageCode !== undefined) {
|
|
35319
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
35320
|
+
}
|
|
35321
|
+
|
|
35322
|
+
if (returnDefaultValue !== undefined) {
|
|
35323
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
35324
|
+
}
|
|
35325
|
+
|
|
35326
|
+
|
|
35327
|
+
|
|
35328
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35329
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35330
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
35331
|
+
|
|
35332
|
+
return {
|
|
35333
|
+
url: toPathString(localVarUrlObj),
|
|
35334
|
+
options: localVarRequestOptions,
|
|
35335
|
+
};
|
|
35336
|
+
},
|
|
35337
|
+
/**
|
|
35338
|
+
*
|
|
35339
|
+
* @param {string} slug
|
|
35340
|
+
* @param {string} [languageCode]
|
|
35341
|
+
* @param {boolean} [returnDefaultValue]
|
|
35342
|
+
* @param {*} [options] Override http request option.
|
|
35343
|
+
* @throws {RequiredError}
|
|
35344
|
+
*/
|
|
35345
|
+
apiV1ServicesSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35346
|
+
// verify required parameter 'slug' is not null or undefined
|
|
35347
|
+
assertParamExists('apiV1ServicesSlugGet', 'slug', slug)
|
|
35348
|
+
const localVarPath = `/api/v1/services/{slug}`
|
|
35349
|
+
.replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
|
|
35350
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35351
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35352
|
+
let baseOptions;
|
|
35353
|
+
if (configuration) {
|
|
35354
|
+
baseOptions = configuration.baseOptions;
|
|
35355
|
+
}
|
|
35356
|
+
|
|
35357
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
35358
|
+
const localVarHeaderParameter = {} as any;
|
|
35359
|
+
const localVarQueryParameter = {} as any;
|
|
35360
|
+
|
|
35361
|
+
// authentication oauth2 required
|
|
35362
|
+
// oauth required
|
|
35363
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
35364
|
+
|
|
35365
|
+
if (languageCode !== undefined) {
|
|
35366
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
35367
|
+
}
|
|
35368
|
+
|
|
35369
|
+
if (returnDefaultValue !== undefined) {
|
|
35370
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
35371
|
+
}
|
|
35372
|
+
|
|
35373
|
+
|
|
35374
|
+
|
|
35375
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35376
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35377
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
35378
|
+
|
|
35379
|
+
return {
|
|
35380
|
+
url: toPathString(localVarUrlObj),
|
|
35381
|
+
options: localVarRequestOptions,
|
|
35382
|
+
};
|
|
35383
|
+
},
|
|
35384
|
+
}
|
|
35385
|
+
};
|
|
35386
|
+
|
|
35387
|
+
/**
|
|
35388
|
+
* ServicesApi - functional programming interface
|
|
35389
|
+
* @export
|
|
35390
|
+
*/
|
|
35391
|
+
export const ServicesApiFp = function(configuration?: Configuration) {
|
|
34219
35392
|
const localVarAxiosParamCreator = ServicesApiAxiosParamCreator(configuration)
|
|
34220
35393
|
return {
|
|
34221
35394
|
/**
|
|
@@ -34411,14 +35584,13 @@ export const ServicesCategoriesApiAxiosParamCreator = function (configuration?:
|
|
|
34411
35584
|
* @param {string} [id]
|
|
34412
35585
|
* @param {string} [name]
|
|
34413
35586
|
* @param {string} [description]
|
|
34414
|
-
* @param {string} [languageCode]
|
|
34415
35587
|
* @param {number} [page]
|
|
34416
35588
|
* @param {number} [limit]
|
|
34417
35589
|
* @param {Date} [lastRetrieved]
|
|
34418
35590
|
* @param {*} [options] Override http request option.
|
|
34419
35591
|
* @throws {RequiredError}
|
|
34420
35592
|
*/
|
|
34421
|
-
apiV1ServicescategoriesGet: async (id?: string, name?: string, description?: string,
|
|
35593
|
+
apiV1ServicescategoriesGet: async (id?: string, name?: string, description?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34422
35594
|
const localVarPath = `/api/v1/servicescategories`;
|
|
34423
35595
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34424
35596
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -34447,10 +35619,6 @@ export const ServicesCategoriesApiAxiosParamCreator = function (configuration?:
|
|
|
34447
35619
|
localVarQueryParameter['Description'] = description;
|
|
34448
35620
|
}
|
|
34449
35621
|
|
|
34450
|
-
if (languageCode !== undefined) {
|
|
34451
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
34452
|
-
}
|
|
34453
|
-
|
|
34454
35622
|
if (page !== undefined) {
|
|
34455
35623
|
localVarQueryParameter['page'] = page;
|
|
34456
35624
|
}
|
|
@@ -34555,11 +35723,10 @@ export const ServicesCategoriesApiAxiosParamCreator = function (configuration?:
|
|
|
34555
35723
|
*
|
|
34556
35724
|
* @summary Get ServiceCategory.
|
|
34557
35725
|
* @param {string} serviceCategoryId
|
|
34558
|
-
* @param {string} [languageCode]
|
|
34559
35726
|
* @param {*} [options] Override http request option.
|
|
34560
35727
|
* @throws {RequiredError}
|
|
34561
35728
|
*/
|
|
34562
|
-
apiV1ServicescategoriesServiceCategoryIdGet: async (serviceCategoryId: string,
|
|
35729
|
+
apiV1ServicescategoriesServiceCategoryIdGet: async (serviceCategoryId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34563
35730
|
// verify required parameter 'serviceCategoryId' is not null or undefined
|
|
34564
35731
|
assertParamExists('apiV1ServicescategoriesServiceCategoryIdGet', 'serviceCategoryId', serviceCategoryId)
|
|
34565
35732
|
const localVarPath = `/api/v1/servicescategories/{serviceCategoryId}`
|
|
@@ -34579,10 +35746,6 @@ export const ServicesCategoriesApiAxiosParamCreator = function (configuration?:
|
|
|
34579
35746
|
// oauth required
|
|
34580
35747
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
34581
35748
|
|
|
34582
|
-
if (languageCode !== undefined) {
|
|
34583
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
34584
|
-
}
|
|
34585
|
-
|
|
34586
35749
|
|
|
34587
35750
|
|
|
34588
35751
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -34652,15 +35815,14 @@ export const ServicesCategoriesApiFp = function(configuration?: Configuration) {
|
|
|
34652
35815
|
* @param {string} [id]
|
|
34653
35816
|
* @param {string} [name]
|
|
34654
35817
|
* @param {string} [description]
|
|
34655
|
-
* @param {string} [languageCode]
|
|
34656
35818
|
* @param {number} [page]
|
|
34657
35819
|
* @param {number} [limit]
|
|
34658
35820
|
* @param {Date} [lastRetrieved]
|
|
34659
35821
|
* @param {*} [options] Override http request option.
|
|
34660
35822
|
* @throws {RequiredError}
|
|
34661
35823
|
*/
|
|
34662
|
-
async apiV1ServicescategoriesGet(id?: string, name?: string, description?: string,
|
|
34663
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicescategoriesGet(id, name, description,
|
|
35824
|
+
async apiV1ServicescategoriesGet(id?: string, name?: string, description?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceCategoriesModel>> {
|
|
35825
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicescategoriesGet(id, name, description, page, limit, lastRetrieved, options);
|
|
34664
35826
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34665
35827
|
},
|
|
34666
35828
|
/**
|
|
@@ -34688,12 +35850,11 @@ export const ServicesCategoriesApiFp = function(configuration?: Configuration) {
|
|
|
34688
35850
|
*
|
|
34689
35851
|
* @summary Get ServiceCategory.
|
|
34690
35852
|
* @param {string} serviceCategoryId
|
|
34691
|
-
* @param {string} [languageCode]
|
|
34692
35853
|
* @param {*} [options] Override http request option.
|
|
34693
35854
|
* @throws {RequiredError}
|
|
34694
35855
|
*/
|
|
34695
|
-
async apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId: string,
|
|
34696
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId,
|
|
35856
|
+
async apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceCategoryModel>> {
|
|
35857
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId, options);
|
|
34697
35858
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34698
35859
|
},
|
|
34699
35860
|
/**
|
|
@@ -34724,15 +35885,14 @@ export const ServicesCategoriesApiFactory = function (configuration?: Configurat
|
|
|
34724
35885
|
* @param {string} [id]
|
|
34725
35886
|
* @param {string} [name]
|
|
34726
35887
|
* @param {string} [description]
|
|
34727
|
-
* @param {string} [languageCode]
|
|
34728
35888
|
* @param {number} [page]
|
|
34729
35889
|
* @param {number} [limit]
|
|
34730
35890
|
* @param {Date} [lastRetrieved]
|
|
34731
35891
|
* @param {*} [options] Override http request option.
|
|
34732
35892
|
* @throws {RequiredError}
|
|
34733
35893
|
*/
|
|
34734
|
-
apiV1ServicescategoriesGet(id?: string, name?: string, description?: string,
|
|
34735
|
-
return localVarFp.apiV1ServicescategoriesGet(id, name, description,
|
|
35894
|
+
apiV1ServicescategoriesGet(id?: string, name?: string, description?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceCategoriesModel> {
|
|
35895
|
+
return localVarFp.apiV1ServicescategoriesGet(id, name, description, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
34736
35896
|
},
|
|
34737
35897
|
/**
|
|
34738
35898
|
*
|
|
@@ -34757,12 +35917,11 @@ export const ServicesCategoriesApiFactory = function (configuration?: Configurat
|
|
|
34757
35917
|
*
|
|
34758
35918
|
* @summary Get ServiceCategory.
|
|
34759
35919
|
* @param {string} serviceCategoryId
|
|
34760
|
-
* @param {string} [languageCode]
|
|
34761
35920
|
* @param {*} [options] Override http request option.
|
|
34762
35921
|
* @throws {RequiredError}
|
|
34763
35922
|
*/
|
|
34764
|
-
apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId: string,
|
|
34765
|
-
return localVarFp.apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId,
|
|
35923
|
+
apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId: string, options?: any): AxiosPromise<ServiceCategoryModel> {
|
|
35924
|
+
return localVarFp.apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId, options).then((request) => request(axios, basePath));
|
|
34766
35925
|
},
|
|
34767
35926
|
/**
|
|
34768
35927
|
*
|
|
@@ -34791,7 +35950,6 @@ export class ServicesCategoriesApi extends BaseAPI {
|
|
|
34791
35950
|
* @param {string} [id]
|
|
34792
35951
|
* @param {string} [name]
|
|
34793
35952
|
* @param {string} [description]
|
|
34794
|
-
* @param {string} [languageCode]
|
|
34795
35953
|
* @param {number} [page]
|
|
34796
35954
|
* @param {number} [limit]
|
|
34797
35955
|
* @param {Date} [lastRetrieved]
|
|
@@ -34799,8 +35957,8 @@ export class ServicesCategoriesApi extends BaseAPI {
|
|
|
34799
35957
|
* @throws {RequiredError}
|
|
34800
35958
|
* @memberof ServicesCategoriesApi
|
|
34801
35959
|
*/
|
|
34802
|
-
public apiV1ServicescategoriesGet(id?: string, name?: string, description?: string,
|
|
34803
|
-
return ServicesCategoriesApiFp(this.configuration).apiV1ServicescategoriesGet(id, name, description,
|
|
35960
|
+
public apiV1ServicescategoriesGet(id?: string, name?: string, description?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
35961
|
+
return ServicesCategoriesApiFp(this.configuration).apiV1ServicescategoriesGet(id, name, description, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
34804
35962
|
}
|
|
34805
35963
|
|
|
34806
35964
|
/**
|
|
@@ -34830,13 +35988,12 @@ export class ServicesCategoriesApi extends BaseAPI {
|
|
|
34830
35988
|
*
|
|
34831
35989
|
* @summary Get ServiceCategory.
|
|
34832
35990
|
* @param {string} serviceCategoryId
|
|
34833
|
-
* @param {string} [languageCode]
|
|
34834
35991
|
* @param {*} [options] Override http request option.
|
|
34835
35992
|
* @throws {RequiredError}
|
|
34836
35993
|
* @memberof ServicesCategoriesApi
|
|
34837
35994
|
*/
|
|
34838
|
-
public apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId: string,
|
|
34839
|
-
return ServicesCategoriesApiFp(this.configuration).apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId,
|
|
35995
|
+
public apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId: string, options?: AxiosRequestConfig) {
|
|
35996
|
+
return ServicesCategoriesApiFp(this.configuration).apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId, options).then((request) => request(this.axios, this.basePath));
|
|
34840
35997
|
}
|
|
34841
35998
|
|
|
34842
35999
|
/**
|