ch-admin-api-client-typescript 2.7.0 → 2.7.3
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 +81 -77
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +131 -124
- package/package.json +1 -1
- package/src/api.ts +141 -133
package/src/api.ts
CHANGED
|
@@ -3865,18 +3865,6 @@ export interface CreateHospitalEquipmentCommand {
|
|
|
3865
3865
|
* @memberof CreateHospitalEquipmentCommand
|
|
3866
3866
|
*/
|
|
3867
3867
|
'description'?: string | null;
|
|
3868
|
-
/**
|
|
3869
|
-
*
|
|
3870
|
-
* @type {Array<MediaModel>}
|
|
3871
|
-
* @memberof CreateHospitalEquipmentCommand
|
|
3872
|
-
*/
|
|
3873
|
-
'medias'?: Array<MediaModel> | null;
|
|
3874
|
-
/**
|
|
3875
|
-
*
|
|
3876
|
-
* @type {AuditableEntity}
|
|
3877
|
-
* @memberof CreateHospitalEquipmentCommand
|
|
3878
|
-
*/
|
|
3879
|
-
'auditableEntity'?: AuditableEntity;
|
|
3880
3868
|
}
|
|
3881
3869
|
/**
|
|
3882
3870
|
*
|
|
@@ -4345,6 +4333,12 @@ export interface CreateServiceReviewCommand {
|
|
|
4345
4333
|
* @memberof CreateServiceReviewCommand
|
|
4346
4334
|
*/
|
|
4347
4335
|
'rate'?: number;
|
|
4336
|
+
/**
|
|
4337
|
+
*
|
|
4338
|
+
* @type {ReviewType}
|
|
4339
|
+
* @memberof CreateServiceReviewCommand
|
|
4340
|
+
*/
|
|
4341
|
+
'reviewType'?: ReviewType;
|
|
4348
4342
|
}
|
|
4349
4343
|
/**
|
|
4350
4344
|
*
|
|
@@ -8308,6 +8302,12 @@ export interface NotificationModel {
|
|
|
8308
8302
|
* @memberof NotificationModel
|
|
8309
8303
|
*/
|
|
8310
8304
|
'isChecked'?: boolean;
|
|
8305
|
+
/**
|
|
8306
|
+
*
|
|
8307
|
+
* @type {boolean}
|
|
8308
|
+
* @memberof NotificationModel
|
|
8309
|
+
*/
|
|
8310
|
+
'isDeleted'?: boolean;
|
|
8311
8311
|
}
|
|
8312
8312
|
/**
|
|
8313
8313
|
*
|
|
@@ -9139,7 +9139,7 @@ export interface ServiceReviewItemModel {
|
|
|
9139
9139
|
* @type {string}
|
|
9140
9140
|
* @memberof ServiceReviewItemModel
|
|
9141
9141
|
*/
|
|
9142
|
-
'patientId'?: string;
|
|
9142
|
+
'patientId'?: string | null;
|
|
9143
9143
|
/**
|
|
9144
9144
|
*
|
|
9145
9145
|
* @type {string}
|
|
@@ -9206,7 +9206,7 @@ export interface ServiceReviewModel {
|
|
|
9206
9206
|
* @type {string}
|
|
9207
9207
|
* @memberof ServiceReviewModel
|
|
9208
9208
|
*/
|
|
9209
|
-
'patientId'?: string;
|
|
9209
|
+
'patientId'?: string | null;
|
|
9210
9210
|
/**
|
|
9211
9211
|
*
|
|
9212
9212
|
* @type {string}
|
|
@@ -27095,13 +27095,14 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
27095
27095
|
* @param {string} [hospitalName]
|
|
27096
27096
|
* @param {string} [description]
|
|
27097
27097
|
* @param {Date} [created]
|
|
27098
|
+
* @param {boolean} [showHidden]
|
|
27098
27099
|
* @param {number} [page]
|
|
27099
27100
|
* @param {number} [limit]
|
|
27100
27101
|
* @param {Date} [lastRetrieved]
|
|
27101
27102
|
* @param {*} [options] Override http request option.
|
|
27102
27103
|
* @throws {RequiredError}
|
|
27103
27104
|
*/
|
|
27104
|
-
apiV1HospitalsHospitalIdEquipmentsGet: async (hospitalId: string, id?: string, name?: string, hospitalId2?: string, hospitalName?: string, description?: string, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27105
|
+
apiV1HospitalsHospitalIdEquipmentsGet: async (hospitalId: string, id?: string, name?: string, hospitalId2?: string, hospitalName?: string, description?: string, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27105
27106
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
27106
27107
|
assertParamExists('apiV1HospitalsHospitalIdEquipmentsGet', 'hospitalId', hospitalId)
|
|
27107
27108
|
const localVarPath = `/api/v1/hospitals/{hospitalId}/equipments`
|
|
@@ -27147,6 +27148,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
27147
27148
|
created;
|
|
27148
27149
|
}
|
|
27149
27150
|
|
|
27151
|
+
if (showHidden !== undefined) {
|
|
27152
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
27153
|
+
}
|
|
27154
|
+
|
|
27150
27155
|
if (page !== undefined) {
|
|
27151
27156
|
localVarQueryParameter['page'] = page;
|
|
27152
27157
|
}
|
|
@@ -29043,14 +29048,15 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
29043
29048
|
* @param {string} [hospitalName]
|
|
29044
29049
|
* @param {string} [description]
|
|
29045
29050
|
* @param {Date} [created]
|
|
29051
|
+
* @param {boolean} [showHidden]
|
|
29046
29052
|
* @param {number} [page]
|
|
29047
29053
|
* @param {number} [limit]
|
|
29048
29054
|
* @param {Date} [lastRetrieved]
|
|
29049
29055
|
* @param {*} [options] Override http request option.
|
|
29050
29056
|
* @throws {RequiredError}
|
|
29051
29057
|
*/
|
|
29052
|
-
async apiV1HospitalsHospitalIdEquipmentsGet(hospitalId: string, id?: string, name?: string, hospitalId2?: string, hospitalName?: string, description?: string, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalEquipmentsModel>> {
|
|
29053
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdEquipmentsGet(hospitalId, id, name, hospitalId2, hospitalName, description, created, page, limit, lastRetrieved, options);
|
|
29058
|
+
async apiV1HospitalsHospitalIdEquipmentsGet(hospitalId: string, id?: string, name?: string, hospitalId2?: string, hospitalName?: string, description?: string, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalEquipmentsModel>> {
|
|
29059
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdEquipmentsGet(hospitalId, id, name, hospitalId2, hospitalName, description, created, showHidden, page, limit, lastRetrieved, options);
|
|
29054
29060
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29055
29061
|
},
|
|
29056
29062
|
/**
|
|
@@ -29700,14 +29706,15 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
29700
29706
|
* @param {string} [hospitalName]
|
|
29701
29707
|
* @param {string} [description]
|
|
29702
29708
|
* @param {Date} [created]
|
|
29709
|
+
* @param {boolean} [showHidden]
|
|
29703
29710
|
* @param {number} [page]
|
|
29704
29711
|
* @param {number} [limit]
|
|
29705
29712
|
* @param {Date} [lastRetrieved]
|
|
29706
29713
|
* @param {*} [options] Override http request option.
|
|
29707
29714
|
* @throws {RequiredError}
|
|
29708
29715
|
*/
|
|
29709
|
-
apiV1HospitalsHospitalIdEquipmentsGet(hospitalId: string, id?: string, name?: string, hospitalId2?: string, hospitalName?: string, description?: string, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalEquipmentsModel> {
|
|
29710
|
-
return localVarFp.apiV1HospitalsHospitalIdEquipmentsGet(hospitalId, id, name, hospitalId2, hospitalName, description, created, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
29716
|
+
apiV1HospitalsHospitalIdEquipmentsGet(hospitalId: string, id?: string, name?: string, hospitalId2?: string, hospitalName?: string, description?: string, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalEquipmentsModel> {
|
|
29717
|
+
return localVarFp.apiV1HospitalsHospitalIdEquipmentsGet(hospitalId, id, name, hospitalId2, hospitalName, description, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
29711
29718
|
},
|
|
29712
29719
|
/**
|
|
29713
29720
|
*
|
|
@@ -30356,6 +30363,7 @@ export class HospitalsApi extends BaseAPI {
|
|
|
30356
30363
|
* @param {string} [hospitalName]
|
|
30357
30364
|
* @param {string} [description]
|
|
30358
30365
|
* @param {Date} [created]
|
|
30366
|
+
* @param {boolean} [showHidden]
|
|
30359
30367
|
* @param {number} [page]
|
|
30360
30368
|
* @param {number} [limit]
|
|
30361
30369
|
* @param {Date} [lastRetrieved]
|
|
@@ -30363,8 +30371,8 @@ export class HospitalsApi extends BaseAPI {
|
|
|
30363
30371
|
* @throws {RequiredError}
|
|
30364
30372
|
* @memberof HospitalsApi
|
|
30365
30373
|
*/
|
|
30366
|
-
public apiV1HospitalsHospitalIdEquipmentsGet(hospitalId: string, id?: string, name?: string, hospitalId2?: string, hospitalName?: string, description?: string, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
30367
|
-
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdEquipmentsGet(hospitalId, id, name, hospitalId2, hospitalName, description, created, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
30374
|
+
public apiV1HospitalsHospitalIdEquipmentsGet(hospitalId: string, id?: string, name?: string, hospitalId2?: string, hospitalName?: string, description?: string, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
30375
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdEquipmentsGet(hospitalId, id, name, hospitalId2, hospitalName, description, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
30368
30376
|
}
|
|
30369
30377
|
|
|
30370
30378
|
/**
|
|
@@ -34560,10 +34568,10 @@ export class ProfilesApi extends BaseAPI {
|
|
|
34560
34568
|
|
|
34561
34569
|
|
|
34562
34570
|
/**
|
|
34563
|
-
*
|
|
34571
|
+
* ServiceReviewsApi - axios parameter creator
|
|
34564
34572
|
* @export
|
|
34565
34573
|
*/
|
|
34566
|
-
export const
|
|
34574
|
+
export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
34567
34575
|
return {
|
|
34568
34576
|
/**
|
|
34569
34577
|
*
|
|
@@ -34581,8 +34589,8 @@ export const ServiceReviewApiAxiosParamCreator = function (configuration?: Confi
|
|
|
34581
34589
|
* @param {*} [options] Override http request option.
|
|
34582
34590
|
* @throws {RequiredError}
|
|
34583
34591
|
*/
|
|
34584
|
-
|
|
34585
|
-
const localVarPath = `/api/v1/
|
|
34592
|
+
apiV1ServicereviewsGet: async (serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34593
|
+
const localVarPath = `/api/v1/servicereviews`;
|
|
34586
34594
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34587
34595
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34588
34596
|
let baseOptions;
|
|
@@ -34658,8 +34666,8 @@ export const ServiceReviewApiAxiosParamCreator = function (configuration?: Confi
|
|
|
34658
34666
|
* @param {*} [options] Override http request option.
|
|
34659
34667
|
* @throws {RequiredError}
|
|
34660
34668
|
*/
|
|
34661
|
-
|
|
34662
|
-
const localVarPath = `/api/v1/
|
|
34669
|
+
apiV1ServicereviewsPost: async (createServiceReviewCommand?: CreateServiceReviewCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34670
|
+
const localVarPath = `/api/v1/servicereviews`;
|
|
34663
34671
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34664
34672
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34665
34673
|
let baseOptions;
|
|
@@ -34696,10 +34704,10 @@ export const ServiceReviewApiAxiosParamCreator = function (configuration?: Confi
|
|
|
34696
34704
|
* @param {*} [options] Override http request option.
|
|
34697
34705
|
* @throws {RequiredError}
|
|
34698
34706
|
*/
|
|
34699
|
-
|
|
34707
|
+
apiV1ServicereviewsServiceReviewIdDelete: async (serviceReviewId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34700
34708
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
34701
|
-
assertParamExists('
|
|
34702
|
-
const localVarPath = `/api/v1/
|
|
34709
|
+
assertParamExists('apiV1ServicereviewsServiceReviewIdDelete', 'serviceReviewId', serviceReviewId)
|
|
34710
|
+
const localVarPath = `/api/v1/servicereviews/{serviceReviewId}`
|
|
34703
34711
|
.replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)));
|
|
34704
34712
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34705
34713
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -34733,10 +34741,10 @@ export const ServiceReviewApiAxiosParamCreator = function (configuration?: Confi
|
|
|
34733
34741
|
* @param {*} [options] Override http request option.
|
|
34734
34742
|
* @throws {RequiredError}
|
|
34735
34743
|
*/
|
|
34736
|
-
|
|
34744
|
+
apiV1ServicereviewsServiceReviewIdGet: async (serviceReviewId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34737
34745
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
34738
|
-
assertParamExists('
|
|
34739
|
-
const localVarPath = `/api/v1/
|
|
34746
|
+
assertParamExists('apiV1ServicereviewsServiceReviewIdGet', 'serviceReviewId', serviceReviewId)
|
|
34747
|
+
const localVarPath = `/api/v1/servicereviews/{serviceReviewId}`
|
|
34740
34748
|
.replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)));
|
|
34741
34749
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34742
34750
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -34776,10 +34784,10 @@ export const ServiceReviewApiAxiosParamCreator = function (configuration?: Confi
|
|
|
34776
34784
|
* @param {*} [options] Override http request option.
|
|
34777
34785
|
* @throws {RequiredError}
|
|
34778
34786
|
*/
|
|
34779
|
-
|
|
34787
|
+
apiV1ServicereviewsServiceReviewIdMediasGet: async (serviceReviewId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34780
34788
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
34781
|
-
assertParamExists('
|
|
34782
|
-
const localVarPath = `/api/v1/
|
|
34789
|
+
assertParamExists('apiV1ServicereviewsServiceReviewIdMediasGet', 'serviceReviewId', serviceReviewId)
|
|
34790
|
+
const localVarPath = `/api/v1/servicereviews/{serviceReviewId}/medias`
|
|
34783
34791
|
.replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)));
|
|
34784
34792
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34785
34793
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -34837,12 +34845,12 @@ export const ServiceReviewApiAxiosParamCreator = function (configuration?: Confi
|
|
|
34837
34845
|
* @param {*} [options] Override http request option.
|
|
34838
34846
|
* @throws {RequiredError}
|
|
34839
34847
|
*/
|
|
34840
|
-
|
|
34848
|
+
apiV1ServicereviewsServiceReviewIdMediasMediaIdDelete: async (serviceReviewId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34841
34849
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
34842
|
-
assertParamExists('
|
|
34850
|
+
assertParamExists('apiV1ServicereviewsServiceReviewIdMediasMediaIdDelete', 'serviceReviewId', serviceReviewId)
|
|
34843
34851
|
// verify required parameter 'mediaId' is not null or undefined
|
|
34844
|
-
assertParamExists('
|
|
34845
|
-
const localVarPath = `/api/v1/
|
|
34852
|
+
assertParamExists('apiV1ServicereviewsServiceReviewIdMediasMediaIdDelete', 'mediaId', mediaId)
|
|
34853
|
+
const localVarPath = `/api/v1/servicereviews/{serviceReviewId}/medias/{mediaId}`
|
|
34846
34854
|
.replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)))
|
|
34847
34855
|
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
34848
34856
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -34879,12 +34887,12 @@ export const ServiceReviewApiAxiosParamCreator = function (configuration?: Confi
|
|
|
34879
34887
|
* @param {*} [options] Override http request option.
|
|
34880
34888
|
* @throws {RequiredError}
|
|
34881
34889
|
*/
|
|
34882
|
-
|
|
34890
|
+
apiV1ServicereviewsServiceReviewIdMediasMediaIdGet: async (serviceReviewId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34883
34891
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
34884
|
-
assertParamExists('
|
|
34892
|
+
assertParamExists('apiV1ServicereviewsServiceReviewIdMediasMediaIdGet', 'serviceReviewId', serviceReviewId)
|
|
34885
34893
|
// verify required parameter 'mediaId' is not null or undefined
|
|
34886
|
-
assertParamExists('
|
|
34887
|
-
const localVarPath = `/api/v1/
|
|
34894
|
+
assertParamExists('apiV1ServicereviewsServiceReviewIdMediasMediaIdGet', 'mediaId', mediaId)
|
|
34895
|
+
const localVarPath = `/api/v1/servicereviews/{serviceReviewId}/medias/{mediaId}`
|
|
34888
34896
|
.replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)))
|
|
34889
34897
|
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
34890
34898
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -34922,12 +34930,12 @@ export const ServiceReviewApiAxiosParamCreator = function (configuration?: Confi
|
|
|
34922
34930
|
* @param {*} [options] Override http request option.
|
|
34923
34931
|
* @throws {RequiredError}
|
|
34924
34932
|
*/
|
|
34925
|
-
|
|
34933
|
+
apiV1ServicereviewsServiceReviewIdMediasMediaIdPut: async (serviceReviewId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34926
34934
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
34927
|
-
assertParamExists('
|
|
34935
|
+
assertParamExists('apiV1ServicereviewsServiceReviewIdMediasMediaIdPut', 'serviceReviewId', serviceReviewId)
|
|
34928
34936
|
// verify required parameter 'mediaId' is not null or undefined
|
|
34929
|
-
assertParamExists('
|
|
34930
|
-
const localVarPath = `/api/v1/
|
|
34937
|
+
assertParamExists('apiV1ServicereviewsServiceReviewIdMediasMediaIdPut', 'mediaId', mediaId)
|
|
34938
|
+
const localVarPath = `/api/v1/servicereviews/{serviceReviewId}/medias/{mediaId}`
|
|
34931
34939
|
.replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)))
|
|
34932
34940
|
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
34933
34941
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -34967,10 +34975,10 @@ export const ServiceReviewApiAxiosParamCreator = function (configuration?: Confi
|
|
|
34967
34975
|
* @param {*} [options] Override http request option.
|
|
34968
34976
|
* @throws {RequiredError}
|
|
34969
34977
|
*/
|
|
34970
|
-
|
|
34978
|
+
apiV1ServicereviewsServiceReviewIdMediasPost: async (serviceReviewId: string, createMediaCommand?: CreateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34971
34979
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
34972
|
-
assertParamExists('
|
|
34973
|
-
const localVarPath = `/api/v1/
|
|
34980
|
+
assertParamExists('apiV1ServicereviewsServiceReviewIdMediasPost', 'serviceReviewId', serviceReviewId)
|
|
34981
|
+
const localVarPath = `/api/v1/servicereviews/{serviceReviewId}/medias`
|
|
34974
34982
|
.replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)));
|
|
34975
34983
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34976
34984
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -35009,10 +35017,10 @@ export const ServiceReviewApiAxiosParamCreator = function (configuration?: Confi
|
|
|
35009
35017
|
* @param {*} [options] Override http request option.
|
|
35010
35018
|
* @throws {RequiredError}
|
|
35011
35019
|
*/
|
|
35012
|
-
|
|
35020
|
+
apiV1ServicereviewsServiceReviewIdPut: async (serviceReviewId: string, updateServiceReviewCommand?: UpdateServiceReviewCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35013
35021
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
35014
|
-
assertParamExists('
|
|
35015
|
-
const localVarPath = `/api/v1/
|
|
35022
|
+
assertParamExists('apiV1ServicereviewsServiceReviewIdPut', 'serviceReviewId', serviceReviewId)
|
|
35023
|
+
const localVarPath = `/api/v1/servicereviews/{serviceReviewId}`
|
|
35016
35024
|
.replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)));
|
|
35017
35025
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35018
35026
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -35047,11 +35055,11 @@ export const ServiceReviewApiAxiosParamCreator = function (configuration?: Confi
|
|
|
35047
35055
|
};
|
|
35048
35056
|
|
|
35049
35057
|
/**
|
|
35050
|
-
*
|
|
35058
|
+
* ServiceReviewsApi - functional programming interface
|
|
35051
35059
|
* @export
|
|
35052
35060
|
*/
|
|
35053
|
-
export const
|
|
35054
|
-
const localVarAxiosParamCreator =
|
|
35061
|
+
export const ServiceReviewsApiFp = function(configuration?: Configuration) {
|
|
35062
|
+
const localVarAxiosParamCreator = ServiceReviewsApiAxiosParamCreator(configuration)
|
|
35055
35063
|
return {
|
|
35056
35064
|
/**
|
|
35057
35065
|
*
|
|
@@ -35069,8 +35077,8 @@ export const ServiceReviewApiFp = function(configuration?: Configuration) {
|
|
|
35069
35077
|
* @param {*} [options] Override http request option.
|
|
35070
35078
|
* @throws {RequiredError}
|
|
35071
35079
|
*/
|
|
35072
|
-
async
|
|
35073
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
35080
|
+
async apiV1ServicereviewsGet(serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewsModel>> {
|
|
35081
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options);
|
|
35074
35082
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35075
35083
|
},
|
|
35076
35084
|
/**
|
|
@@ -35080,8 +35088,8 @@ export const ServiceReviewApiFp = function(configuration?: Configuration) {
|
|
|
35080
35088
|
* @param {*} [options] Override http request option.
|
|
35081
35089
|
* @throws {RequiredError}
|
|
35082
35090
|
*/
|
|
35083
|
-
async
|
|
35084
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
35091
|
+
async apiV1ServicereviewsPost(createServiceReviewCommand?: CreateServiceReviewCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewModel>> {
|
|
35092
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewsPost(createServiceReviewCommand, options);
|
|
35085
35093
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35086
35094
|
},
|
|
35087
35095
|
/**
|
|
@@ -35091,8 +35099,8 @@ export const ServiceReviewApiFp = function(configuration?: Configuration) {
|
|
|
35091
35099
|
* @param {*} [options] Override http request option.
|
|
35092
35100
|
* @throws {RequiredError}
|
|
35093
35101
|
*/
|
|
35094
|
-
async
|
|
35095
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
35102
|
+
async apiV1ServicereviewsServiceReviewIdDelete(serviceReviewId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
35103
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewsServiceReviewIdDelete(serviceReviewId, options);
|
|
35096
35104
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35097
35105
|
},
|
|
35098
35106
|
/**
|
|
@@ -35101,8 +35109,8 @@ export const ServiceReviewApiFp = function(configuration?: Configuration) {
|
|
|
35101
35109
|
* @param {*} [options] Override http request option.
|
|
35102
35110
|
* @throws {RequiredError}
|
|
35103
35111
|
*/
|
|
35104
|
-
async
|
|
35105
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
35112
|
+
async apiV1ServicereviewsServiceReviewIdGet(serviceReviewId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewModel>> {
|
|
35113
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, options);
|
|
35106
35114
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35107
35115
|
},
|
|
35108
35116
|
/**
|
|
@@ -35117,8 +35125,8 @@ export const ServiceReviewApiFp = function(configuration?: Configuration) {
|
|
|
35117
35125
|
* @param {*} [options] Override http request option.
|
|
35118
35126
|
* @throws {RequiredError}
|
|
35119
35127
|
*/
|
|
35120
|
-
async
|
|
35121
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
35128
|
+
async apiV1ServicereviewsServiceReviewIdMediasGet(serviceReviewId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediasModel>> {
|
|
35129
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewsServiceReviewIdMediasGet(serviceReviewId, id, mediaType, page, limit, lastRetrieved, options);
|
|
35122
35130
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35123
35131
|
},
|
|
35124
35132
|
/**
|
|
@@ -35129,8 +35137,8 @@ export const ServiceReviewApiFp = function(configuration?: Configuration) {
|
|
|
35129
35137
|
* @param {*} [options] Override http request option.
|
|
35130
35138
|
* @throws {RequiredError}
|
|
35131
35139
|
*/
|
|
35132
|
-
async
|
|
35133
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
35140
|
+
async apiV1ServicereviewsServiceReviewIdMediasMediaIdDelete(serviceReviewId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
35141
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewsServiceReviewIdMediasMediaIdDelete(serviceReviewId, mediaId, options);
|
|
35134
35142
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35135
35143
|
},
|
|
35136
35144
|
/**
|
|
@@ -35141,8 +35149,8 @@ export const ServiceReviewApiFp = function(configuration?: Configuration) {
|
|
|
35141
35149
|
* @param {*} [options] Override http request option.
|
|
35142
35150
|
* @throws {RequiredError}
|
|
35143
35151
|
*/
|
|
35144
|
-
async
|
|
35145
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
35152
|
+
async apiV1ServicereviewsServiceReviewIdMediasMediaIdGet(serviceReviewId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
|
|
35153
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewsServiceReviewIdMediasMediaIdGet(serviceReviewId, mediaId, options);
|
|
35146
35154
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35147
35155
|
},
|
|
35148
35156
|
/**
|
|
@@ -35154,8 +35162,8 @@ export const ServiceReviewApiFp = function(configuration?: Configuration) {
|
|
|
35154
35162
|
* @param {*} [options] Override http request option.
|
|
35155
35163
|
* @throws {RequiredError}
|
|
35156
35164
|
*/
|
|
35157
|
-
async
|
|
35158
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
35165
|
+
async apiV1ServicereviewsServiceReviewIdMediasMediaIdPut(serviceReviewId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
|
|
35166
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewsServiceReviewIdMediasMediaIdPut(serviceReviewId, mediaId, updateMediaCommand, options);
|
|
35159
35167
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35160
35168
|
},
|
|
35161
35169
|
/**
|
|
@@ -35166,8 +35174,8 @@ export const ServiceReviewApiFp = function(configuration?: Configuration) {
|
|
|
35166
35174
|
* @param {*} [options] Override http request option.
|
|
35167
35175
|
* @throws {RequiredError}
|
|
35168
35176
|
*/
|
|
35169
|
-
async
|
|
35170
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
35177
|
+
async apiV1ServicereviewsServiceReviewIdMediasPost(serviceReviewId: string, createMediaCommand?: CreateMediaCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
|
|
35178
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewsServiceReviewIdMediasPost(serviceReviewId, createMediaCommand, options);
|
|
35171
35179
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35172
35180
|
},
|
|
35173
35181
|
/**
|
|
@@ -35178,19 +35186,19 @@ export const ServiceReviewApiFp = function(configuration?: Configuration) {
|
|
|
35178
35186
|
* @param {*} [options] Override http request option.
|
|
35179
35187
|
* @throws {RequiredError}
|
|
35180
35188
|
*/
|
|
35181
|
-
async
|
|
35182
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
35189
|
+
async apiV1ServicereviewsServiceReviewIdPut(serviceReviewId: string, updateServiceReviewCommand?: UpdateServiceReviewCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewModel>> {
|
|
35190
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewsServiceReviewIdPut(serviceReviewId, updateServiceReviewCommand, options);
|
|
35183
35191
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35184
35192
|
},
|
|
35185
35193
|
}
|
|
35186
35194
|
};
|
|
35187
35195
|
|
|
35188
35196
|
/**
|
|
35189
|
-
*
|
|
35197
|
+
* ServiceReviewsApi - factory interface
|
|
35190
35198
|
* @export
|
|
35191
35199
|
*/
|
|
35192
|
-
export const
|
|
35193
|
-
const localVarFp =
|
|
35200
|
+
export const ServiceReviewsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
35201
|
+
const localVarFp = ServiceReviewsApiFp(configuration)
|
|
35194
35202
|
return {
|
|
35195
35203
|
/**
|
|
35196
35204
|
*
|
|
@@ -35208,8 +35216,8 @@ export const ServiceReviewApiFactory = function (configuration?: Configuration,
|
|
|
35208
35216
|
* @param {*} [options] Override http request option.
|
|
35209
35217
|
* @throws {RequiredError}
|
|
35210
35218
|
*/
|
|
35211
|
-
|
|
35212
|
-
return localVarFp.
|
|
35219
|
+
apiV1ServicereviewsGet(serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceReviewsModel> {
|
|
35220
|
+
return localVarFp.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
35213
35221
|
},
|
|
35214
35222
|
/**
|
|
35215
35223
|
*
|
|
@@ -35218,8 +35226,8 @@ export const ServiceReviewApiFactory = function (configuration?: Configuration,
|
|
|
35218
35226
|
* @param {*} [options] Override http request option.
|
|
35219
35227
|
* @throws {RequiredError}
|
|
35220
35228
|
*/
|
|
35221
|
-
|
|
35222
|
-
return localVarFp.
|
|
35229
|
+
apiV1ServicereviewsPost(createServiceReviewCommand?: CreateServiceReviewCommand, options?: any): AxiosPromise<ServiceReviewModel> {
|
|
35230
|
+
return localVarFp.apiV1ServicereviewsPost(createServiceReviewCommand, options).then((request) => request(axios, basePath));
|
|
35223
35231
|
},
|
|
35224
35232
|
/**
|
|
35225
35233
|
*
|
|
@@ -35228,8 +35236,8 @@ export const ServiceReviewApiFactory = function (configuration?: Configuration,
|
|
|
35228
35236
|
* @param {*} [options] Override http request option.
|
|
35229
35237
|
* @throws {RequiredError}
|
|
35230
35238
|
*/
|
|
35231
|
-
|
|
35232
|
-
return localVarFp.
|
|
35239
|
+
apiV1ServicereviewsServiceReviewIdDelete(serviceReviewId: string, options?: any): AxiosPromise<boolean> {
|
|
35240
|
+
return localVarFp.apiV1ServicereviewsServiceReviewIdDelete(serviceReviewId, options).then((request) => request(axios, basePath));
|
|
35233
35241
|
},
|
|
35234
35242
|
/**
|
|
35235
35243
|
*
|
|
@@ -35237,8 +35245,8 @@ export const ServiceReviewApiFactory = function (configuration?: Configuration,
|
|
|
35237
35245
|
* @param {*} [options] Override http request option.
|
|
35238
35246
|
* @throws {RequiredError}
|
|
35239
35247
|
*/
|
|
35240
|
-
|
|
35241
|
-
return localVarFp.
|
|
35248
|
+
apiV1ServicereviewsServiceReviewIdGet(serviceReviewId: string, options?: any): AxiosPromise<ServiceReviewModel> {
|
|
35249
|
+
return localVarFp.apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, options).then((request) => request(axios, basePath));
|
|
35242
35250
|
},
|
|
35243
35251
|
/**
|
|
35244
35252
|
*
|
|
@@ -35252,8 +35260,8 @@ export const ServiceReviewApiFactory = function (configuration?: Configuration,
|
|
|
35252
35260
|
* @param {*} [options] Override http request option.
|
|
35253
35261
|
* @throws {RequiredError}
|
|
35254
35262
|
*/
|
|
35255
|
-
|
|
35256
|
-
return localVarFp.
|
|
35263
|
+
apiV1ServicereviewsServiceReviewIdMediasGet(serviceReviewId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<MediasModel> {
|
|
35264
|
+
return localVarFp.apiV1ServicereviewsServiceReviewIdMediasGet(serviceReviewId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
35257
35265
|
},
|
|
35258
35266
|
/**
|
|
35259
35267
|
*
|
|
@@ -35263,8 +35271,8 @@ export const ServiceReviewApiFactory = function (configuration?: Configuration,
|
|
|
35263
35271
|
* @param {*} [options] Override http request option.
|
|
35264
35272
|
* @throws {RequiredError}
|
|
35265
35273
|
*/
|
|
35266
|
-
|
|
35267
|
-
return localVarFp.
|
|
35274
|
+
apiV1ServicereviewsServiceReviewIdMediasMediaIdDelete(serviceReviewId: string, mediaId: string, options?: any): AxiosPromise<boolean> {
|
|
35275
|
+
return localVarFp.apiV1ServicereviewsServiceReviewIdMediasMediaIdDelete(serviceReviewId, mediaId, options).then((request) => request(axios, basePath));
|
|
35268
35276
|
},
|
|
35269
35277
|
/**
|
|
35270
35278
|
*
|
|
@@ -35274,8 +35282,8 @@ export const ServiceReviewApiFactory = function (configuration?: Configuration,
|
|
|
35274
35282
|
* @param {*} [options] Override http request option.
|
|
35275
35283
|
* @throws {RequiredError}
|
|
35276
35284
|
*/
|
|
35277
|
-
|
|
35278
|
-
return localVarFp.
|
|
35285
|
+
apiV1ServicereviewsServiceReviewIdMediasMediaIdGet(serviceReviewId: string, mediaId: string, options?: any): AxiosPromise<MediaModel> {
|
|
35286
|
+
return localVarFp.apiV1ServicereviewsServiceReviewIdMediasMediaIdGet(serviceReviewId, mediaId, options).then((request) => request(axios, basePath));
|
|
35279
35287
|
},
|
|
35280
35288
|
/**
|
|
35281
35289
|
*
|
|
@@ -35286,8 +35294,8 @@ export const ServiceReviewApiFactory = function (configuration?: Configuration,
|
|
|
35286
35294
|
* @param {*} [options] Override http request option.
|
|
35287
35295
|
* @throws {RequiredError}
|
|
35288
35296
|
*/
|
|
35289
|
-
|
|
35290
|
-
return localVarFp.
|
|
35297
|
+
apiV1ServicereviewsServiceReviewIdMediasMediaIdPut(serviceReviewId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: any): AxiosPromise<MediaModel> {
|
|
35298
|
+
return localVarFp.apiV1ServicereviewsServiceReviewIdMediasMediaIdPut(serviceReviewId, mediaId, updateMediaCommand, options).then((request) => request(axios, basePath));
|
|
35291
35299
|
},
|
|
35292
35300
|
/**
|
|
35293
35301
|
*
|
|
@@ -35297,8 +35305,8 @@ export const ServiceReviewApiFactory = function (configuration?: Configuration,
|
|
|
35297
35305
|
* @param {*} [options] Override http request option.
|
|
35298
35306
|
* @throws {RequiredError}
|
|
35299
35307
|
*/
|
|
35300
|
-
|
|
35301
|
-
return localVarFp.
|
|
35308
|
+
apiV1ServicereviewsServiceReviewIdMediasPost(serviceReviewId: string, createMediaCommand?: CreateMediaCommand, options?: any): AxiosPromise<MediaModel> {
|
|
35309
|
+
return localVarFp.apiV1ServicereviewsServiceReviewIdMediasPost(serviceReviewId, createMediaCommand, options).then((request) => request(axios, basePath));
|
|
35302
35310
|
},
|
|
35303
35311
|
/**
|
|
35304
35312
|
*
|
|
@@ -35308,19 +35316,19 @@ export const ServiceReviewApiFactory = function (configuration?: Configuration,
|
|
|
35308
35316
|
* @param {*} [options] Override http request option.
|
|
35309
35317
|
* @throws {RequiredError}
|
|
35310
35318
|
*/
|
|
35311
|
-
|
|
35312
|
-
return localVarFp.
|
|
35319
|
+
apiV1ServicereviewsServiceReviewIdPut(serviceReviewId: string, updateServiceReviewCommand?: UpdateServiceReviewCommand, options?: any): AxiosPromise<ServiceReviewModel> {
|
|
35320
|
+
return localVarFp.apiV1ServicereviewsServiceReviewIdPut(serviceReviewId, updateServiceReviewCommand, options).then((request) => request(axios, basePath));
|
|
35313
35321
|
},
|
|
35314
35322
|
};
|
|
35315
35323
|
};
|
|
35316
35324
|
|
|
35317
35325
|
/**
|
|
35318
|
-
*
|
|
35326
|
+
* ServiceReviewsApi - object-oriented interface
|
|
35319
35327
|
* @export
|
|
35320
|
-
* @class
|
|
35328
|
+
* @class ServiceReviewsApi
|
|
35321
35329
|
* @extends {BaseAPI}
|
|
35322
35330
|
*/
|
|
35323
|
-
export class
|
|
35331
|
+
export class ServiceReviewsApi extends BaseAPI {
|
|
35324
35332
|
/**
|
|
35325
35333
|
*
|
|
35326
35334
|
* @summary Get all ServiceReviews.
|
|
@@ -35336,10 +35344,10 @@ export class ServiceReviewApi extends BaseAPI {
|
|
|
35336
35344
|
* @param {Date} [lastRetrieved]
|
|
35337
35345
|
* @param {*} [options] Override http request option.
|
|
35338
35346
|
* @throws {RequiredError}
|
|
35339
|
-
* @memberof
|
|
35347
|
+
* @memberof ServiceReviewsApi
|
|
35340
35348
|
*/
|
|
35341
|
-
public
|
|
35342
|
-
return
|
|
35349
|
+
public apiV1ServicereviewsGet(serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
35350
|
+
return ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
35343
35351
|
}
|
|
35344
35352
|
|
|
35345
35353
|
/**
|
|
@@ -35348,10 +35356,10 @@ export class ServiceReviewApi extends BaseAPI {
|
|
|
35348
35356
|
* @param {CreateServiceReviewCommand} [createServiceReviewCommand]
|
|
35349
35357
|
* @param {*} [options] Override http request option.
|
|
35350
35358
|
* @throws {RequiredError}
|
|
35351
|
-
* @memberof
|
|
35359
|
+
* @memberof ServiceReviewsApi
|
|
35352
35360
|
*/
|
|
35353
|
-
public
|
|
35354
|
-
return
|
|
35361
|
+
public apiV1ServicereviewsPost(createServiceReviewCommand?: CreateServiceReviewCommand, options?: AxiosRequestConfig) {
|
|
35362
|
+
return ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsPost(createServiceReviewCommand, options).then((request) => request(this.axios, this.basePath));
|
|
35355
35363
|
}
|
|
35356
35364
|
|
|
35357
35365
|
/**
|
|
@@ -35360,10 +35368,10 @@ export class ServiceReviewApi extends BaseAPI {
|
|
|
35360
35368
|
* @param {string} serviceReviewId
|
|
35361
35369
|
* @param {*} [options] Override http request option.
|
|
35362
35370
|
* @throws {RequiredError}
|
|
35363
|
-
* @memberof
|
|
35371
|
+
* @memberof ServiceReviewsApi
|
|
35364
35372
|
*/
|
|
35365
|
-
public
|
|
35366
|
-
return
|
|
35373
|
+
public apiV1ServicereviewsServiceReviewIdDelete(serviceReviewId: string, options?: AxiosRequestConfig) {
|
|
35374
|
+
return ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdDelete(serviceReviewId, options).then((request) => request(this.axios, this.basePath));
|
|
35367
35375
|
}
|
|
35368
35376
|
|
|
35369
35377
|
/**
|
|
@@ -35371,10 +35379,10 @@ export class ServiceReviewApi extends BaseAPI {
|
|
|
35371
35379
|
* @param {string} serviceReviewId
|
|
35372
35380
|
* @param {*} [options] Override http request option.
|
|
35373
35381
|
* @throws {RequiredError}
|
|
35374
|
-
* @memberof
|
|
35382
|
+
* @memberof ServiceReviewsApi
|
|
35375
35383
|
*/
|
|
35376
|
-
public
|
|
35377
|
-
return
|
|
35384
|
+
public apiV1ServicereviewsServiceReviewIdGet(serviceReviewId: string, options?: AxiosRequestConfig) {
|
|
35385
|
+
return ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, options).then((request) => request(this.axios, this.basePath));
|
|
35378
35386
|
}
|
|
35379
35387
|
|
|
35380
35388
|
/**
|
|
@@ -35388,10 +35396,10 @@ export class ServiceReviewApi extends BaseAPI {
|
|
|
35388
35396
|
* @param {Date} [lastRetrieved]
|
|
35389
35397
|
* @param {*} [options] Override http request option.
|
|
35390
35398
|
* @throws {RequiredError}
|
|
35391
|
-
* @memberof
|
|
35399
|
+
* @memberof ServiceReviewsApi
|
|
35392
35400
|
*/
|
|
35393
|
-
public
|
|
35394
|
-
return
|
|
35401
|
+
public apiV1ServicereviewsServiceReviewIdMediasGet(serviceReviewId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
35402
|
+
return ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdMediasGet(serviceReviewId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
35395
35403
|
}
|
|
35396
35404
|
|
|
35397
35405
|
/**
|
|
@@ -35401,10 +35409,10 @@ export class ServiceReviewApi extends BaseAPI {
|
|
|
35401
35409
|
* @param {string} mediaId
|
|
35402
35410
|
* @param {*} [options] Override http request option.
|
|
35403
35411
|
* @throws {RequiredError}
|
|
35404
|
-
* @memberof
|
|
35412
|
+
* @memberof ServiceReviewsApi
|
|
35405
35413
|
*/
|
|
35406
|
-
public
|
|
35407
|
-
return
|
|
35414
|
+
public apiV1ServicereviewsServiceReviewIdMediasMediaIdDelete(serviceReviewId: string, mediaId: string, options?: AxiosRequestConfig) {
|
|
35415
|
+
return ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdMediasMediaIdDelete(serviceReviewId, mediaId, options).then((request) => request(this.axios, this.basePath));
|
|
35408
35416
|
}
|
|
35409
35417
|
|
|
35410
35418
|
/**
|
|
@@ -35414,10 +35422,10 @@ export class ServiceReviewApi extends BaseAPI {
|
|
|
35414
35422
|
* @param {string} mediaId
|
|
35415
35423
|
* @param {*} [options] Override http request option.
|
|
35416
35424
|
* @throws {RequiredError}
|
|
35417
|
-
* @memberof
|
|
35425
|
+
* @memberof ServiceReviewsApi
|
|
35418
35426
|
*/
|
|
35419
|
-
public
|
|
35420
|
-
return
|
|
35427
|
+
public apiV1ServicereviewsServiceReviewIdMediasMediaIdGet(serviceReviewId: string, mediaId: string, options?: AxiosRequestConfig) {
|
|
35428
|
+
return ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdMediasMediaIdGet(serviceReviewId, mediaId, options).then((request) => request(this.axios, this.basePath));
|
|
35421
35429
|
}
|
|
35422
35430
|
|
|
35423
35431
|
/**
|
|
@@ -35428,10 +35436,10 @@ export class ServiceReviewApi extends BaseAPI {
|
|
|
35428
35436
|
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
35429
35437
|
* @param {*} [options] Override http request option.
|
|
35430
35438
|
* @throws {RequiredError}
|
|
35431
|
-
* @memberof
|
|
35439
|
+
* @memberof ServiceReviewsApi
|
|
35432
35440
|
*/
|
|
35433
|
-
public
|
|
35434
|
-
return
|
|
35441
|
+
public apiV1ServicereviewsServiceReviewIdMediasMediaIdPut(serviceReviewId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: AxiosRequestConfig) {
|
|
35442
|
+
return ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdMediasMediaIdPut(serviceReviewId, mediaId, updateMediaCommand, options).then((request) => request(this.axios, this.basePath));
|
|
35435
35443
|
}
|
|
35436
35444
|
|
|
35437
35445
|
/**
|
|
@@ -35441,10 +35449,10 @@ export class ServiceReviewApi extends BaseAPI {
|
|
|
35441
35449
|
* @param {CreateMediaCommand} [createMediaCommand]
|
|
35442
35450
|
* @param {*} [options] Override http request option.
|
|
35443
35451
|
* @throws {RequiredError}
|
|
35444
|
-
* @memberof
|
|
35452
|
+
* @memberof ServiceReviewsApi
|
|
35445
35453
|
*/
|
|
35446
|
-
public
|
|
35447
|
-
return
|
|
35454
|
+
public apiV1ServicereviewsServiceReviewIdMediasPost(serviceReviewId: string, createMediaCommand?: CreateMediaCommand, options?: AxiosRequestConfig) {
|
|
35455
|
+
return ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdMediasPost(serviceReviewId, createMediaCommand, options).then((request) => request(this.axios, this.basePath));
|
|
35448
35456
|
}
|
|
35449
35457
|
|
|
35450
35458
|
/**
|
|
@@ -35454,10 +35462,10 @@ export class ServiceReviewApi extends BaseAPI {
|
|
|
35454
35462
|
* @param {UpdateServiceReviewCommand} [updateServiceReviewCommand]
|
|
35455
35463
|
* @param {*} [options] Override http request option.
|
|
35456
35464
|
* @throws {RequiredError}
|
|
35457
|
-
* @memberof
|
|
35465
|
+
* @memberof ServiceReviewsApi
|
|
35458
35466
|
*/
|
|
35459
|
-
public
|
|
35460
|
-
return
|
|
35467
|
+
public apiV1ServicereviewsServiceReviewIdPut(serviceReviewId: string, updateServiceReviewCommand?: UpdateServiceReviewCommand, options?: AxiosRequestConfig) {
|
|
35468
|
+
return ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdPut(serviceReviewId, updateServiceReviewCommand, options).then((request) => request(this.axios, this.basePath));
|
|
35461
35469
|
}
|
|
35462
35470
|
}
|
|
35463
35471
|
|