ch-admin-api-client-typescript 2.6.3 → 2.6.8
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 +689 -48
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +1279 -185
- package/package.json +1 -1
- package/src/api.ts +1220 -83
package/src/api.ts
CHANGED
|
@@ -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,18 +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
|
|
9033
9074
|
*/
|
|
9034
|
-
'
|
|
9075
|
+
'id'?: string;
|
|
9035
9076
|
/**
|
|
9036
9077
|
*
|
|
9037
9078
|
* @type {string}
|
|
9038
|
-
* @memberof
|
|
9079
|
+
* @memberof ServiceReviewItemModel
|
|
9039
9080
|
*/
|
|
9040
|
-
'
|
|
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
|
|
9202
|
+
*/
|
|
9203
|
+
'metaData'?: PagedListMetaData;
|
|
9041
9204
|
}
|
|
9042
9205
|
/**
|
|
9043
9206
|
*
|
|
@@ -11200,6 +11363,31 @@ export interface UpdateServiceCategoryCommand {
|
|
|
11200
11363
|
*/
|
|
11201
11364
|
'order'?: number;
|
|
11202
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
|
+
}
|
|
11203
11391
|
/**
|
|
11204
11392
|
*
|
|
11205
11393
|
* @export
|
|
@@ -18497,10 +18685,10 @@ export const CountriesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18497
18685
|
* @param {*} [options] Override http request option.
|
|
18498
18686
|
* @throws {RequiredError}
|
|
18499
18687
|
*/
|
|
18500
|
-
|
|
18688
|
+
apiV1CountriesCountryIdReactivePut: async (countryId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18501
18689
|
// verify required parameter 'countryId' is not null or undefined
|
|
18502
|
-
assertParamExists('
|
|
18503
|
-
const localVarPath = `/api/v1/countries/{countryId}/
|
|
18690
|
+
assertParamExists('apiV1CountriesCountryIdReactivePut', 'countryId', countryId)
|
|
18691
|
+
const localVarPath = `/api/v1/countries/{countryId}/reactive`
|
|
18504
18692
|
.replace(`{${"countryId"}}`, encodeURIComponent(String(countryId)));
|
|
18505
18693
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18506
18694
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -18819,8 +19007,8 @@ export const CountriesApiFp = function(configuration?: Configuration) {
|
|
|
18819
19007
|
* @param {*} [options] Override http request option.
|
|
18820
19008
|
* @throws {RequiredError}
|
|
18821
19009
|
*/
|
|
18822
|
-
async
|
|
18823
|
-
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);
|
|
18824
19012
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
18825
19013
|
},
|
|
18826
19014
|
/**
|
|
@@ -18976,8 +19164,8 @@ export const CountriesApiFactory = function (configuration?: Configuration, base
|
|
|
18976
19164
|
* @param {*} [options] Override http request option.
|
|
18977
19165
|
* @throws {RequiredError}
|
|
18978
19166
|
*/
|
|
18979
|
-
|
|
18980
|
-
return localVarFp.
|
|
19167
|
+
apiV1CountriesCountryIdReactivePut(countryId: string, options?: any): AxiosPromise<boolean> {
|
|
19168
|
+
return localVarFp.apiV1CountriesCountryIdReactivePut(countryId, options).then((request) => request(axios, basePath));
|
|
18981
19169
|
},
|
|
18982
19170
|
/**
|
|
18983
19171
|
*
|
|
@@ -19146,8 +19334,8 @@ export class CountriesApi extends BaseAPI {
|
|
|
19146
19334
|
* @throws {RequiredError}
|
|
19147
19335
|
* @memberof CountriesApi
|
|
19148
19336
|
*/
|
|
19149
|
-
public
|
|
19150
|
-
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));
|
|
19151
19339
|
}
|
|
19152
19340
|
|
|
19153
19341
|
/**
|
|
@@ -26757,6 +26945,48 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
26757
26945
|
options: localVarRequestOptions,
|
|
26758
26946
|
};
|
|
26759
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
|
+
},
|
|
26760
26990
|
/**
|
|
26761
26991
|
*
|
|
26762
26992
|
* @summary Get all HospitalEquipments.
|
|
@@ -28693,6 +28923,18 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
28693
28923
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdEquipmentsEquipmentIdPut(hospitalId, equipmentId, updateHospitalEquipmentCommand, options);
|
|
28694
28924
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28695
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
|
+
},
|
|
28696
28938
|
/**
|
|
28697
28939
|
*
|
|
28698
28940
|
* @summary Get all HospitalEquipments.
|
|
@@ -29339,6 +29581,17 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
29339
29581
|
apiV1HospitalsHospitalIdEquipmentsEquipmentIdPut(hospitalId: string, equipmentId: string, updateHospitalEquipmentCommand?: UpdateHospitalEquipmentCommand, options?: any): AxiosPromise<HospitalEquipmentModel> {
|
|
29340
29582
|
return localVarFp.apiV1HospitalsHospitalIdEquipmentsEquipmentIdPut(hospitalId, equipmentId, updateHospitalEquipmentCommand, options).then((request) => request(axios, basePath));
|
|
29341
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
|
+
},
|
|
29342
29595
|
/**
|
|
29343
29596
|
*
|
|
29344
29597
|
* @summary Get all HospitalEquipments.
|
|
@@ -29982,6 +30235,19 @@ export class HospitalsApi extends BaseAPI {
|
|
|
29982
30235
|
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdEquipmentsEquipmentIdPut(hospitalId, equipmentId, updateHospitalEquipmentCommand, options).then((request) => request(this.axios, this.basePath));
|
|
29983
30236
|
}
|
|
29984
30237
|
|
|
30238
|
+
/**
|
|
30239
|
+
*
|
|
30240
|
+
* @summary Reactivate HospitalEquipment.
|
|
30241
|
+
* @param {string} hospitalId
|
|
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
|
+
|
|
29985
30251
|
/**
|
|
29986
30252
|
*
|
|
29987
30253
|
* @summary Get all HospitalEquipments.
|
|
@@ -33988,23 +34254,918 @@ export class ProfilesApi extends BaseAPI {
|
|
|
33988
34254
|
|
|
33989
34255
|
|
|
33990
34256
|
/**
|
|
33991
|
-
*
|
|
34257
|
+
* ServiceReviewApi - axios parameter creator
|
|
33992
34258
|
* @export
|
|
33993
34259
|
*/
|
|
33994
|
-
export const
|
|
34260
|
+
export const ServiceReviewApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
33995
34261
|
return {
|
|
33996
34262
|
/**
|
|
33997
34263
|
*
|
|
33998
|
-
* @summary Get all
|
|
33999
|
-
* @param {string} [
|
|
34000
|
-
* @param {string} [
|
|
34001
|
-
* @param {string} [
|
|
34002
|
-
* @param {string} [
|
|
34003
|
-
* @param {
|
|
34004
|
-
* @param {
|
|
34005
|
-
* @param {
|
|
34006
|
-
* @param {
|
|
34007
|
-
* @param {
|
|
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]
|
|
34271
|
+
* @param {number} [page]
|
|
34272
|
+
* @param {number} [limit]
|
|
34273
|
+
* @param {Date} [lastRetrieved]
|
|
34274
|
+
* @param {*} [options] Override http request option.
|
|
34275
|
+
* @throws {RequiredError}
|
|
34276
|
+
*/
|
|
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`;
|
|
34279
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34280
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34281
|
+
let baseOptions;
|
|
34282
|
+
if (configuration) {
|
|
34283
|
+
baseOptions = configuration.baseOptions;
|
|
34284
|
+
}
|
|
34285
|
+
|
|
34286
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
34287
|
+
const localVarHeaderParameter = {} as any;
|
|
34288
|
+
const localVarQueryParameter = {} as any;
|
|
34289
|
+
|
|
34290
|
+
// authentication oauth2 required
|
|
34291
|
+
// oauth required
|
|
34292
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
34293
|
+
|
|
34294
|
+
if (serviceId !== undefined) {
|
|
34295
|
+
localVarQueryParameter['ServiceId'] = serviceId;
|
|
34296
|
+
}
|
|
34297
|
+
|
|
34298
|
+
if (serviceName !== undefined) {
|
|
34299
|
+
localVarQueryParameter['ServiceName'] = serviceName;
|
|
34300
|
+
}
|
|
34301
|
+
|
|
34302
|
+
if (patientId !== undefined) {
|
|
34303
|
+
localVarQueryParameter['PatientId'] = patientId;
|
|
34304
|
+
}
|
|
34305
|
+
|
|
34306
|
+
if (patientName !== undefined) {
|
|
34307
|
+
localVarQueryParameter['PatientName'] = patientName;
|
|
34308
|
+
}
|
|
34309
|
+
|
|
34310
|
+
if (recommended !== undefined) {
|
|
34311
|
+
localVarQueryParameter['Recommended'] = recommended;
|
|
34312
|
+
}
|
|
34313
|
+
|
|
34314
|
+
if (rate !== undefined) {
|
|
34315
|
+
localVarQueryParameter['Rate'] = rate;
|
|
34316
|
+
}
|
|
34317
|
+
|
|
34318
|
+
if (page !== undefined) {
|
|
34319
|
+
localVarQueryParameter['page'] = page;
|
|
34320
|
+
}
|
|
34321
|
+
|
|
34322
|
+
if (limit !== undefined) {
|
|
34323
|
+
localVarQueryParameter['limit'] = limit;
|
|
34324
|
+
}
|
|
34325
|
+
|
|
34326
|
+
if (lastRetrieved !== undefined) {
|
|
34327
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
34328
|
+
(lastRetrieved as any).toISOString() :
|
|
34329
|
+
lastRetrieved;
|
|
34330
|
+
}
|
|
34331
|
+
|
|
34332
|
+
|
|
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;
|
|
34357
|
+
}
|
|
34358
|
+
|
|
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;
|
|
34398
|
+
}
|
|
34399
|
+
|
|
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;
|
|
34435
|
+
}
|
|
34436
|
+
|
|
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;
|
|
34478
|
+
}
|
|
34479
|
+
|
|
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;
|
|
34490
|
+
}
|
|
34491
|
+
|
|
34492
|
+
if (mediaType !== undefined) {
|
|
34493
|
+
localVarQueryParameter['MediaType'] = mediaType;
|
|
34494
|
+
}
|
|
34495
|
+
|
|
34496
|
+
if (page !== undefined) {
|
|
34497
|
+
localVarQueryParameter['page'] = page;
|
|
34498
|
+
}
|
|
34499
|
+
|
|
34500
|
+
if (limit !== undefined) {
|
|
34501
|
+
localVarQueryParameter['limit'] = limit;
|
|
34502
|
+
}
|
|
34503
|
+
|
|
34504
|
+
if (lastRetrieved !== undefined) {
|
|
34505
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
34506
|
+
(lastRetrieved as any).toISOString() :
|
|
34507
|
+
lastRetrieved;
|
|
34508
|
+
}
|
|
34509
|
+
|
|
34510
|
+
|
|
34511
|
+
|
|
34512
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34513
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34514
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34515
|
+
|
|
34516
|
+
return {
|
|
34517
|
+
url: toPathString(localVarUrlObj),
|
|
34518
|
+
options: localVarRequestOptions,
|
|
34519
|
+
};
|
|
34520
|
+
},
|
|
34521
|
+
/**
|
|
34522
|
+
*
|
|
34523
|
+
* @summary Delete ServiceReviewMedia
|
|
34524
|
+
* @param {string} serviceReviewId
|
|
34525
|
+
* @param {string} mediaId
|
|
34526
|
+
* @param {*} [options] Override http request option.
|
|
34527
|
+
* @throws {RequiredError}
|
|
34528
|
+
*/
|
|
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)));
|
|
34537
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34538
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34539
|
+
let baseOptions;
|
|
34540
|
+
if (configuration) {
|
|
34541
|
+
baseOptions = configuration.baseOptions;
|
|
34542
|
+
}
|
|
34543
|
+
|
|
34544
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
34545
|
+
const localVarHeaderParameter = {} as any;
|
|
34546
|
+
const localVarQueryParameter = {} as any;
|
|
34547
|
+
|
|
34548
|
+
// authentication oauth2 required
|
|
34549
|
+
// oauth required
|
|
34550
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
34551
|
+
|
|
34552
|
+
|
|
34553
|
+
|
|
34554
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34555
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34556
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34557
|
+
|
|
34558
|
+
return {
|
|
34559
|
+
url: toPathString(localVarUrlObj),
|
|
34560
|
+
options: localVarRequestOptions,
|
|
34561
|
+
};
|
|
34562
|
+
},
|
|
34563
|
+
/**
|
|
34564
|
+
*
|
|
34565
|
+
* @summary Get ServiceReviewMedia.
|
|
34566
|
+
* @param {string} serviceReviewId
|
|
34567
|
+
* @param {string} mediaId
|
|
34568
|
+
* @param {*} [options] Override http request option.
|
|
34569
|
+
* @throws {RequiredError}
|
|
34570
|
+
*/
|
|
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)));
|
|
34579
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34580
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34581
|
+
let baseOptions;
|
|
34582
|
+
if (configuration) {
|
|
34583
|
+
baseOptions = configuration.baseOptions;
|
|
34584
|
+
}
|
|
34585
|
+
|
|
34586
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
34587
|
+
const localVarHeaderParameter = {} as any;
|
|
34588
|
+
const localVarQueryParameter = {} as any;
|
|
34589
|
+
|
|
34590
|
+
// authentication oauth2 required
|
|
34591
|
+
// oauth required
|
|
34592
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
34593
|
+
|
|
34594
|
+
|
|
34595
|
+
|
|
34596
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34597
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34598
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34599
|
+
|
|
34600
|
+
return {
|
|
34601
|
+
url: toPathString(localVarUrlObj),
|
|
34602
|
+
options: localVarRequestOptions,
|
|
34603
|
+
};
|
|
34604
|
+
},
|
|
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]
|
|
34008
35169
|
* @param {string} [specialtyTypeName]
|
|
34009
35170
|
* @param {string} [serviceCategoryId]
|
|
34010
35171
|
* @param {MarketingType} [marketingType]
|
|
@@ -34423,15 +35584,13 @@ export const ServicesCategoriesApiAxiosParamCreator = function (configuration?:
|
|
|
34423
35584
|
* @param {string} [id]
|
|
34424
35585
|
* @param {string} [name]
|
|
34425
35586
|
* @param {string} [description]
|
|
34426
|
-
* @param {string} [languageCode]
|
|
34427
|
-
* @param {boolean} [returnDefaultValue]
|
|
34428
35587
|
* @param {number} [page]
|
|
34429
35588
|
* @param {number} [limit]
|
|
34430
35589
|
* @param {Date} [lastRetrieved]
|
|
34431
35590
|
* @param {*} [options] Override http request option.
|
|
34432
35591
|
* @throws {RequiredError}
|
|
34433
35592
|
*/
|
|
34434
|
-
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> => {
|
|
34435
35594
|
const localVarPath = `/api/v1/servicescategories`;
|
|
34436
35595
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34437
35596
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -34460,14 +35619,6 @@ export const ServicesCategoriesApiAxiosParamCreator = function (configuration?:
|
|
|
34460
35619
|
localVarQueryParameter['Description'] = description;
|
|
34461
35620
|
}
|
|
34462
35621
|
|
|
34463
|
-
if (languageCode !== undefined) {
|
|
34464
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
34465
|
-
}
|
|
34466
|
-
|
|
34467
|
-
if (returnDefaultValue !== undefined) {
|
|
34468
|
-
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
34469
|
-
}
|
|
34470
|
-
|
|
34471
35622
|
if (page !== undefined) {
|
|
34472
35623
|
localVarQueryParameter['page'] = page;
|
|
34473
35624
|
}
|
|
@@ -34572,11 +35723,10 @@ export const ServicesCategoriesApiAxiosParamCreator = function (configuration?:
|
|
|
34572
35723
|
*
|
|
34573
35724
|
* @summary Get ServiceCategory.
|
|
34574
35725
|
* @param {string} serviceCategoryId
|
|
34575
|
-
* @param {string} [languageCode]
|
|
34576
35726
|
* @param {*} [options] Override http request option.
|
|
34577
35727
|
* @throws {RequiredError}
|
|
34578
35728
|
*/
|
|
34579
|
-
apiV1ServicescategoriesServiceCategoryIdGet: async (serviceCategoryId: string,
|
|
35729
|
+
apiV1ServicescategoriesServiceCategoryIdGet: async (serviceCategoryId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34580
35730
|
// verify required parameter 'serviceCategoryId' is not null or undefined
|
|
34581
35731
|
assertParamExists('apiV1ServicescategoriesServiceCategoryIdGet', 'serviceCategoryId', serviceCategoryId)
|
|
34582
35732
|
const localVarPath = `/api/v1/servicescategories/{serviceCategoryId}`
|
|
@@ -34596,10 +35746,6 @@ export const ServicesCategoriesApiAxiosParamCreator = function (configuration?:
|
|
|
34596
35746
|
// oauth required
|
|
34597
35747
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
34598
35748
|
|
|
34599
|
-
if (languageCode !== undefined) {
|
|
34600
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
34601
|
-
}
|
|
34602
|
-
|
|
34603
35749
|
|
|
34604
35750
|
|
|
34605
35751
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -34669,16 +35815,14 @@ export const ServicesCategoriesApiFp = function(configuration?: Configuration) {
|
|
|
34669
35815
|
* @param {string} [id]
|
|
34670
35816
|
* @param {string} [name]
|
|
34671
35817
|
* @param {string} [description]
|
|
34672
|
-
* @param {string} [languageCode]
|
|
34673
|
-
* @param {boolean} [returnDefaultValue]
|
|
34674
35818
|
* @param {number} [page]
|
|
34675
35819
|
* @param {number} [limit]
|
|
34676
35820
|
* @param {Date} [lastRetrieved]
|
|
34677
35821
|
* @param {*} [options] Override http request option.
|
|
34678
35822
|
* @throws {RequiredError}
|
|
34679
35823
|
*/
|
|
34680
|
-
async apiV1ServicescategoriesGet(id?: string, name?: string, description?: string,
|
|
34681
|
-
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);
|
|
34682
35826
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34683
35827
|
},
|
|
34684
35828
|
/**
|
|
@@ -34706,12 +35850,11 @@ export const ServicesCategoriesApiFp = function(configuration?: Configuration) {
|
|
|
34706
35850
|
*
|
|
34707
35851
|
* @summary Get ServiceCategory.
|
|
34708
35852
|
* @param {string} serviceCategoryId
|
|
34709
|
-
* @param {string} [languageCode]
|
|
34710
35853
|
* @param {*} [options] Override http request option.
|
|
34711
35854
|
* @throws {RequiredError}
|
|
34712
35855
|
*/
|
|
34713
|
-
async apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId: string,
|
|
34714
|
-
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);
|
|
34715
35858
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34716
35859
|
},
|
|
34717
35860
|
/**
|
|
@@ -34742,16 +35885,14 @@ export const ServicesCategoriesApiFactory = function (configuration?: Configurat
|
|
|
34742
35885
|
* @param {string} [id]
|
|
34743
35886
|
* @param {string} [name]
|
|
34744
35887
|
* @param {string} [description]
|
|
34745
|
-
* @param {string} [languageCode]
|
|
34746
|
-
* @param {boolean} [returnDefaultValue]
|
|
34747
35888
|
* @param {number} [page]
|
|
34748
35889
|
* @param {number} [limit]
|
|
34749
35890
|
* @param {Date} [lastRetrieved]
|
|
34750
35891
|
* @param {*} [options] Override http request option.
|
|
34751
35892
|
* @throws {RequiredError}
|
|
34752
35893
|
*/
|
|
34753
|
-
apiV1ServicescategoriesGet(id?: string, name?: string, description?: string,
|
|
34754
|
-
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));
|
|
34755
35896
|
},
|
|
34756
35897
|
/**
|
|
34757
35898
|
*
|
|
@@ -34776,12 +35917,11 @@ export const ServicesCategoriesApiFactory = function (configuration?: Configurat
|
|
|
34776
35917
|
*
|
|
34777
35918
|
* @summary Get ServiceCategory.
|
|
34778
35919
|
* @param {string} serviceCategoryId
|
|
34779
|
-
* @param {string} [languageCode]
|
|
34780
35920
|
* @param {*} [options] Override http request option.
|
|
34781
35921
|
* @throws {RequiredError}
|
|
34782
35922
|
*/
|
|
34783
|
-
apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId: string,
|
|
34784
|
-
return localVarFp.apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId,
|
|
35923
|
+
apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId: string, options?: any): AxiosPromise<ServiceCategoryModel> {
|
|
35924
|
+
return localVarFp.apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId, options).then((request) => request(axios, basePath));
|
|
34785
35925
|
},
|
|
34786
35926
|
/**
|
|
34787
35927
|
*
|
|
@@ -34810,8 +35950,6 @@ export class ServicesCategoriesApi extends BaseAPI {
|
|
|
34810
35950
|
* @param {string} [id]
|
|
34811
35951
|
* @param {string} [name]
|
|
34812
35952
|
* @param {string} [description]
|
|
34813
|
-
* @param {string} [languageCode]
|
|
34814
|
-
* @param {boolean} [returnDefaultValue]
|
|
34815
35953
|
* @param {number} [page]
|
|
34816
35954
|
* @param {number} [limit]
|
|
34817
35955
|
* @param {Date} [lastRetrieved]
|
|
@@ -34819,8 +35957,8 @@ export class ServicesCategoriesApi extends BaseAPI {
|
|
|
34819
35957
|
* @throws {RequiredError}
|
|
34820
35958
|
* @memberof ServicesCategoriesApi
|
|
34821
35959
|
*/
|
|
34822
|
-
public apiV1ServicescategoriesGet(id?: string, name?: string, description?: string,
|
|
34823
|
-
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));
|
|
34824
35962
|
}
|
|
34825
35963
|
|
|
34826
35964
|
/**
|
|
@@ -34850,13 +35988,12 @@ export class ServicesCategoriesApi extends BaseAPI {
|
|
|
34850
35988
|
*
|
|
34851
35989
|
* @summary Get ServiceCategory.
|
|
34852
35990
|
* @param {string} serviceCategoryId
|
|
34853
|
-
* @param {string} [languageCode]
|
|
34854
35991
|
* @param {*} [options] Override http request option.
|
|
34855
35992
|
* @throws {RequiredError}
|
|
34856
35993
|
* @memberof ServicesCategoriesApi
|
|
34857
35994
|
*/
|
|
34858
|
-
public apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId: string,
|
|
34859
|
-
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));
|
|
34860
35997
|
}
|
|
34861
35998
|
|
|
34862
35999
|
/**
|