ch-admin-api-client-typescript 2.6.7 → 2.7.0
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 +203 -12
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +289 -23
- package/package.json +1 -1
- package/src/api.ts +336 -22
package/src/api.ts
CHANGED
|
@@ -3989,6 +3989,43 @@ export interface CreateHospitalSpecialtyCommand {
|
|
|
3989
3989
|
*/
|
|
3990
3990
|
'order'?: number;
|
|
3991
3991
|
}
|
|
3992
|
+
/**
|
|
3993
|
+
*
|
|
3994
|
+
* @export
|
|
3995
|
+
* @interface CreateLanguageCommand
|
|
3996
|
+
*/
|
|
3997
|
+
export interface CreateLanguageCommand {
|
|
3998
|
+
/**
|
|
3999
|
+
*
|
|
4000
|
+
* @type {string}
|
|
4001
|
+
* @memberof CreateLanguageCommand
|
|
4002
|
+
*/
|
|
4003
|
+
'code'?: string | null;
|
|
4004
|
+
/**
|
|
4005
|
+
*
|
|
4006
|
+
* @type {string}
|
|
4007
|
+
* @memberof CreateLanguageCommand
|
|
4008
|
+
*/
|
|
4009
|
+
'name'?: string | null;
|
|
4010
|
+
/**
|
|
4011
|
+
*
|
|
4012
|
+
* @type {string}
|
|
4013
|
+
* @memberof CreateLanguageCommand
|
|
4014
|
+
*/
|
|
4015
|
+
'description'?: string | null;
|
|
4016
|
+
/**
|
|
4017
|
+
*
|
|
4018
|
+
* @type {boolean}
|
|
4019
|
+
* @memberof CreateLanguageCommand
|
|
4020
|
+
*/
|
|
4021
|
+
'published'?: boolean;
|
|
4022
|
+
/**
|
|
4023
|
+
*
|
|
4024
|
+
* @type {number}
|
|
4025
|
+
* @memberof CreateLanguageCommand
|
|
4026
|
+
*/
|
|
4027
|
+
'order'?: number;
|
|
4028
|
+
}
|
|
3992
4029
|
/**
|
|
3993
4030
|
*
|
|
3994
4031
|
* @export
|
|
@@ -8943,6 +8980,18 @@ export enum RejectReason {
|
|
|
8943
8980
|
OtherReason = 'OtherReason'
|
|
8944
8981
|
}
|
|
8945
8982
|
|
|
8983
|
+
/**
|
|
8984
|
+
*
|
|
8985
|
+
* @export
|
|
8986
|
+
* @enum {string}
|
|
8987
|
+
*/
|
|
8988
|
+
|
|
8989
|
+
export enum ReviewType {
|
|
8990
|
+
Photo = 'Photo',
|
|
8991
|
+
SurgeryReview = 'SurgeryReview',
|
|
8992
|
+
RealStory = 'RealStory'
|
|
8993
|
+
}
|
|
8994
|
+
|
|
8946
8995
|
/**
|
|
8947
8996
|
*
|
|
8948
8997
|
* @export
|
|
@@ -9115,6 +9164,12 @@ export interface ServiceReviewItemModel {
|
|
|
9115
9164
|
* @memberof ServiceReviewItemModel
|
|
9116
9165
|
*/
|
|
9117
9166
|
'rate'?: number;
|
|
9167
|
+
/**
|
|
9168
|
+
*
|
|
9169
|
+
* @type {ReviewType}
|
|
9170
|
+
* @memberof ServiceReviewItemModel
|
|
9171
|
+
*/
|
|
9172
|
+
'reviewType'?: ReviewType;
|
|
9118
9173
|
/**
|
|
9119
9174
|
*
|
|
9120
9175
|
* @type {Array<MediaModel>}
|
|
@@ -9176,6 +9231,12 @@ export interface ServiceReviewModel {
|
|
|
9176
9231
|
* @memberof ServiceReviewModel
|
|
9177
9232
|
*/
|
|
9178
9233
|
'rate'?: number;
|
|
9234
|
+
/**
|
|
9235
|
+
*
|
|
9236
|
+
* @type {ReviewType}
|
|
9237
|
+
* @memberof ServiceReviewModel
|
|
9238
|
+
*/
|
|
9239
|
+
'reviewType'?: ReviewType;
|
|
9179
9240
|
/**
|
|
9180
9241
|
*
|
|
9181
9242
|
* @type {Array<MediaModel>}
|
|
@@ -11044,6 +11105,43 @@ export interface UpdateHospitalSpecialtyCommand {
|
|
|
11044
11105
|
*/
|
|
11045
11106
|
'order'?: number;
|
|
11046
11107
|
}
|
|
11108
|
+
/**
|
|
11109
|
+
*
|
|
11110
|
+
* @export
|
|
11111
|
+
* @interface UpdateLanguageCommand
|
|
11112
|
+
*/
|
|
11113
|
+
export interface UpdateLanguageCommand {
|
|
11114
|
+
/**
|
|
11115
|
+
*
|
|
11116
|
+
* @type {string}
|
|
11117
|
+
* @memberof UpdateLanguageCommand
|
|
11118
|
+
*/
|
|
11119
|
+
'code'?: string | null;
|
|
11120
|
+
/**
|
|
11121
|
+
*
|
|
11122
|
+
* @type {string}
|
|
11123
|
+
* @memberof UpdateLanguageCommand
|
|
11124
|
+
*/
|
|
11125
|
+
'name'?: string | null;
|
|
11126
|
+
/**
|
|
11127
|
+
*
|
|
11128
|
+
* @type {string}
|
|
11129
|
+
* @memberof UpdateLanguageCommand
|
|
11130
|
+
*/
|
|
11131
|
+
'description'?: string | null;
|
|
11132
|
+
/**
|
|
11133
|
+
*
|
|
11134
|
+
* @type {boolean}
|
|
11135
|
+
* @memberof UpdateLanguageCommand
|
|
11136
|
+
*/
|
|
11137
|
+
'published'?: boolean | null;
|
|
11138
|
+
/**
|
|
11139
|
+
*
|
|
11140
|
+
* @type {number}
|
|
11141
|
+
* @memberof UpdateLanguageCommand
|
|
11142
|
+
*/
|
|
11143
|
+
'order'?: number | null;
|
|
11144
|
+
}
|
|
11047
11145
|
/**
|
|
11048
11146
|
*
|
|
11049
11147
|
* @export
|
|
@@ -30937,6 +31035,43 @@ export const LanguagesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
30937
31035
|
|
|
30938
31036
|
|
|
30939
31037
|
|
|
31038
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
31039
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31040
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
31041
|
+
|
|
31042
|
+
return {
|
|
31043
|
+
url: toPathString(localVarUrlObj),
|
|
31044
|
+
options: localVarRequestOptions,
|
|
31045
|
+
};
|
|
31046
|
+
},
|
|
31047
|
+
/**
|
|
31048
|
+
*
|
|
31049
|
+
* @param {string} languageId
|
|
31050
|
+
* @param {*} [options] Override http request option.
|
|
31051
|
+
* @throws {RequiredError}
|
|
31052
|
+
*/
|
|
31053
|
+
apiV1LanguagesLanguageIdDelete: async (languageId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
31054
|
+
// verify required parameter 'languageId' is not null or undefined
|
|
31055
|
+
assertParamExists('apiV1LanguagesLanguageIdDelete', 'languageId', languageId)
|
|
31056
|
+
const localVarPath = `/api/v1/languages/{languageId}`
|
|
31057
|
+
.replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)));
|
|
31058
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31059
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31060
|
+
let baseOptions;
|
|
31061
|
+
if (configuration) {
|
|
31062
|
+
baseOptions = configuration.baseOptions;
|
|
31063
|
+
}
|
|
31064
|
+
|
|
31065
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
31066
|
+
const localVarHeaderParameter = {} as any;
|
|
31067
|
+
const localVarQueryParameter = {} as any;
|
|
31068
|
+
|
|
31069
|
+
// authentication oauth2 required
|
|
31070
|
+
// oauth required
|
|
31071
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
31072
|
+
|
|
31073
|
+
|
|
31074
|
+
|
|
30940
31075
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30941
31076
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30942
31077
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -30949,15 +31084,15 @@ export const LanguagesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
30949
31084
|
/**
|
|
30950
31085
|
*
|
|
30951
31086
|
* @summary Get Language.
|
|
30952
|
-
* @param {string}
|
|
31087
|
+
* @param {string} languageId
|
|
30953
31088
|
* @param {*} [options] Override http request option.
|
|
30954
31089
|
* @throws {RequiredError}
|
|
30955
31090
|
*/
|
|
30956
|
-
|
|
30957
|
-
// verify required parameter '
|
|
30958
|
-
assertParamExists('
|
|
30959
|
-
const localVarPath = `/api/v1/languages/{
|
|
30960
|
-
.replace(`{${"
|
|
31091
|
+
apiV1LanguagesLanguageIdGet: async (languageId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
31092
|
+
// verify required parameter 'languageId' is not null or undefined
|
|
31093
|
+
assertParamExists('apiV1LanguagesLanguageIdGet', 'languageId', languageId)
|
|
31094
|
+
const localVarPath = `/api/v1/languages/{languageId}`
|
|
31095
|
+
.replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)));
|
|
30961
31096
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30962
31097
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30963
31098
|
let baseOptions;
|
|
@@ -30979,6 +31114,84 @@ export const LanguagesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
30979
31114
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30980
31115
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30981
31116
|
|
|
31117
|
+
return {
|
|
31118
|
+
url: toPathString(localVarUrlObj),
|
|
31119
|
+
options: localVarRequestOptions,
|
|
31120
|
+
};
|
|
31121
|
+
},
|
|
31122
|
+
/**
|
|
31123
|
+
*
|
|
31124
|
+
* @param {string} languageId
|
|
31125
|
+
* @param {UpdateLanguageCommand} [updateLanguageCommand]
|
|
31126
|
+
* @param {*} [options] Override http request option.
|
|
31127
|
+
* @throws {RequiredError}
|
|
31128
|
+
*/
|
|
31129
|
+
apiV1LanguagesLanguageIdPut: async (languageId: string, updateLanguageCommand?: UpdateLanguageCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
31130
|
+
// verify required parameter 'languageId' is not null or undefined
|
|
31131
|
+
assertParamExists('apiV1LanguagesLanguageIdPut', 'languageId', languageId)
|
|
31132
|
+
const localVarPath = `/api/v1/languages/{languageId}`
|
|
31133
|
+
.replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)));
|
|
31134
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31135
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31136
|
+
let baseOptions;
|
|
31137
|
+
if (configuration) {
|
|
31138
|
+
baseOptions = configuration.baseOptions;
|
|
31139
|
+
}
|
|
31140
|
+
|
|
31141
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
31142
|
+
const localVarHeaderParameter = {} as any;
|
|
31143
|
+
const localVarQueryParameter = {} as any;
|
|
31144
|
+
|
|
31145
|
+
// authentication oauth2 required
|
|
31146
|
+
// oauth required
|
|
31147
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
31148
|
+
|
|
31149
|
+
|
|
31150
|
+
|
|
31151
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
31152
|
+
|
|
31153
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
31154
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31155
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
31156
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateLanguageCommand, localVarRequestOptions, configuration)
|
|
31157
|
+
|
|
31158
|
+
return {
|
|
31159
|
+
url: toPathString(localVarUrlObj),
|
|
31160
|
+
options: localVarRequestOptions,
|
|
31161
|
+
};
|
|
31162
|
+
},
|
|
31163
|
+
/**
|
|
31164
|
+
*
|
|
31165
|
+
* @param {CreateLanguageCommand} [createLanguageCommand]
|
|
31166
|
+
* @param {*} [options] Override http request option.
|
|
31167
|
+
* @throws {RequiredError}
|
|
31168
|
+
*/
|
|
31169
|
+
apiV1LanguagesPost: async (createLanguageCommand?: CreateLanguageCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
31170
|
+
const localVarPath = `/api/v1/languages`;
|
|
31171
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31172
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31173
|
+
let baseOptions;
|
|
31174
|
+
if (configuration) {
|
|
31175
|
+
baseOptions = configuration.baseOptions;
|
|
31176
|
+
}
|
|
31177
|
+
|
|
31178
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
31179
|
+
const localVarHeaderParameter = {} as any;
|
|
31180
|
+
const localVarQueryParameter = {} as any;
|
|
31181
|
+
|
|
31182
|
+
// authentication oauth2 required
|
|
31183
|
+
// oauth required
|
|
31184
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
31185
|
+
|
|
31186
|
+
|
|
31187
|
+
|
|
31188
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
31189
|
+
|
|
31190
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
31191
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31192
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
31193
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createLanguageCommand, localVarRequestOptions, configuration)
|
|
31194
|
+
|
|
30982
31195
|
return {
|
|
30983
31196
|
url: toPathString(localVarUrlObj),
|
|
30984
31197
|
options: localVarRequestOptions,
|
|
@@ -31022,15 +31235,46 @@ export const LanguagesApiFp = function(configuration?: Configuration) {
|
|
|
31022
31235
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1LanguagesGet(id, name, code, description, page, limit, lastRetrieved, options);
|
|
31023
31236
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
31024
31237
|
},
|
|
31238
|
+
/**
|
|
31239
|
+
*
|
|
31240
|
+
* @param {string} languageId
|
|
31241
|
+
* @param {*} [options] Override http request option.
|
|
31242
|
+
* @throws {RequiredError}
|
|
31243
|
+
*/
|
|
31244
|
+
async apiV1LanguagesLanguageIdDelete(languageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
31245
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1LanguagesLanguageIdDelete(languageId, options);
|
|
31246
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
31247
|
+
},
|
|
31025
31248
|
/**
|
|
31026
31249
|
*
|
|
31027
31250
|
* @summary Get Language.
|
|
31028
|
-
* @param {string}
|
|
31251
|
+
* @param {string} languageId
|
|
31252
|
+
* @param {*} [options] Override http request option.
|
|
31253
|
+
* @throws {RequiredError}
|
|
31254
|
+
*/
|
|
31255
|
+
async apiV1LanguagesLanguageIdGet(languageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LanguageModel>> {
|
|
31256
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1LanguagesLanguageIdGet(languageId, options);
|
|
31257
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
31258
|
+
},
|
|
31259
|
+
/**
|
|
31260
|
+
*
|
|
31261
|
+
* @param {string} languageId
|
|
31262
|
+
* @param {UpdateLanguageCommand} [updateLanguageCommand]
|
|
31263
|
+
* @param {*} [options] Override http request option.
|
|
31264
|
+
* @throws {RequiredError}
|
|
31265
|
+
*/
|
|
31266
|
+
async apiV1LanguagesLanguageIdPut(languageId: string, updateLanguageCommand?: UpdateLanguageCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LanguageModel>> {
|
|
31267
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1LanguagesLanguageIdPut(languageId, updateLanguageCommand, options);
|
|
31268
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
31269
|
+
},
|
|
31270
|
+
/**
|
|
31271
|
+
*
|
|
31272
|
+
* @param {CreateLanguageCommand} [createLanguageCommand]
|
|
31029
31273
|
* @param {*} [options] Override http request option.
|
|
31030
31274
|
* @throws {RequiredError}
|
|
31031
31275
|
*/
|
|
31032
|
-
async
|
|
31033
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
31276
|
+
async apiV1LanguagesPost(createLanguageCommand?: CreateLanguageCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LanguageModel>> {
|
|
31277
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1LanguagesPost(createLanguageCommand, options);
|
|
31034
31278
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
31035
31279
|
},
|
|
31036
31280
|
}
|
|
@@ -31069,15 +31313,43 @@ export const LanguagesApiFactory = function (configuration?: Configuration, base
|
|
|
31069
31313
|
apiV1LanguagesGet(id?: string, name?: string, code?: string, description?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<LanguagesModel> {
|
|
31070
31314
|
return localVarFp.apiV1LanguagesGet(id, name, code, description, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
31071
31315
|
},
|
|
31316
|
+
/**
|
|
31317
|
+
*
|
|
31318
|
+
* @param {string} languageId
|
|
31319
|
+
* @param {*} [options] Override http request option.
|
|
31320
|
+
* @throws {RequiredError}
|
|
31321
|
+
*/
|
|
31322
|
+
apiV1LanguagesLanguageIdDelete(languageId: string, options?: any): AxiosPromise<boolean> {
|
|
31323
|
+
return localVarFp.apiV1LanguagesLanguageIdDelete(languageId, options).then((request) => request(axios, basePath));
|
|
31324
|
+
},
|
|
31072
31325
|
/**
|
|
31073
31326
|
*
|
|
31074
31327
|
* @summary Get Language.
|
|
31075
|
-
* @param {string}
|
|
31328
|
+
* @param {string} languageId
|
|
31076
31329
|
* @param {*} [options] Override http request option.
|
|
31077
31330
|
* @throws {RequiredError}
|
|
31078
31331
|
*/
|
|
31079
|
-
|
|
31080
|
-
return localVarFp.
|
|
31332
|
+
apiV1LanguagesLanguageIdGet(languageId: string, options?: any): AxiosPromise<LanguageModel> {
|
|
31333
|
+
return localVarFp.apiV1LanguagesLanguageIdGet(languageId, options).then((request) => request(axios, basePath));
|
|
31334
|
+
},
|
|
31335
|
+
/**
|
|
31336
|
+
*
|
|
31337
|
+
* @param {string} languageId
|
|
31338
|
+
* @param {UpdateLanguageCommand} [updateLanguageCommand]
|
|
31339
|
+
* @param {*} [options] Override http request option.
|
|
31340
|
+
* @throws {RequiredError}
|
|
31341
|
+
*/
|
|
31342
|
+
apiV1LanguagesLanguageIdPut(languageId: string, updateLanguageCommand?: UpdateLanguageCommand, options?: any): AxiosPromise<LanguageModel> {
|
|
31343
|
+
return localVarFp.apiV1LanguagesLanguageIdPut(languageId, updateLanguageCommand, options).then((request) => request(axios, basePath));
|
|
31344
|
+
},
|
|
31345
|
+
/**
|
|
31346
|
+
*
|
|
31347
|
+
* @param {CreateLanguageCommand} [createLanguageCommand]
|
|
31348
|
+
* @param {*} [options] Override http request option.
|
|
31349
|
+
* @throws {RequiredError}
|
|
31350
|
+
*/
|
|
31351
|
+
apiV1LanguagesPost(createLanguageCommand?: CreateLanguageCommand, options?: any): AxiosPromise<LanguageModel> {
|
|
31352
|
+
return localVarFp.apiV1LanguagesPost(createLanguageCommand, options).then((request) => request(axios, basePath));
|
|
31081
31353
|
},
|
|
31082
31354
|
};
|
|
31083
31355
|
};
|
|
@@ -31119,16 +31391,50 @@ export class LanguagesApi extends BaseAPI {
|
|
|
31119
31391
|
return LanguagesApiFp(this.configuration).apiV1LanguagesGet(id, name, code, description, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
31120
31392
|
}
|
|
31121
31393
|
|
|
31394
|
+
/**
|
|
31395
|
+
*
|
|
31396
|
+
* @param {string} languageId
|
|
31397
|
+
* @param {*} [options] Override http request option.
|
|
31398
|
+
* @throws {RequiredError}
|
|
31399
|
+
* @memberof LanguagesApi
|
|
31400
|
+
*/
|
|
31401
|
+
public apiV1LanguagesLanguageIdDelete(languageId: string, options?: AxiosRequestConfig) {
|
|
31402
|
+
return LanguagesApiFp(this.configuration).apiV1LanguagesLanguageIdDelete(languageId, options).then((request) => request(this.axios, this.basePath));
|
|
31403
|
+
}
|
|
31404
|
+
|
|
31122
31405
|
/**
|
|
31123
31406
|
*
|
|
31124
31407
|
* @summary Get Language.
|
|
31125
|
-
* @param {string}
|
|
31408
|
+
* @param {string} languageId
|
|
31126
31409
|
* @param {*} [options] Override http request option.
|
|
31127
31410
|
* @throws {RequiredError}
|
|
31128
31411
|
* @memberof LanguagesApi
|
|
31129
31412
|
*/
|
|
31130
|
-
public
|
|
31131
|
-
return LanguagesApiFp(this.configuration).
|
|
31413
|
+
public apiV1LanguagesLanguageIdGet(languageId: string, options?: AxiosRequestConfig) {
|
|
31414
|
+
return LanguagesApiFp(this.configuration).apiV1LanguagesLanguageIdGet(languageId, options).then((request) => request(this.axios, this.basePath));
|
|
31415
|
+
}
|
|
31416
|
+
|
|
31417
|
+
/**
|
|
31418
|
+
*
|
|
31419
|
+
* @param {string} languageId
|
|
31420
|
+
* @param {UpdateLanguageCommand} [updateLanguageCommand]
|
|
31421
|
+
* @param {*} [options] Override http request option.
|
|
31422
|
+
* @throws {RequiredError}
|
|
31423
|
+
* @memberof LanguagesApi
|
|
31424
|
+
*/
|
|
31425
|
+
public apiV1LanguagesLanguageIdPut(languageId: string, updateLanguageCommand?: UpdateLanguageCommand, options?: AxiosRequestConfig) {
|
|
31426
|
+
return LanguagesApiFp(this.configuration).apiV1LanguagesLanguageIdPut(languageId, updateLanguageCommand, options).then((request) => request(this.axios, this.basePath));
|
|
31427
|
+
}
|
|
31428
|
+
|
|
31429
|
+
/**
|
|
31430
|
+
*
|
|
31431
|
+
* @param {CreateLanguageCommand} [createLanguageCommand]
|
|
31432
|
+
* @param {*} [options] Override http request option.
|
|
31433
|
+
* @throws {RequiredError}
|
|
31434
|
+
* @memberof LanguagesApi
|
|
31435
|
+
*/
|
|
31436
|
+
public apiV1LanguagesPost(createLanguageCommand?: CreateLanguageCommand, options?: AxiosRequestConfig) {
|
|
31437
|
+
return LanguagesApiFp(this.configuration).apiV1LanguagesPost(createLanguageCommand, options).then((request) => request(this.axios, this.basePath));
|
|
31132
31438
|
}
|
|
31133
31439
|
}
|
|
31134
31440
|
|
|
@@ -34268,13 +34574,14 @@ export const ServiceReviewApiAxiosParamCreator = function (configuration?: Confi
|
|
|
34268
34574
|
* @param {string} [patientName]
|
|
34269
34575
|
* @param {boolean} [recommended]
|
|
34270
34576
|
* @param {number} [rate]
|
|
34577
|
+
* @param {ReviewType} [reviewType]
|
|
34271
34578
|
* @param {number} [page]
|
|
34272
34579
|
* @param {number} [limit]
|
|
34273
34580
|
* @param {Date} [lastRetrieved]
|
|
34274
34581
|
* @param {*} [options] Override http request option.
|
|
34275
34582
|
* @throws {RequiredError}
|
|
34276
34583
|
*/
|
|
34277
|
-
apiV1ServicereviewGet: async (serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, recommended?: boolean, rate?: number, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34584
|
+
apiV1ServicereviewGet: 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> => {
|
|
34278
34585
|
const localVarPath = `/api/v1/servicereview`;
|
|
34279
34586
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34280
34587
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -34315,6 +34622,10 @@ export const ServiceReviewApiAxiosParamCreator = function (configuration?: Confi
|
|
|
34315
34622
|
localVarQueryParameter['Rate'] = rate;
|
|
34316
34623
|
}
|
|
34317
34624
|
|
|
34625
|
+
if (reviewType !== undefined) {
|
|
34626
|
+
localVarQueryParameter['ReviewType'] = reviewType;
|
|
34627
|
+
}
|
|
34628
|
+
|
|
34318
34629
|
if (page !== undefined) {
|
|
34319
34630
|
localVarQueryParameter['page'] = page;
|
|
34320
34631
|
}
|
|
@@ -34751,14 +35062,15 @@ export const ServiceReviewApiFp = function(configuration?: Configuration) {
|
|
|
34751
35062
|
* @param {string} [patientName]
|
|
34752
35063
|
* @param {boolean} [recommended]
|
|
34753
35064
|
* @param {number} [rate]
|
|
35065
|
+
* @param {ReviewType} [reviewType]
|
|
34754
35066
|
* @param {number} [page]
|
|
34755
35067
|
* @param {number} [limit]
|
|
34756
35068
|
* @param {Date} [lastRetrieved]
|
|
34757
35069
|
* @param {*} [options] Override http request option.
|
|
34758
35070
|
* @throws {RequiredError}
|
|
34759
35071
|
*/
|
|
34760
|
-
async apiV1ServicereviewGet(serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, recommended?: boolean, rate?: number, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewsModel>> {
|
|
34761
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewGet(serviceId, serviceName, patientId, patientName, recommended, rate, page, limit, lastRetrieved, options);
|
|
35072
|
+
async apiV1ServicereviewGet(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>> {
|
|
35073
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewGet(serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options);
|
|
34762
35074
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34763
35075
|
},
|
|
34764
35076
|
/**
|
|
@@ -34889,14 +35201,15 @@ export const ServiceReviewApiFactory = function (configuration?: Configuration,
|
|
|
34889
35201
|
* @param {string} [patientName]
|
|
34890
35202
|
* @param {boolean} [recommended]
|
|
34891
35203
|
* @param {number} [rate]
|
|
35204
|
+
* @param {ReviewType} [reviewType]
|
|
34892
35205
|
* @param {number} [page]
|
|
34893
35206
|
* @param {number} [limit]
|
|
34894
35207
|
* @param {Date} [lastRetrieved]
|
|
34895
35208
|
* @param {*} [options] Override http request option.
|
|
34896
35209
|
* @throws {RequiredError}
|
|
34897
35210
|
*/
|
|
34898
|
-
apiV1ServicereviewGet(serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, recommended?: boolean, rate?: number, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceReviewsModel> {
|
|
34899
|
-
return localVarFp.apiV1ServicereviewGet(serviceId, serviceName, patientId, patientName, recommended, rate, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
35211
|
+
apiV1ServicereviewGet(serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceReviewsModel> {
|
|
35212
|
+
return localVarFp.apiV1ServicereviewGet(serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
34900
35213
|
},
|
|
34901
35214
|
/**
|
|
34902
35215
|
*
|
|
@@ -35017,6 +35330,7 @@ export class ServiceReviewApi extends BaseAPI {
|
|
|
35017
35330
|
* @param {string} [patientName]
|
|
35018
35331
|
* @param {boolean} [recommended]
|
|
35019
35332
|
* @param {number} [rate]
|
|
35333
|
+
* @param {ReviewType} [reviewType]
|
|
35020
35334
|
* @param {number} [page]
|
|
35021
35335
|
* @param {number} [limit]
|
|
35022
35336
|
* @param {Date} [lastRetrieved]
|
|
@@ -35024,8 +35338,8 @@ export class ServiceReviewApi extends BaseAPI {
|
|
|
35024
35338
|
* @throws {RequiredError}
|
|
35025
35339
|
* @memberof ServiceReviewApi
|
|
35026
35340
|
*/
|
|
35027
|
-
public apiV1ServicereviewGet(serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, recommended?: boolean, rate?: number, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
35028
|
-
return ServiceReviewApiFp(this.configuration).apiV1ServicereviewGet(serviceId, serviceName, patientId, patientName, recommended, rate, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
35341
|
+
public apiV1ServicereviewGet(serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
35342
|
+
return ServiceReviewApiFp(this.configuration).apiV1ServicereviewGet(serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
35029
35343
|
}
|
|
35030
35344
|
|
|
35031
35345
|
/**
|