ch-admin-api-client-typescript 2.7.1 → 2.7.4
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 +75 -77
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +131 -124
- package/package.json +1 -1
- package/src/api.ts +135 -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
|
*
|
|
@@ -9145,7 +9139,7 @@ export interface ServiceReviewItemModel {
|
|
|
9145
9139
|
* @type {string}
|
|
9146
9140
|
* @memberof ServiceReviewItemModel
|
|
9147
9141
|
*/
|
|
9148
|
-
'patientId'?: string;
|
|
9142
|
+
'patientId'?: string | null;
|
|
9149
9143
|
/**
|
|
9150
9144
|
*
|
|
9151
9145
|
* @type {string}
|
|
@@ -9212,7 +9206,7 @@ export interface ServiceReviewModel {
|
|
|
9212
9206
|
* @type {string}
|
|
9213
9207
|
* @memberof ServiceReviewModel
|
|
9214
9208
|
*/
|
|
9215
|
-
'patientId'?: string;
|
|
9209
|
+
'patientId'?: string | null;
|
|
9216
9210
|
/**
|
|
9217
9211
|
*
|
|
9218
9212
|
* @type {string}
|
|
@@ -27101,13 +27095,14 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
27101
27095
|
* @param {string} [hospitalName]
|
|
27102
27096
|
* @param {string} [description]
|
|
27103
27097
|
* @param {Date} [created]
|
|
27098
|
+
* @param {boolean} [showHidden]
|
|
27104
27099
|
* @param {number} [page]
|
|
27105
27100
|
* @param {number} [limit]
|
|
27106
27101
|
* @param {Date} [lastRetrieved]
|
|
27107
27102
|
* @param {*} [options] Override http request option.
|
|
27108
27103
|
* @throws {RequiredError}
|
|
27109
27104
|
*/
|
|
27110
|
-
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> => {
|
|
27111
27106
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
27112
27107
|
assertParamExists('apiV1HospitalsHospitalIdEquipmentsGet', 'hospitalId', hospitalId)
|
|
27113
27108
|
const localVarPath = `/api/v1/hospitals/{hospitalId}/equipments`
|
|
@@ -27153,6 +27148,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
27153
27148
|
created;
|
|
27154
27149
|
}
|
|
27155
27150
|
|
|
27151
|
+
if (showHidden !== undefined) {
|
|
27152
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
27153
|
+
}
|
|
27154
|
+
|
|
27156
27155
|
if (page !== undefined) {
|
|
27157
27156
|
localVarQueryParameter['page'] = page;
|
|
27158
27157
|
}
|
|
@@ -29049,14 +29048,15 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
29049
29048
|
* @param {string} [hospitalName]
|
|
29050
29049
|
* @param {string} [description]
|
|
29051
29050
|
* @param {Date} [created]
|
|
29051
|
+
* @param {boolean} [showHidden]
|
|
29052
29052
|
* @param {number} [page]
|
|
29053
29053
|
* @param {number} [limit]
|
|
29054
29054
|
* @param {Date} [lastRetrieved]
|
|
29055
29055
|
* @param {*} [options] Override http request option.
|
|
29056
29056
|
* @throws {RequiredError}
|
|
29057
29057
|
*/
|
|
29058
|
-
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>> {
|
|
29059
|
-
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);
|
|
29060
29060
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29061
29061
|
},
|
|
29062
29062
|
/**
|
|
@@ -29706,14 +29706,15 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
29706
29706
|
* @param {string} [hospitalName]
|
|
29707
29707
|
* @param {string} [description]
|
|
29708
29708
|
* @param {Date} [created]
|
|
29709
|
+
* @param {boolean} [showHidden]
|
|
29709
29710
|
* @param {number} [page]
|
|
29710
29711
|
* @param {number} [limit]
|
|
29711
29712
|
* @param {Date} [lastRetrieved]
|
|
29712
29713
|
* @param {*} [options] Override http request option.
|
|
29713
29714
|
* @throws {RequiredError}
|
|
29714
29715
|
*/
|
|
29715
|
-
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> {
|
|
29716
|
-
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));
|
|
29717
29718
|
},
|
|
29718
29719
|
/**
|
|
29719
29720
|
*
|
|
@@ -30362,6 +30363,7 @@ export class HospitalsApi extends BaseAPI {
|
|
|
30362
30363
|
* @param {string} [hospitalName]
|
|
30363
30364
|
* @param {string} [description]
|
|
30364
30365
|
* @param {Date} [created]
|
|
30366
|
+
* @param {boolean} [showHidden]
|
|
30365
30367
|
* @param {number} [page]
|
|
30366
30368
|
* @param {number} [limit]
|
|
30367
30369
|
* @param {Date} [lastRetrieved]
|
|
@@ -30369,8 +30371,8 @@ export class HospitalsApi extends BaseAPI {
|
|
|
30369
30371
|
* @throws {RequiredError}
|
|
30370
30372
|
* @memberof HospitalsApi
|
|
30371
30373
|
*/
|
|
30372
|
-
public apiV1HospitalsHospitalIdEquipmentsGet(hospitalId: string, id?: string, name?: string, hospitalId2?: string, hospitalName?: string, description?: string, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
30373
|
-
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));
|
|
30374
30376
|
}
|
|
30375
30377
|
|
|
30376
30378
|
/**
|
|
@@ -34566,10 +34568,10 @@ export class ProfilesApi extends BaseAPI {
|
|
|
34566
34568
|
|
|
34567
34569
|
|
|
34568
34570
|
/**
|
|
34569
|
-
*
|
|
34571
|
+
* ServiceReviewsApi - axios parameter creator
|
|
34570
34572
|
* @export
|
|
34571
34573
|
*/
|
|
34572
|
-
export const
|
|
34574
|
+
export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
34573
34575
|
return {
|
|
34574
34576
|
/**
|
|
34575
34577
|
*
|
|
@@ -34587,8 +34589,8 @@ export const ServiceReviewApiAxiosParamCreator = function (configuration?: Confi
|
|
|
34587
34589
|
* @param {*} [options] Override http request option.
|
|
34588
34590
|
* @throws {RequiredError}
|
|
34589
34591
|
*/
|
|
34590
|
-
|
|
34591
|
-
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`;
|
|
34592
34594
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34593
34595
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34594
34596
|
let baseOptions;
|
|
@@ -34664,8 +34666,8 @@ export const ServiceReviewApiAxiosParamCreator = function (configuration?: Confi
|
|
|
34664
34666
|
* @param {*} [options] Override http request option.
|
|
34665
34667
|
* @throws {RequiredError}
|
|
34666
34668
|
*/
|
|
34667
|
-
|
|
34668
|
-
const localVarPath = `/api/v1/
|
|
34669
|
+
apiV1ServicereviewsPost: async (createServiceReviewCommand?: CreateServiceReviewCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34670
|
+
const localVarPath = `/api/v1/servicereviews`;
|
|
34669
34671
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34670
34672
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34671
34673
|
let baseOptions;
|
|
@@ -34702,10 +34704,10 @@ export const ServiceReviewApiAxiosParamCreator = function (configuration?: Confi
|
|
|
34702
34704
|
* @param {*} [options] Override http request option.
|
|
34703
34705
|
* @throws {RequiredError}
|
|
34704
34706
|
*/
|
|
34705
|
-
|
|
34707
|
+
apiV1ServicereviewsServiceReviewIdDelete: async (serviceReviewId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34706
34708
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
34707
|
-
assertParamExists('
|
|
34708
|
-
const localVarPath = `/api/v1/
|
|
34709
|
+
assertParamExists('apiV1ServicereviewsServiceReviewIdDelete', 'serviceReviewId', serviceReviewId)
|
|
34710
|
+
const localVarPath = `/api/v1/servicereviews/{serviceReviewId}`
|
|
34709
34711
|
.replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)));
|
|
34710
34712
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34711
34713
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -34739,10 +34741,10 @@ export const ServiceReviewApiAxiosParamCreator = function (configuration?: Confi
|
|
|
34739
34741
|
* @param {*} [options] Override http request option.
|
|
34740
34742
|
* @throws {RequiredError}
|
|
34741
34743
|
*/
|
|
34742
|
-
|
|
34744
|
+
apiV1ServicereviewsServiceReviewIdGet: async (serviceReviewId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34743
34745
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
34744
|
-
assertParamExists('
|
|
34745
|
-
const localVarPath = `/api/v1/
|
|
34746
|
+
assertParamExists('apiV1ServicereviewsServiceReviewIdGet', 'serviceReviewId', serviceReviewId)
|
|
34747
|
+
const localVarPath = `/api/v1/servicereviews/{serviceReviewId}`
|
|
34746
34748
|
.replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)));
|
|
34747
34749
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34748
34750
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -34782,10 +34784,10 @@ export const ServiceReviewApiAxiosParamCreator = function (configuration?: Confi
|
|
|
34782
34784
|
* @param {*} [options] Override http request option.
|
|
34783
34785
|
* @throws {RequiredError}
|
|
34784
34786
|
*/
|
|
34785
|
-
|
|
34787
|
+
apiV1ServicereviewsServiceReviewIdMediasGet: async (serviceReviewId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34786
34788
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
34787
|
-
assertParamExists('
|
|
34788
|
-
const localVarPath = `/api/v1/
|
|
34789
|
+
assertParamExists('apiV1ServicereviewsServiceReviewIdMediasGet', 'serviceReviewId', serviceReviewId)
|
|
34790
|
+
const localVarPath = `/api/v1/servicereviews/{serviceReviewId}/medias`
|
|
34789
34791
|
.replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)));
|
|
34790
34792
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34791
34793
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -34843,12 +34845,12 @@ export const ServiceReviewApiAxiosParamCreator = function (configuration?: Confi
|
|
|
34843
34845
|
* @param {*} [options] Override http request option.
|
|
34844
34846
|
* @throws {RequiredError}
|
|
34845
34847
|
*/
|
|
34846
|
-
|
|
34848
|
+
apiV1ServicereviewsServiceReviewIdMediasMediaIdDelete: async (serviceReviewId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34847
34849
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
34848
|
-
assertParamExists('
|
|
34850
|
+
assertParamExists('apiV1ServicereviewsServiceReviewIdMediasMediaIdDelete', 'serviceReviewId', serviceReviewId)
|
|
34849
34851
|
// verify required parameter 'mediaId' is not null or undefined
|
|
34850
|
-
assertParamExists('
|
|
34851
|
-
const localVarPath = `/api/v1/
|
|
34852
|
+
assertParamExists('apiV1ServicereviewsServiceReviewIdMediasMediaIdDelete', 'mediaId', mediaId)
|
|
34853
|
+
const localVarPath = `/api/v1/servicereviews/{serviceReviewId}/medias/{mediaId}`
|
|
34852
34854
|
.replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)))
|
|
34853
34855
|
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
34854
34856
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -34885,12 +34887,12 @@ export const ServiceReviewApiAxiosParamCreator = function (configuration?: Confi
|
|
|
34885
34887
|
* @param {*} [options] Override http request option.
|
|
34886
34888
|
* @throws {RequiredError}
|
|
34887
34889
|
*/
|
|
34888
|
-
|
|
34890
|
+
apiV1ServicereviewsServiceReviewIdMediasMediaIdGet: async (serviceReviewId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34889
34891
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
34890
|
-
assertParamExists('
|
|
34892
|
+
assertParamExists('apiV1ServicereviewsServiceReviewIdMediasMediaIdGet', 'serviceReviewId', serviceReviewId)
|
|
34891
34893
|
// verify required parameter 'mediaId' is not null or undefined
|
|
34892
|
-
assertParamExists('
|
|
34893
|
-
const localVarPath = `/api/v1/
|
|
34894
|
+
assertParamExists('apiV1ServicereviewsServiceReviewIdMediasMediaIdGet', 'mediaId', mediaId)
|
|
34895
|
+
const localVarPath = `/api/v1/servicereviews/{serviceReviewId}/medias/{mediaId}`
|
|
34894
34896
|
.replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)))
|
|
34895
34897
|
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
34896
34898
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -34928,12 +34930,12 @@ export const ServiceReviewApiAxiosParamCreator = function (configuration?: Confi
|
|
|
34928
34930
|
* @param {*} [options] Override http request option.
|
|
34929
34931
|
* @throws {RequiredError}
|
|
34930
34932
|
*/
|
|
34931
|
-
|
|
34933
|
+
apiV1ServicereviewsServiceReviewIdMediasMediaIdPut: async (serviceReviewId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34932
34934
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
34933
|
-
assertParamExists('
|
|
34935
|
+
assertParamExists('apiV1ServicereviewsServiceReviewIdMediasMediaIdPut', 'serviceReviewId', serviceReviewId)
|
|
34934
34936
|
// verify required parameter 'mediaId' is not null or undefined
|
|
34935
|
-
assertParamExists('
|
|
34936
|
-
const localVarPath = `/api/v1/
|
|
34937
|
+
assertParamExists('apiV1ServicereviewsServiceReviewIdMediasMediaIdPut', 'mediaId', mediaId)
|
|
34938
|
+
const localVarPath = `/api/v1/servicereviews/{serviceReviewId}/medias/{mediaId}`
|
|
34937
34939
|
.replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)))
|
|
34938
34940
|
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
34939
34941
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -34973,10 +34975,10 @@ export const ServiceReviewApiAxiosParamCreator = function (configuration?: Confi
|
|
|
34973
34975
|
* @param {*} [options] Override http request option.
|
|
34974
34976
|
* @throws {RequiredError}
|
|
34975
34977
|
*/
|
|
34976
|
-
|
|
34978
|
+
apiV1ServicereviewsServiceReviewIdMediasPost: async (serviceReviewId: string, createMediaCommand?: CreateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34977
34979
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
34978
|
-
assertParamExists('
|
|
34979
|
-
const localVarPath = `/api/v1/
|
|
34980
|
+
assertParamExists('apiV1ServicereviewsServiceReviewIdMediasPost', 'serviceReviewId', serviceReviewId)
|
|
34981
|
+
const localVarPath = `/api/v1/servicereviews/{serviceReviewId}/medias`
|
|
34980
34982
|
.replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)));
|
|
34981
34983
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34982
34984
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -35015,10 +35017,10 @@ export const ServiceReviewApiAxiosParamCreator = function (configuration?: Confi
|
|
|
35015
35017
|
* @param {*} [options] Override http request option.
|
|
35016
35018
|
* @throws {RequiredError}
|
|
35017
35019
|
*/
|
|
35018
|
-
|
|
35020
|
+
apiV1ServicereviewsServiceReviewIdPut: async (serviceReviewId: string, updateServiceReviewCommand?: UpdateServiceReviewCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35019
35021
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
35020
|
-
assertParamExists('
|
|
35021
|
-
const localVarPath = `/api/v1/
|
|
35022
|
+
assertParamExists('apiV1ServicereviewsServiceReviewIdPut', 'serviceReviewId', serviceReviewId)
|
|
35023
|
+
const localVarPath = `/api/v1/servicereviews/{serviceReviewId}`
|
|
35022
35024
|
.replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)));
|
|
35023
35025
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35024
35026
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -35053,11 +35055,11 @@ export const ServiceReviewApiAxiosParamCreator = function (configuration?: Confi
|
|
|
35053
35055
|
};
|
|
35054
35056
|
|
|
35055
35057
|
/**
|
|
35056
|
-
*
|
|
35058
|
+
* ServiceReviewsApi - functional programming interface
|
|
35057
35059
|
* @export
|
|
35058
35060
|
*/
|
|
35059
|
-
export const
|
|
35060
|
-
const localVarAxiosParamCreator =
|
|
35061
|
+
export const ServiceReviewsApiFp = function(configuration?: Configuration) {
|
|
35062
|
+
const localVarAxiosParamCreator = ServiceReviewsApiAxiosParamCreator(configuration)
|
|
35061
35063
|
return {
|
|
35062
35064
|
/**
|
|
35063
35065
|
*
|
|
@@ -35075,8 +35077,8 @@ export const ServiceReviewApiFp = function(configuration?: Configuration) {
|
|
|
35075
35077
|
* @param {*} [options] Override http request option.
|
|
35076
35078
|
* @throws {RequiredError}
|
|
35077
35079
|
*/
|
|
35078
|
-
async
|
|
35079
|
-
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);
|
|
35080
35082
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35081
35083
|
},
|
|
35082
35084
|
/**
|
|
@@ -35086,8 +35088,8 @@ export const ServiceReviewApiFp = function(configuration?: Configuration) {
|
|
|
35086
35088
|
* @param {*} [options] Override http request option.
|
|
35087
35089
|
* @throws {RequiredError}
|
|
35088
35090
|
*/
|
|
35089
|
-
async
|
|
35090
|
-
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);
|
|
35091
35093
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35092
35094
|
},
|
|
35093
35095
|
/**
|
|
@@ -35097,8 +35099,8 @@ export const ServiceReviewApiFp = function(configuration?: Configuration) {
|
|
|
35097
35099
|
* @param {*} [options] Override http request option.
|
|
35098
35100
|
* @throws {RequiredError}
|
|
35099
35101
|
*/
|
|
35100
|
-
async
|
|
35101
|
-
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);
|
|
35102
35104
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35103
35105
|
},
|
|
35104
35106
|
/**
|
|
@@ -35107,8 +35109,8 @@ export const ServiceReviewApiFp = function(configuration?: Configuration) {
|
|
|
35107
35109
|
* @param {*} [options] Override http request option.
|
|
35108
35110
|
* @throws {RequiredError}
|
|
35109
35111
|
*/
|
|
35110
|
-
async
|
|
35111
|
-
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);
|
|
35112
35114
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35113
35115
|
},
|
|
35114
35116
|
/**
|
|
@@ -35123,8 +35125,8 @@ export const ServiceReviewApiFp = function(configuration?: Configuration) {
|
|
|
35123
35125
|
* @param {*} [options] Override http request option.
|
|
35124
35126
|
* @throws {RequiredError}
|
|
35125
35127
|
*/
|
|
35126
|
-
async
|
|
35127
|
-
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);
|
|
35128
35130
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35129
35131
|
},
|
|
35130
35132
|
/**
|
|
@@ -35135,8 +35137,8 @@ export const ServiceReviewApiFp = function(configuration?: Configuration) {
|
|
|
35135
35137
|
* @param {*} [options] Override http request option.
|
|
35136
35138
|
* @throws {RequiredError}
|
|
35137
35139
|
*/
|
|
35138
|
-
async
|
|
35139
|
-
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);
|
|
35140
35142
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35141
35143
|
},
|
|
35142
35144
|
/**
|
|
@@ -35147,8 +35149,8 @@ export const ServiceReviewApiFp = function(configuration?: Configuration) {
|
|
|
35147
35149
|
* @param {*} [options] Override http request option.
|
|
35148
35150
|
* @throws {RequiredError}
|
|
35149
35151
|
*/
|
|
35150
|
-
async
|
|
35151
|
-
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);
|
|
35152
35154
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35153
35155
|
},
|
|
35154
35156
|
/**
|
|
@@ -35160,8 +35162,8 @@ export const ServiceReviewApiFp = function(configuration?: Configuration) {
|
|
|
35160
35162
|
* @param {*} [options] Override http request option.
|
|
35161
35163
|
* @throws {RequiredError}
|
|
35162
35164
|
*/
|
|
35163
|
-
async
|
|
35164
|
-
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);
|
|
35165
35167
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35166
35168
|
},
|
|
35167
35169
|
/**
|
|
@@ -35172,8 +35174,8 @@ export const ServiceReviewApiFp = function(configuration?: Configuration) {
|
|
|
35172
35174
|
* @param {*} [options] Override http request option.
|
|
35173
35175
|
* @throws {RequiredError}
|
|
35174
35176
|
*/
|
|
35175
|
-
async
|
|
35176
|
-
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);
|
|
35177
35179
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35178
35180
|
},
|
|
35179
35181
|
/**
|
|
@@ -35184,19 +35186,19 @@ export const ServiceReviewApiFp = function(configuration?: Configuration) {
|
|
|
35184
35186
|
* @param {*} [options] Override http request option.
|
|
35185
35187
|
* @throws {RequiredError}
|
|
35186
35188
|
*/
|
|
35187
|
-
async
|
|
35188
|
-
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);
|
|
35189
35191
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35190
35192
|
},
|
|
35191
35193
|
}
|
|
35192
35194
|
};
|
|
35193
35195
|
|
|
35194
35196
|
/**
|
|
35195
|
-
*
|
|
35197
|
+
* ServiceReviewsApi - factory interface
|
|
35196
35198
|
* @export
|
|
35197
35199
|
*/
|
|
35198
|
-
export const
|
|
35199
|
-
const localVarFp =
|
|
35200
|
+
export const ServiceReviewsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
35201
|
+
const localVarFp = ServiceReviewsApiFp(configuration)
|
|
35200
35202
|
return {
|
|
35201
35203
|
/**
|
|
35202
35204
|
*
|
|
@@ -35214,8 +35216,8 @@ export const ServiceReviewApiFactory = function (configuration?: Configuration,
|
|
|
35214
35216
|
* @param {*} [options] Override http request option.
|
|
35215
35217
|
* @throws {RequiredError}
|
|
35216
35218
|
*/
|
|
35217
|
-
|
|
35218
|
-
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));
|
|
35219
35221
|
},
|
|
35220
35222
|
/**
|
|
35221
35223
|
*
|
|
@@ -35224,8 +35226,8 @@ export const ServiceReviewApiFactory = function (configuration?: Configuration,
|
|
|
35224
35226
|
* @param {*} [options] Override http request option.
|
|
35225
35227
|
* @throws {RequiredError}
|
|
35226
35228
|
*/
|
|
35227
|
-
|
|
35228
|
-
return localVarFp.
|
|
35229
|
+
apiV1ServicereviewsPost(createServiceReviewCommand?: CreateServiceReviewCommand, options?: any): AxiosPromise<ServiceReviewModel> {
|
|
35230
|
+
return localVarFp.apiV1ServicereviewsPost(createServiceReviewCommand, options).then((request) => request(axios, basePath));
|
|
35229
35231
|
},
|
|
35230
35232
|
/**
|
|
35231
35233
|
*
|
|
@@ -35234,8 +35236,8 @@ export const ServiceReviewApiFactory = function (configuration?: Configuration,
|
|
|
35234
35236
|
* @param {*} [options] Override http request option.
|
|
35235
35237
|
* @throws {RequiredError}
|
|
35236
35238
|
*/
|
|
35237
|
-
|
|
35238
|
-
return localVarFp.
|
|
35239
|
+
apiV1ServicereviewsServiceReviewIdDelete(serviceReviewId: string, options?: any): AxiosPromise<boolean> {
|
|
35240
|
+
return localVarFp.apiV1ServicereviewsServiceReviewIdDelete(serviceReviewId, options).then((request) => request(axios, basePath));
|
|
35239
35241
|
},
|
|
35240
35242
|
/**
|
|
35241
35243
|
*
|
|
@@ -35243,8 +35245,8 @@ export const ServiceReviewApiFactory = function (configuration?: Configuration,
|
|
|
35243
35245
|
* @param {*} [options] Override http request option.
|
|
35244
35246
|
* @throws {RequiredError}
|
|
35245
35247
|
*/
|
|
35246
|
-
|
|
35247
|
-
return localVarFp.
|
|
35248
|
+
apiV1ServicereviewsServiceReviewIdGet(serviceReviewId: string, options?: any): AxiosPromise<ServiceReviewModel> {
|
|
35249
|
+
return localVarFp.apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, options).then((request) => request(axios, basePath));
|
|
35248
35250
|
},
|
|
35249
35251
|
/**
|
|
35250
35252
|
*
|
|
@@ -35258,8 +35260,8 @@ export const ServiceReviewApiFactory = function (configuration?: Configuration,
|
|
|
35258
35260
|
* @param {*} [options] Override http request option.
|
|
35259
35261
|
* @throws {RequiredError}
|
|
35260
35262
|
*/
|
|
35261
|
-
|
|
35262
|
-
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));
|
|
35263
35265
|
},
|
|
35264
35266
|
/**
|
|
35265
35267
|
*
|
|
@@ -35269,8 +35271,8 @@ export const ServiceReviewApiFactory = function (configuration?: Configuration,
|
|
|
35269
35271
|
* @param {*} [options] Override http request option.
|
|
35270
35272
|
* @throws {RequiredError}
|
|
35271
35273
|
*/
|
|
35272
|
-
|
|
35273
|
-
return localVarFp.
|
|
35274
|
+
apiV1ServicereviewsServiceReviewIdMediasMediaIdDelete(serviceReviewId: string, mediaId: string, options?: any): AxiosPromise<boolean> {
|
|
35275
|
+
return localVarFp.apiV1ServicereviewsServiceReviewIdMediasMediaIdDelete(serviceReviewId, mediaId, options).then((request) => request(axios, basePath));
|
|
35274
35276
|
},
|
|
35275
35277
|
/**
|
|
35276
35278
|
*
|
|
@@ -35280,8 +35282,8 @@ export const ServiceReviewApiFactory = function (configuration?: Configuration,
|
|
|
35280
35282
|
* @param {*} [options] Override http request option.
|
|
35281
35283
|
* @throws {RequiredError}
|
|
35282
35284
|
*/
|
|
35283
|
-
|
|
35284
|
-
return localVarFp.
|
|
35285
|
+
apiV1ServicereviewsServiceReviewIdMediasMediaIdGet(serviceReviewId: string, mediaId: string, options?: any): AxiosPromise<MediaModel> {
|
|
35286
|
+
return localVarFp.apiV1ServicereviewsServiceReviewIdMediasMediaIdGet(serviceReviewId, mediaId, options).then((request) => request(axios, basePath));
|
|
35285
35287
|
},
|
|
35286
35288
|
/**
|
|
35287
35289
|
*
|
|
@@ -35292,8 +35294,8 @@ export const ServiceReviewApiFactory = function (configuration?: Configuration,
|
|
|
35292
35294
|
* @param {*} [options] Override http request option.
|
|
35293
35295
|
* @throws {RequiredError}
|
|
35294
35296
|
*/
|
|
35295
|
-
|
|
35296
|
-
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));
|
|
35297
35299
|
},
|
|
35298
35300
|
/**
|
|
35299
35301
|
*
|
|
@@ -35303,8 +35305,8 @@ export const ServiceReviewApiFactory = function (configuration?: Configuration,
|
|
|
35303
35305
|
* @param {*} [options] Override http request option.
|
|
35304
35306
|
* @throws {RequiredError}
|
|
35305
35307
|
*/
|
|
35306
|
-
|
|
35307
|
-
return localVarFp.
|
|
35308
|
+
apiV1ServicereviewsServiceReviewIdMediasPost(serviceReviewId: string, createMediaCommand?: CreateMediaCommand, options?: any): AxiosPromise<MediaModel> {
|
|
35309
|
+
return localVarFp.apiV1ServicereviewsServiceReviewIdMediasPost(serviceReviewId, createMediaCommand, options).then((request) => request(axios, basePath));
|
|
35308
35310
|
},
|
|
35309
35311
|
/**
|
|
35310
35312
|
*
|
|
@@ -35314,19 +35316,19 @@ export const ServiceReviewApiFactory = function (configuration?: Configuration,
|
|
|
35314
35316
|
* @param {*} [options] Override http request option.
|
|
35315
35317
|
* @throws {RequiredError}
|
|
35316
35318
|
*/
|
|
35317
|
-
|
|
35318
|
-
return localVarFp.
|
|
35319
|
+
apiV1ServicereviewsServiceReviewIdPut(serviceReviewId: string, updateServiceReviewCommand?: UpdateServiceReviewCommand, options?: any): AxiosPromise<ServiceReviewModel> {
|
|
35320
|
+
return localVarFp.apiV1ServicereviewsServiceReviewIdPut(serviceReviewId, updateServiceReviewCommand, options).then((request) => request(axios, basePath));
|
|
35319
35321
|
},
|
|
35320
35322
|
};
|
|
35321
35323
|
};
|
|
35322
35324
|
|
|
35323
35325
|
/**
|
|
35324
|
-
*
|
|
35326
|
+
* ServiceReviewsApi - object-oriented interface
|
|
35325
35327
|
* @export
|
|
35326
|
-
* @class
|
|
35328
|
+
* @class ServiceReviewsApi
|
|
35327
35329
|
* @extends {BaseAPI}
|
|
35328
35330
|
*/
|
|
35329
|
-
export class
|
|
35331
|
+
export class ServiceReviewsApi extends BaseAPI {
|
|
35330
35332
|
/**
|
|
35331
35333
|
*
|
|
35332
35334
|
* @summary Get all ServiceReviews.
|
|
@@ -35342,10 +35344,10 @@ export class ServiceReviewApi extends BaseAPI {
|
|
|
35342
35344
|
* @param {Date} [lastRetrieved]
|
|
35343
35345
|
* @param {*} [options] Override http request option.
|
|
35344
35346
|
* @throws {RequiredError}
|
|
35345
|
-
* @memberof
|
|
35347
|
+
* @memberof ServiceReviewsApi
|
|
35346
35348
|
*/
|
|
35347
|
-
public
|
|
35348
|
-
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));
|
|
35349
35351
|
}
|
|
35350
35352
|
|
|
35351
35353
|
/**
|
|
@@ -35354,10 +35356,10 @@ export class ServiceReviewApi extends BaseAPI {
|
|
|
35354
35356
|
* @param {CreateServiceReviewCommand} [createServiceReviewCommand]
|
|
35355
35357
|
* @param {*} [options] Override http request option.
|
|
35356
35358
|
* @throws {RequiredError}
|
|
35357
|
-
* @memberof
|
|
35359
|
+
* @memberof ServiceReviewsApi
|
|
35358
35360
|
*/
|
|
35359
|
-
public
|
|
35360
|
-
return
|
|
35361
|
+
public apiV1ServicereviewsPost(createServiceReviewCommand?: CreateServiceReviewCommand, options?: AxiosRequestConfig) {
|
|
35362
|
+
return ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsPost(createServiceReviewCommand, options).then((request) => request(this.axios, this.basePath));
|
|
35361
35363
|
}
|
|
35362
35364
|
|
|
35363
35365
|
/**
|
|
@@ -35366,10 +35368,10 @@ export class ServiceReviewApi extends BaseAPI {
|
|
|
35366
35368
|
* @param {string} serviceReviewId
|
|
35367
35369
|
* @param {*} [options] Override http request option.
|
|
35368
35370
|
* @throws {RequiredError}
|
|
35369
|
-
* @memberof
|
|
35371
|
+
* @memberof ServiceReviewsApi
|
|
35370
35372
|
*/
|
|
35371
|
-
public
|
|
35372
|
-
return
|
|
35373
|
+
public apiV1ServicereviewsServiceReviewIdDelete(serviceReviewId: string, options?: AxiosRequestConfig) {
|
|
35374
|
+
return ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdDelete(serviceReviewId, options).then((request) => request(this.axios, this.basePath));
|
|
35373
35375
|
}
|
|
35374
35376
|
|
|
35375
35377
|
/**
|
|
@@ -35377,10 +35379,10 @@ export class ServiceReviewApi extends BaseAPI {
|
|
|
35377
35379
|
* @param {string} serviceReviewId
|
|
35378
35380
|
* @param {*} [options] Override http request option.
|
|
35379
35381
|
* @throws {RequiredError}
|
|
35380
|
-
* @memberof
|
|
35382
|
+
* @memberof ServiceReviewsApi
|
|
35381
35383
|
*/
|
|
35382
|
-
public
|
|
35383
|
-
return
|
|
35384
|
+
public apiV1ServicereviewsServiceReviewIdGet(serviceReviewId: string, options?: AxiosRequestConfig) {
|
|
35385
|
+
return ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, options).then((request) => request(this.axios, this.basePath));
|
|
35384
35386
|
}
|
|
35385
35387
|
|
|
35386
35388
|
/**
|
|
@@ -35394,10 +35396,10 @@ export class ServiceReviewApi extends BaseAPI {
|
|
|
35394
35396
|
* @param {Date} [lastRetrieved]
|
|
35395
35397
|
* @param {*} [options] Override http request option.
|
|
35396
35398
|
* @throws {RequiredError}
|
|
35397
|
-
* @memberof
|
|
35399
|
+
* @memberof ServiceReviewsApi
|
|
35398
35400
|
*/
|
|
35399
|
-
public
|
|
35400
|
-
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));
|
|
35401
35403
|
}
|
|
35402
35404
|
|
|
35403
35405
|
/**
|
|
@@ -35407,10 +35409,10 @@ export class ServiceReviewApi extends BaseAPI {
|
|
|
35407
35409
|
* @param {string} mediaId
|
|
35408
35410
|
* @param {*} [options] Override http request option.
|
|
35409
35411
|
* @throws {RequiredError}
|
|
35410
|
-
* @memberof
|
|
35412
|
+
* @memberof ServiceReviewsApi
|
|
35411
35413
|
*/
|
|
35412
|
-
public
|
|
35413
|
-
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));
|
|
35414
35416
|
}
|
|
35415
35417
|
|
|
35416
35418
|
/**
|
|
@@ -35420,10 +35422,10 @@ export class ServiceReviewApi extends BaseAPI {
|
|
|
35420
35422
|
* @param {string} mediaId
|
|
35421
35423
|
* @param {*} [options] Override http request option.
|
|
35422
35424
|
* @throws {RequiredError}
|
|
35423
|
-
* @memberof
|
|
35425
|
+
* @memberof ServiceReviewsApi
|
|
35424
35426
|
*/
|
|
35425
|
-
public
|
|
35426
|
-
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));
|
|
35427
35429
|
}
|
|
35428
35430
|
|
|
35429
35431
|
/**
|
|
@@ -35434,10 +35436,10 @@ export class ServiceReviewApi extends BaseAPI {
|
|
|
35434
35436
|
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
35435
35437
|
* @param {*} [options] Override http request option.
|
|
35436
35438
|
* @throws {RequiredError}
|
|
35437
|
-
* @memberof
|
|
35439
|
+
* @memberof ServiceReviewsApi
|
|
35438
35440
|
*/
|
|
35439
|
-
public
|
|
35440
|
-
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));
|
|
35441
35443
|
}
|
|
35442
35444
|
|
|
35443
35445
|
/**
|
|
@@ -35447,10 +35449,10 @@ export class ServiceReviewApi extends BaseAPI {
|
|
|
35447
35449
|
* @param {CreateMediaCommand} [createMediaCommand]
|
|
35448
35450
|
* @param {*} [options] Override http request option.
|
|
35449
35451
|
* @throws {RequiredError}
|
|
35450
|
-
* @memberof
|
|
35452
|
+
* @memberof ServiceReviewsApi
|
|
35451
35453
|
*/
|
|
35452
|
-
public
|
|
35453
|
-
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));
|
|
35454
35456
|
}
|
|
35455
35457
|
|
|
35456
35458
|
/**
|
|
@@ -35460,10 +35462,10 @@ export class ServiceReviewApi extends BaseAPI {
|
|
|
35460
35462
|
* @param {UpdateServiceReviewCommand} [updateServiceReviewCommand]
|
|
35461
35463
|
* @param {*} [options] Override http request option.
|
|
35462
35464
|
* @throws {RequiredError}
|
|
35463
|
-
* @memberof
|
|
35465
|
+
* @memberof ServiceReviewsApi
|
|
35464
35466
|
*/
|
|
35465
|
-
public
|
|
35466
|
-
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));
|
|
35467
35469
|
}
|
|
35468
35470
|
}
|
|
35469
35471
|
|